diff --git a/app.php b/app.php index fa83bc4..fe6417a 100644 --- a/app.php +++ b/app.php @@ -34,6 +34,7 @@ if($f3->get('DISABLE_ORGANIZATION')) { $f3->set('disableOrganization', $f3->get('DISABLE_ORGANIZATION')); } +setlocale(LC_ALL, 'fr'); bindtextdomain('application', $f3->get('ROOT')."/locale/"); textdomain('application'); diff --git a/locale/application.pot b/locale/application.pot index 2f5edb2..c64c90c 100644 --- a/locale/application.pot +++ b/locale/application.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-08 14:30+0200\n" +"POT-Creation-Date: 2023-09-11 19:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,206 +17,46 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: templates/metadata.html.php:13 -msgid "Editing PDF metadata" -msgstr "" - -#: templates/metadata.html.php:18 templates/organization.html.php:18 -#: templates/signature.html.php:16 +#: templates/signature.html.php:16 templates/organization.html.php:18 +#: templates/metadata.html.php:18 msgid "Site not functional without JavaScript enabled" msgstr "" -#: templates/metadata.html.php:24 templates/organization.html.php:24 -#: templates/signature.html.php:23 -msgid "Sign" +#: templates/signature.html.php:23 templates/organization.html.php:24 +#: templates/metadata.html.php:24 +#, php-format +msgid "%s Sign" msgstr "" -#: templates/metadata.html.php:27 templates/organization.html.php:27 -#: templates/signature.html.php:26 -msgid "Organize" +#: templates/signature.html.php:26 templates/organization.html.php:27 +#: templates/metadata.html.php:27 +#, php-format +msgid "%s Organize" msgstr "" -#: templates/metadata.html.php:30 templates/organization.html.php:30 -#: templates/signature.html.php:29 -msgid "Metadata" -msgstr "" - -#: templates/metadata.html.php:34 -msgid "Language" -msgstr "" - -#: templates/metadata.html.php:44 templates/metadata.html.php:86 -msgid "Edit metadata" -msgstr "" - -#: templates/metadata.html.php:45 -msgid "Add, edit, or remove metadata from a PDF" -msgstr "" - -#: templates/metadata.html.php:48 templates/metadata.html.php:49 -#: templates/organization.html.php:38 templates/organization.html.php:39 -#: templates/signature.html.php:39 -msgid "Choose a PDF" -msgstr "" - -#: templates/metadata.html.php:52 templates/organization.html.php:42 -#: templates/signature.html.php:42 -msgid "Test with a demo PDF" -msgstr "" - -#: templates/metadata.html.php:58 templates/organization.html.php:48 -#: templates/signature.html.php:48 -msgid "Free open-source software" -msgstr "" - -#: templates/metadata.html.php:58 templates/organization.html.php:48 -#: templates/signature.html.php:48 -msgid "under AGPL-3.0 license" -msgstr "" - -#: templates/metadata.html.php:58 templates/organization.html.php:48 -#: templates/signature.html.php:48 -msgid "see the source code" -msgstr "" - -#: templates/metadata.html.php:65 -msgid "List of PDF metadata" -msgstr "" - -#: templates/metadata.html.php:71 -msgid "Add new metadata" -msgstr "" - -#: templates/metadata.html.php:74 -msgid "Key" -msgstr "" - -#: templates/metadata.html.php:76 -msgid "Value" -msgstr "" - -#: templates/metadata.html.php:78 -msgid "Add" -msgstr "" - -#: templates/metadata.html.php:84 -msgid "Close this PDF and return to the home page" -msgstr "" - -#: templates/metadata.html.php:96 -msgid "Save and download the PDF" -msgstr "" - -#: templates/metadata.html.php:102 templates/signature.html.php:122 -#: templates/signature.html.php:257 -msgid "Download the PDF" -msgstr "" - -#: templates/organization.html.php:13 templates/organization.html.php:34 -msgid "Organize PDF" -msgstr "" - -#: templates/organization.html.php:35 -msgid "Merge, sort, rotate, delete, extract pages" -msgstr "" - -#: templates/organization.html.php:38 -msgid "The PDF must not exceed " -msgstr "" - -#: templates/organization.html.php:38 -msgid "Mb" -msgstr "" - -#: templates/organization.html.php:40 -msgid "" -"The PDF will be processed by the server without being retained or stored" -msgstr "" - -#: templates/organization.html.php:53 -msgid "Touch a page to select it" -msgstr "" - -#: templates/organization.html.php:64 -msgid "Close this PDF and return to home" -msgstr "" - -#: templates/organization.html.php:66 -msgid "PDF organization" -msgstr "" - -#: templates/organization.html.php:66 templates/signature.html.php:69 -msgid "This PDF is stored on your computer to be signed by you only" -msgstr "" - -#: templates/organization.html.php:75 templates/organization.html.php:107 -msgid "Add a PDF" -msgstr "" - -#: templates/organization.html.php:80 templates/organization.html.php:111 -msgid "No" -msgstr "" - -#: templates/organization.html.php:80 -msgid "page selected" -msgstr "" - -#: templates/organization.html.php:82 -msgid "Rotate 90°" -msgstr "" - -#: templates/organization.html.php:83 templates/organization.html.php:114 -msgid "Move" -msgstr "" - -#: templates/organization.html.php:84 templates/organization.html.php:115 -msgid "Delete" -msgstr "" - -#: templates/organization.html.php:85 -msgid "Extract and download" -msgstr "" - -#: templates/organization.html.php:87 -msgid "Cancel selection" -msgstr "" - -#: templates/organization.html.php:95 templates/organization.html.php:121 -msgid "Download the full PDF" -msgstr "" - -#: templates/organization.html.php:111 -msgid "page" -msgstr "" - -#: templates/organization.html.php:111 templates/signature.html.php:188 -msgid "Cancel" -msgstr "" - -#: templates/organization.html.php:113 -msgid "Turn" -msgstr "" - -#: templates/organization.html.php:124 -msgid "Download the selection" -msgstr "" - -#: templates/organization.html.php:144 -msgid "PDF documents" +#: templates/signature.html.php:29 templates/organization.html.php:30 +#: templates/metadata.html.php:30 +#, php-format +msgid "%s Metadata" msgstr "" #: templates/signature.html.php:34 -msgid "Sign a PDF" +#, php-format +msgid "%s Sign a PDF" msgstr "" #: templates/signature.html.php:35 msgid "Sign, initial, stamp, complete a document" msgstr "" +#: templates/signature.html.php:38 templates/signature.html.php:39 +#: templates/organization.html.php:38 templates/organization.html.php:39 +#: templates/metadata.html.php:48 templates/metadata.html.php:49 +msgid "Choose a PDF" +msgstr "" + #: templates/signature.html.php:38 -msgid "" -"Choose a PDF " +msgid "pages" msgstr "" #: templates/signature.html.php:40 msgid "The PDF will be processed by the server without being stored or saved" msgstr "" +#: templates/signature.html.php:42 templates/organization.html.php:42 +#: templates/metadata.html.php:52 +msgid "Test with a demo PDF" +msgstr "" + +#: templates/signature.html.php:48 templates/organization.html.php:48 +#: templates/metadata.html.php:58 +msgid "Free open-source software" +msgstr "" + +#: templates/signature.html.php:48 templates/organization.html.php:48 +#: templates/metadata.html.php:58 +msgid "under AGPL-3.0 license" +msgstr "" + +#: templates/signature.html.php:48 templates/organization.html.php:48 +#: templates/metadata.html.php:58 +msgid "see the source code" +msgstr "" + #: templates/signature.html.php:55 msgid "How to sign?" msgstr "" @@ -259,12 +119,17 @@ msgstr "" msgid "This PDF is shared with others to be signed by multiple people" msgstr "" +#: templates/signature.html.php:69 templates/organization.html.php:66 +msgid "This PDF is stored on your computer to be signed by you only" +msgstr "" + #: templates/signature.html.php:76 msgid "Keep the selection active" msgstr "" #: templates/signature.html.php:81 -msgid "Signature" +#, php-format +msgid "%s Signature" msgstr "" #: templates/signature.html.php:81 templates/signature.html.php:86 @@ -273,27 +138,33 @@ msgid "Create" msgstr "" #: templates/signature.html.php:86 -msgid "Initial" +#, php-format +msgid "%s Initial" msgstr "" #: templates/signature.html.php:91 -msgid "Stamp" +#, php-format +msgid "%s Stamp" msgstr "" #: templates/signature.html.php:95 -msgid "Text" +#, php-format +msgid "%s Text" msgstr "" #: templates/signature.html.php:99 -msgid "Check box" +#, php-format +msgid "%s Check box" msgstr "" #: templates/signature.html.php:104 -msgid "Create an element" +#, php-format +msgid "%s Create an element" msgstr "" #: templates/signature.html.php:109 -msgid "Share to sign with multiple people" +#, php-format +msgid "%s Share to sign %s with multiple people" msgstr "" #: templates/signature.html.php:114 templates/signature.html.php:154 @@ -301,10 +172,13 @@ msgid "Download the signed PDF" msgstr "" #: templates/signature.html.php:119 -msgid "" -"You are 0 to have " -"signed this PDF" +#, php-format +msgid "You are %s to have signed this PDF" +msgstr "" + +#: templates/signature.html.php:122 +#, php-format +msgid "%s Download the PDF" msgstr "" #: templates/signature.html.php:127 templates/signature.html.php:152 @@ -312,7 +186,8 @@ msgid "Transmit my signature" msgstr "" #: templates/signature.html.php:135 -msgid "Select a signature" +#, php-format +msgid "%s Select a signature" msgstr "" #: templates/signature.html.php:164 @@ -347,8 +222,13 @@ msgstr "" msgid "My signature" msgstr "" +#: templates/signature.html.php:188 templates/organization.html.php:111 +msgid "Cancel" +msgstr "" + #: templates/signature.html.php:200 -msgid "Share this PDF to sign it with several people" +#, php-format +msgid "%s Share this PDF to sign it with several people" msgstr "" #: templates/signature.html.php:204 @@ -358,27 +238,53 @@ msgid "" msgstr "" #: templates/signature.html.php:205 +#, php-format msgid "" -"This sharing requires the PDF to be transferred and stored on the server for " -"future signers to access." +"%s This sharing requires the PDF to be transferred and stored on the server " +"for future signers to access." msgstr "" #: templates/signature.html.php:206 -msgid "" -"The PDF will be kept after the last signature." -msgstr "" +msgid "%s The PDF will be kept" +msgstr "%s Le PDF sera conservé" + +#: templates/signature.html.php:206 +msgid "for one year" +msgstr "pendant un an" + +#: templates/signature.html.php:206 +msgid "for six months" +msgstr "pendant six mois" + +#: templates/signature.html.php:206 +msgid "for one month" +msgstr "pendant un mois" + +#: templates/signature.html.php:206 +msgid "for one week" +msgstr "pendant une semaine" + +#: templates/signature.html.php:206 +msgid "for one day" +msgstr "pendant une journée" + +#: templates/signature.html.php:206 +msgid "for one hour" +msgstr "pendant une heure" + +#: templates/signature.html.php:206 +msgid "after the last signature." +msgstr "après la dernière signature" #: templates/signature.html.php:212 -msgid "Start sharing" -msgstr "" +msgid "%s Start sharing" +msgstr "%s Démarrer le partage" #: templates/signature.html.php:224 -msgid "Sign this PDF with multiple people" -msgstr "" +msgid "%s Sign this PDF with multiple people" +msgstr "%s Signer ce PDF à plusieurs" #: templates/signature.html.php:228 msgid "Multiple people can sign this PDF simultaneously." -msgstr "" +msgstr "Plusieurs personnes peuvent signer ce PDF en même temps." #: templates/signature.html.php:229 msgid "" "To do so, simply share the link to this page with the people of your choice:" msgstr "" +"Pour celà il vous suffit de partager avec les personnes de votre choix le " +"lien vers cette page :" #: templates/signature.html.php:231 msgid "Sharing link" -msgstr "" - -#: templates/signature.html.php:233 -msgid "Copied !" -msgstr "" - -#: templates/signature.html.php:233 -msgid "Copy" -msgstr "" +msgstr "Lien à partager" #: templates/signature.html.php:236 msgid "" "Each of the signatories can download the latest version of the signed PDF at " "any time." msgstr "" +"Chacun des signataires pourra à tout moment télécharger la dernière version " +"du PDF signé." #: templates/signature.html.php:239 msgid "Close" -msgstr "" +msgstr "Fermer" #: templates/signature.html.php:250 msgid "Signed PDF" -msgstr "" +msgstr "PDF signé" #: templates/signature.html.php:254 msgid "Your signature has been successfully recorded!" -msgstr "" +msgstr "Votre signature a bien été prise en compte !" + +#: templates/signature.html.php:257 templates/metadata.html.php:102 +msgid "Download the PDF" +msgstr "Télécharger le PDF" + +#: templates/organization.html.php:13 +msgid "Organize PDF" +msgstr "Organiser un PDF" + +#: templates/organization.html.php:34 +msgid "%s Organize PDF" +msgstr "%s Organiser des PDF" + +#: templates/organization.html.php:35 +msgid "Merge, sort, rotate, delete, extract pages" +msgstr "Fusionner, trier, pivoter, supprimer, extraire des pages" + +#: templates/organization.html.php:38 +msgid "The PDF must not exceed " +msgstr "Le PDF ne doit pas dépasser " + +#: templates/organization.html.php:38 +msgid "Mb" +msgstr "Mo" + +#: templates/organization.html.php:40 +msgid "" +"The PDF will be processed by the server without being retained or stored" +msgstr "Le PDF sera traité par le serveur sans être conservé ni stocké" + +#: templates/organization.html.php:53 +msgid "Touch a page to select it" +msgstr "Toucher une page pour la sélectionner" + +#: templates/organization.html.php:64 +msgid "Close this PDF and return to home" +msgstr "Fermer ce PDF et retourner à l'accueil" + +#: templates/organization.html.php:66 +msgid "PDF organization" +msgstr "Organisation de PDF" + +#: templates/organization.html.php:75 templates/organization.html.php:107 +msgid "%s Add a PDF" +msgstr "%s Ajouter un PDF" + +#: templates/organization.html.php:80 templates/organization.html.php:111 +msgid "No" +msgstr "Aucune" + +#: templates/organization.html.php:80 +msgid "page selected" +msgstr "page sélectionnée" + +#: templates/organization.html.php:82 +msgid "%s Rotate 90°" +msgstr "%s Tourner de 90°" + +#: templates/organization.html.php:83 templates/organization.html.php:114 +msgid "%s Move" +msgstr "%s Déplacer" + +#: templates/organization.html.php:84 templates/organization.html.php:115 +msgid "%s Delete" +msgstr "%s Supprimer" + +#: templates/organization.html.php:85 +msgid "%s Extract and download" +msgstr "%s Extraire et télécharger" + +#: templates/organization.html.php:87 +msgid "%s Cancel selection" +msgstr "%s Annuler la sélection" + +#: templates/organization.html.php:95 templates/organization.html.php:121 +msgid "%s Download the full PDF" +msgstr "%s Télécharger le PDF complet" + +#: templates/organization.html.php:111 +msgid "page" +msgstr "page" + +#: templates/organization.html.php:113 +msgid "%s Turn" +msgstr "%s Tourner" + +#: templates/organization.html.php:124 +msgid "Download the selection" +msgstr "Télécharger la sélection" + +#: templates/organization.html.php:144 +msgid "PDF documents" +msgstr "Documents PDF" + +#: templates/metadata.html.php:13 +msgid "Editing PDF metadata" +msgstr "Édition des métadonnées d'un PDF" + +#: templates/metadata.html.php:34 +msgid "Language" +msgstr "Langue" + +#: templates/metadata.html.php:44 +msgid "%s Edit metadata" +msgstr "%s Éditer les métadonnées" + +#: templates/metadata.html.php:45 +msgid "Add, edit, or remove metadata from a PDF" +msgstr "Ajouter, modifier ou supprimer les métadonnées d'un PDF" + +#: templates/metadata.html.php:65 +msgid "List of PDF metadata" +msgstr "Liste des métadonnées du PDF" + +#: templates/metadata.html.php:71 +msgid "Add new metadata" +msgstr "Ajouter une nouvelle métadonnée" + +#: templates/metadata.html.php:74 +msgid "Key" +msgstr "Clé" + +#: templates/metadata.html.php:76 +msgid "Value" +msgstr "Valeur" + +#: templates/metadata.html.php:78 +msgid "%s Add" +msgstr "%s Ajouter" + +#: templates/metadata.html.php:84 +msgid "Close this PDF and return to the home page" +msgstr "Fermer ce PDF et retourner à l'accueil" + +#: templates/metadata.html.php:86 +msgid "Edit metadata" +msgstr "Édition des métadonnées" + +#: templates/metadata.html.php:96 +msgid "Save and download the PDF" +msgstr "Enregistrer et télécharger le PDF" + +#~ msgid "Sign" +#~ msgstr "Signer" + +#~ msgid "Organize" +#~ msgstr "Organiser" + +#~ msgid "Metadata" +#~ msgstr "Métadonnées" + +#~ msgid "Signature" +#~ msgstr "Signature" + +#~ msgid "Initial" +#~ msgstr "Initiales" + +#~ msgid "Stamp" +#~ msgstr "Tampon" + +#~ msgid "Text" +#~ msgstr "Texte" + +#~ msgid "Check box" +#~ msgstr "Case à cocher" + +#~ msgid "Create an element" +#~ msgstr "Créer un élément" + +#~ msgid "Share to sign %s with multiple people" +#~ msgstr "Partager pour signer %s à plusieurs" + +#~ msgid "Select a signature" +#~ msgstr "Sélectionner une signature" + +#~ msgid "Share this PDF to sign it with several people" +#~ msgstr "Partager ce PDF pour le signer à plusieurs" + +#~ msgid "" +#~ "This sharing requires the PDF to be transferred and stored on the server " +#~ "for future signers to access." +#~ msgstr "" +#~ "Ce partage nécessite que le PDF soit transféré et stocké sur le serveur " +#~ "afin d'être accessible aux futurs signataires." + +#~ msgid "The PDF will be kept" +#~ msgstr "Le PDF sera stocké" + +#~ msgid "Start sharing" +#~ msgstr "Démarrer le partage" + +#~ msgid "Sign this PDF with multiple people" +#~ msgstr "Signer ce PDF à plusieurs" + +#~ msgid "Add a PDF" +#~ msgstr "Ajouter un PDF" + +#~ msgid "Rotate 90°" +#~ msgstr "Tourner de 90°" + +#~ msgid "Move" +#~ msgstr "Déplacer" + +#~ msgid "Delete" +#~ msgstr "Supprimer" + +#~ msgid "Extract and download" +#~ msgstr "Extraire et télécharger" + +#~ msgid "Cancel selection" +#~ msgstr "Annuler la sélection" + +#~ msgid "Download the full PDF" +#~ msgstr "Télécharger le PDF complet" + +#~ msgid "Turn" +#~ msgstr "Tourner" + +#~ msgid "Add" +#~ msgstr "Ajouter" + +#~ msgid "Share to sign" +#~ msgstr "Partager pour signer" + +#~ msgid "with multiple people" +#~ msgstr "à plusieurs" + +#~ msgid "You are" +#~ msgstr "Vous êtes" + +#, fuzzy +#~ msgid "to have signed this PDF" +#~ msgstr "à avoir signé ce PDF" diff --git a/templates/metadata.html.php b/templates/metadata.html.php index e1e9ea5..7310c9e 100644 --- a/templates/metadata.html.php +++ b/templates/metadata.html.php @@ -21,17 +21,27 @@
-

