1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2024-05-21 15:16:37 +02:00

add translatable string

This commit is contained in:
tale-fau 2023-09-25 15:43:53 +02:00
parent bcc366fba7
commit 42f30ac669
5 changed files with 44 additions and 32 deletions

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-25 12:26+0200\n"
"POT-Creation-Date: 2023-09-25 15:43+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: app.php:59
#: app.php:60
msgid "en"
msgstr ""
@ -46,6 +46,14 @@ msgstr ""
msgid "Choose a PDF"
msgstr ""
#: templates/compress.html.php:29 templates/organization.html.php:28
msgid "The PDF must not exceed "
msgstr ""
#: templates/compress.html.php:29 templates/organization.html.php:28
msgid "Mb"
msgstr ""
#: templates/compress.html.php:31 templates/signature.html.php:28
msgid "The PDF will be processed by the server without being stored or saved"
msgstr ""
@ -150,14 +158,6 @@ msgstr ""
msgid "Merge, sort, rotate, delete, extract pages"
msgstr ""
#: templates/organization.html.php:28
msgid "The PDF must not exceed "
msgstr ""
#: templates/organization.html.php:28
msgid "Mb"
msgstr ""
#: templates/organization.html.php:30
msgid ""
"The PDF will be processed by the server without being retained or stored"
@ -273,6 +273,10 @@ msgstr ""
msgid "Download this page"
msgstr ""
#: templates/organization.html.php:145
msgid "Page"
msgstr ""
#: templates/signature.html.php:22
#, php-format
msgid "%s Sign a PDF"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-25 12:26+0200\n"
"POT-Creation-Date: 2023-09-25 15:39+0200\n"
"PO-Revision-Date: 2023-09-25 08:01+0000\n"
"Last-Translator: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>\n"
"Language-Team: Arabic <https://hosted.weblate.org/projects/signature-pdf/"
@ -20,7 +20,7 @@ msgstr ""
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
"X-Generator: Weblate 5.1-dev\n"
#: app.php:59
#: app.php:60
msgid "en"
msgstr "ar"
@ -49,6 +49,14 @@ msgstr "تخفيف حجم ملف PDF"
msgid "Choose a PDF"
msgstr "إختر ملف PDF"
#: templates/compress.html.php:29 templates/organization.html.php:28
msgid "The PDF must not exceed "
msgstr "لا يجب أن يتجاوز حجم ملف الـ PDF "
#: templates/compress.html.php:29 templates/organization.html.php:28
msgid "Mb"
msgstr "ميغابايت"
#: templates/compress.html.php:31 templates/signature.html.php:28
msgid "The PDF will be processed by the server without being stored or saved"
msgstr "سيتم معالجة ملف الـ PDF على الخادم دون الاحتفاظ به أو تخزينه"
@ -153,14 +161,6 @@ msgstr "%s تنظيم الـ PDF"
msgid "Merge, sort, rotate, delete, extract pages"
msgstr "دمج، فرز، تدوير، حذف، استخراج الصفحات"
#: templates/organization.html.php:28
msgid "The PDF must not exceed "
msgstr "لا يجب أن يتجاوز حجم ملف الـ PDF "
#: templates/organization.html.php:28
msgid "Mb"
msgstr "ميغابايت"
#: templates/organization.html.php:30
msgid ""
"The PDF will be processed by the server without being retained or stored"
@ -276,6 +276,10 @@ msgstr "تدوير هذه الصفحة"
msgid "Download this page"
msgstr "تنزيل هذه الصفحة"
#: templates/organization.html.php:145
msgid "Page"
msgstr ""
#: templates/signature.html.php:22
#, php-format
msgid "%s Sign a PDF"

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-25 12:26+0200\n"
"POT-Creation-Date: 2023-09-25 15:39+0200\n"
"PO-Revision-Date: 2023-09-07 13:19+0000\n"
"Last-Translator: 24ème <equipe@24eme.fr>\n"
"Language-Team: French <https://hosted.weblate.org/projects/signature-pdf/"
@ -20,7 +20,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 5.0.1-dev\n"
#: app.php:59
#: app.php:60
msgid "en"
msgstr "fr"
@ -49,6 +49,14 @@ msgstr "Réduire la taille d'un PDF"
msgid "Choose a PDF"
msgstr "Choisir un PDF"
#: templates/compress.html.php:29 templates/organization.html.php:28
msgid "The PDF must not exceed "
msgstr "Le PDF ne doit pas dépasser "
#: templates/compress.html.php:29 templates/organization.html.php:28
msgid "Mb"
msgstr "Mo"
#: templates/compress.html.php:31 templates/signature.html.php:28
msgid "The PDF will be processed by the server without being stored or saved"
msgstr "Le PDF sera traité par le serveur sans être conservé no stocké"
@ -153,14 +161,6 @@ msgstr "%s Organiser des PDF"
msgid "Merge, sort, rotate, delete, extract pages"
msgstr "Fusionner, trier, pivoter, supprimer, extraire des pages"
#: templates/organization.html.php:28
msgid "The PDF must not exceed "
msgstr "Le PDF ne doit pas dépasser "
#: templates/organization.html.php:28
msgid "Mb"
msgstr "Mo"
#: templates/organization.html.php:30
msgid ""
"The PDF will be processed by the server without being retained or stored"
@ -277,6 +277,10 @@ msgstr "Tourner cette page"
msgid "Download this page"
msgstr "Télécharger cette page"
#: templates/organization.html.php:145
msgid "Page"
msgstr "Page"
#: templates/signature.html.php:22
#, php-format
msgid "%s Sign a PDF"

