Skip to content

Commit

Permalink
Improved documents links docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
TPReal committed Oct 9, 2024
1 parent 5504189 commit a43035e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/js/components/ui/ExternalLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {title} from "./title";

const _Directives = typeof title;

const URL_REGEXP = /^(ftp|https?|app):\S+$/;
const URL_REGEXP = /^(ftp:|https?:|www\d?\.)\S+$/;

interface Props {
readonly link: string;
Expand Down
5 changes: 3 additions & 2 deletions resources/lang/pl_PL/attributes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ attributes:
addressPostalCode: "adres: kod pocztowy"
addressCity: "adres: miasto"
documentsLinks: "linki do dokumentów"
documentsLinks.desc: "Tutaj możesz zapisać linki do zewnętrznych dokumentów powiązanych z tym obiektem"
documentsLinks.desc.format_info: "Aby nadać linkowi nazwę, wpisz:\n\t\tnazwa dokumentu: https://link.do.dokumentu"
documentsLinks.desc: "Linki do zewnętrznych dokumentów powiązanych z tym obiektem.\n$t(attributes.attributes.generic.documentsLinks.desc.format_info)"

dictionary.positionRequiredAttributes: "wymagane atrybuty pozycji"

client:
documentsLinks.desc: "Tutaj możesz zapisać linki do zewnętrznych dokumentów powiązanych z tym klientem"
documentsLinks.desc: "Linki do zewnętrznych dokumentów powiązanych z tym klientem.\n$t(attributes.attributes.generic.documentsLinks.desc.format_info)"
shortCode.desc: "Numer klienta $t(em_dash) identyfikator. Pozostaw pusty aby nadać kolejny numer automatycznie. Wstaw znak minus aby nie nadawać numeru."
contactStartAt: "data zgłoszenia"
contactEndAt: "zakończenie kontaktu"
Expand Down

0 comments on commit a43035e

Please sign in to comment.