From 0b0a452577e5e2de3adf1e348db8238924477f9d Mon Sep 17 00:00:00 2001 From: Vincent LAURENT Date: Fri, 22 Sep 2023 17:19:54 +0200 Subject: [PATCH] rtl everywhere --- Makefile | 2 +- locale/application.pot | 6 +++++- locale/ar/LC_MESSAGES/application.po | 6 +++++- locale/fr/LC_MESSAGES/application.po | 6 +++++- templates/compress.html.php | 2 +- templates/metadata.html.php | 2 +- templates/organization.html.php | 2 +- templates/signature.html.php | 2 +- 8 files changed, 20 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index c0a1031..0a748d8 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ test: node_modules/jest/bin/jest.js node_modules/puppeteer update_trad: # Extraction des phrases traductibles... - @xgettext --from-code=utf-8 --output=./locale/application.pot templates/*.php templates/components/*.php + @xgettext --from-code=utf-8 --output=./locale/application.pot *.php templates/*.php templates/components/*.php # Mise a jour des fichiers .po... @for lang in $$(find locale -mindepth 1 -maxdepth 1 -type d); do \ diff --git a/locale/application.pot b/locale/application.pot index 35498db..391cbda 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-22 17:00+0200\n" +"POT-Creation-Date: 2023-09-22 17:16+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,6 +17,10 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: app.php:59 +msgid "en" +msgstr "" + #: templates/compress.html.php:13 msgid "Compress PDF" msgstr "" diff --git a/locale/ar/LC_MESSAGES/application.po b/locale/ar/LC_MESSAGES/application.po index e51434b..837b817 100644 --- a/locale/ar/LC_MESSAGES/application.po +++ b/locale/ar/LC_MESSAGES/application.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-22 17:00+0200\n" +"POT-Creation-Date: 2023-09-22 17:16+0200\n" "PO-Revision-Date: 2023-09-20 16:01+0000\n" "Last-Translator: ButterflyOfFire \n" "Language-Team: Arabic =11 ? 4 : 5;\n" "X-Generator: Weblate 5.1-dev\n" +#: app.php:59 +msgid "en" +msgstr "ar" + #: templates/compress.html.php:13 msgid "Compress PDF" msgstr "" diff --git a/locale/fr/LC_MESSAGES/application.po b/locale/fr/LC_MESSAGES/application.po index b07e48d..b1e9d9b 100644 --- a/locale/fr/LC_MESSAGES/application.po +++ b/locale/fr/LC_MESSAGES/application.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-22 17:00+0200\n" +"POT-Creation-Date: 2023-09-22 17:16+0200\n" "PO-Revision-Date: 2023-09-07 13:19+0000\n" "Last-Translator: 24ème \n" "Language-Team: French 1;\n" "X-Generator: Weblate 5.0.1-dev\n" +#: app.php:59 +msgid "en" +msgstr "fr" + #: templates/compress.html.php:13 msgid "Compress PDF" msgstr "Compresser un PDF" diff --git a/templates/compress.html.php b/templates/compress.html.php index ec589d1..0dcba15 100644 --- a/templates/compress.html.php +++ b/templates/compress.html.php @@ -1,5 +1,5 @@ - dir="ltr" style="direction: ltr;"> + dir="rtl" style="direction: rtl;"> diff --git a/templates/metadata.html.php b/templates/metadata.html.php index ccf6538..cfc1383 100644 --- a/templates/metadata.html.php +++ b/templates/metadata.html.php @@ -1,5 +1,5 @@ - dir="ltr" style="direction: ltr;"> + dir="rtl" style="direction: rtl;"> diff --git a/templates/organization.html.php b/templates/organization.html.php index 6d5703f..d46f044 100644 --- a/templates/organization.html.php +++ b/templates/organization.html.php @@ -1,5 +1,5 @@ - dir="ltr" style="direction: ltr;"> + dir="rtl" style="direction: rtl;"> diff --git a/templates/signature.html.php b/templates/signature.html.php index 53c6017..46d2e6f 100644 --- a/templates/signature.html.php +++ b/templates/signature.html.php @@ -1,5 +1,5 @@ - dir="ltr" style="direction: ltr;"> + dir="rtl" style="direction: rtl;">