+

'); ?>

@@ -65,7 +75,7 @@
" style="border-bottom-right-radius: 0; border-bottom-left-radius: 0;">
- +
@@ -73,7 +83,7 @@
" style="position: absolute; top: 2px; right: 2px; font-size: 10px;" href="/metadata">
-
"); ?>
+

diff --git a/templates/organization.html.php b/templates/organization.html.php index 29e5d10..50604b5 100644 --- a/templates/organization.html.php +++ b/templates/organization.html.php @@ -20,18 +20,18 @@
-

+

'); ?>

@@ -72,19 +72,19 @@
- +

- - - - + + + +
- +
@@ -92,7 +92,7 @@
- +
@@ -104,24 +104,24 @@ - +
>
- - - + + +
- +
- +
diff --git a/templates/signature.html.php b/templates/signature.html.php index d1b285a..14ae3bc 100644 --- a/templates/signature.html.php +++ b/templates/signature.html.php @@ -20,22 +20,22 @@
-

+

'); ?>

- ") ?> + " class="form-control form-control-lg" type="file" accept=".pdf,application/pdf" />

@@ -78,35 +78,35 @@
- +
- +
- +
- +
- +
- +
- +
@@ -116,10 +116,10 @@
-

0 to have signed this PDF"); ?>

+

0 "); ?>

- > + '); ?>
@@ -132,7 +132,7 @@
- +
@@ -197,19 +197,19 @@