View file

@ -90,7 +90,7 @@ var loadPDF = async function(pdfBlob, filename, pdfIndex) {
pageHTML += '<div title="' + trad['Move here'] + '" class="position-absolute start-50 top-50 translate-middle p-2 ps-4 pe-4 container-resize btn-drag-here d-none"><i class="bi bi-arrows-expand-vertical"></i></div>';
pageHTML += '<div title="' + trad['Turn this page'] + '" class="position-absolute top-50 end-0 translate-middle-y p-2 ps-3 pe-3 me-2 rounded-circle container-rotate btn-rotate d-none"><i class="bi bi-arrow-clockwise"></i></div>';
pageHTML += '<div title="' + trad['Download this page'] + '" class="position-absolute bottom-0 start-50 translate-middle-x p-2 ps-3 pe-3 mb-3 rounded-circle btn-download d-none"><i class="bi bi-download"></i></div>';
pageHTML += '<p class="page-title position-absolute text-center w-100 ps-2 pe-2 pb-0 pt-0 mb-1 bg-white opacity-75 d-none" style="bottom: -4px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;">Page '+page.pageNumber+' - '+filename+'</p>';
pageHTML += '<p class="page-title position-absolute text-center w-100 ps-2 pe-2 pb-0 pt-0 mb-1 bg-white opacity-75 d-none" style="bottom: -4px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;">' + trad['page'] + ' ' + page.pageNumber + ' - ' + filename + '</p>';
pageHTML += '<input form="form_pdf" class="checkbox-page d-none" role="switch" type="checkbox" checked="checked" value="'+pdfLetter+page.pageNumber+'" />';
pageHTML += '<input type="hidden" class="input-rotate" value="0" id="input_rotate_'+pageIndex+'" />';
pageHTML += '<input type="checkbox" class="input-select d-none" value="'+pdfLetter+page.pageNumber+'" id="input_select_'+pageIndex+'" />';

View file

@ -142,7 +142,7 @@
'Move here' => _('Move here'),
'Turn this page' => _('Turn this page'),
'Download this page' => _('Download this page'),
'Page' => _('Page')
]); ?>;
</script>
<script src="<?php echo $REVERSE_PROXY_URL; ?>/js/organization.js?<?php echo ($COMMIT) ? $COMMIT : filemtime($ROOT."/public/js/organization.js") ?>"></script>