diff --git a/src/main/resources/messages_ar_AR.properties b/src/main/resources/messages_ar_AR.properties index 0cc54940a..50bda14e4 100644 --- a/src/main/resources/messages_ar_AR.properties +++ b/src/main/resources/messages_ar_AR.properties @@ -5,6 +5,9 @@ ########### # Generic # ########### +# the direction that the language is written (ltr = left to right, rtl = right to left) +language.direction=rtl + pdfPrompt=اختر PDF multiPdfPrompt=اختر ملفات PDF (2+) multiPdfDropPrompt=حدد (أو اسحب وأفلت) جميع ملفات PDF التي تحتاجها diff --git a/src/main/resources/messages_de_DE.properties b/src/main/resources/messages_de_DE.properties index 38266bb43..b5ce3c9d4 100644 --- a/src/main/resources/messages_de_DE.properties +++ b/src/main/resources/messages_de_DE.properties @@ -1,6 +1,9 @@ ########### # Generic # ########### +# the direction that the language is written (ltr = left to right, rtl = right to left) +language.direction=ltr + pdfPrompt=PDF auswählen multiPdfPrompt=PDFs auswählen(2+) multiPdfDropPrompt=Wählen Sie alle gewünschten PDFs aus (oder ziehen Sie sie per Drag & Drop hierhin) diff --git a/src/main/resources/messages_en_GB.properties b/src/main/resources/messages_en_GB.properties index 1d32c9327..42d642138 100644 --- a/src/main/resources/messages_en_GB.properties +++ b/src/main/resources/messages_en_GB.properties @@ -1,6 +1,9 @@ ########### # Generic # ########### +# the direction that the language is written (ltr = left to right, rtl = right to left) +language.direction=ltr + pdfPrompt=Choose PDF multiPdfPrompt=Choose PDFs (2+) multiPdfDropPrompt=Select (or drag & drop) all PDFs you require diff --git a/src/main/resources/messages_en_US.properties b/src/main/resources/messages_en_US.properties index 802fbe349..dab6e8b7e 100644 --- a/src/main/resources/messages_en_US.properties +++ b/src/main/resources/messages_en_US.properties @@ -1,6 +1,9 @@ ########### # Generic # ########### +# the direction that the language is written (ltr = left to right, rtl = right to left) +language.direction=ltr + pdfPrompt=Choose PDF multiPdfPrompt=Choose PDFs (2+) multiPdfDropPrompt=Select (or drag & drop) all PDFs you require diff --git a/src/main/resources/messages_fr_FR.properties b/src/main/resources/messages_fr_FR.properties index d0f61e1ca..a5089e320 100644 --- a/src/main/resources/messages_fr_FR.properties +++ b/src/main/resources/messages_fr_FR.properties @@ -5,6 +5,9 @@ ########### # Generic # ########### +# the direction that the language is written (ltr = left to right, rtl = right to left) +language.direction=ltr + pdfPrompt=Choisir PDF multiPdfPrompt=Choisir des PDF (2+) multiPdfDropPrompt=Sélectionnez (ou glissez-déposez) tous les PDF dont vous avez besoin diff --git a/src/main/resources/static/general.css b/src/main/resources/static/general.css index 1180ed5f8..4a5a669ab 100644 --- a/src/main/resources/static/general.css +++ b/src/main/resources/static/general.css @@ -13,11 +13,11 @@ width: 100%; } -:is(html[lang=en], html[lang=fr]) * { +html[lang-direction=ltr] * { direction: ltr; } -:is(html[lang=ar]) * { +html[lang-direction=rtl] * { direction: rtl; text-align: right; } diff --git a/src/main/resources/templates/add-image.html b/src/main/resources/templates/add-image.html index a83363eaf..892a0eed6 100644 --- a/src/main/resources/templates/add-image.html +++ b/src/main/resources/templates/add-image.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/compress-pdf.html b/src/main/resources/templates/compress-pdf.html index 98b7157b8..eeef4f9a3 100644 --- a/src/main/resources/templates/compress-pdf.html +++ b/src/main/resources/templates/compress-pdf.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/convert/img-to-pdf.html b/src/main/resources/templates/convert/img-to-pdf.html index 6e39db6a0..18de8253c 100644 --- a/src/main/resources/templates/convert/img-to-pdf.html +++ b/src/main/resources/templates/convert/img-to-pdf.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/convert/pdf-to-img.html b/src/main/resources/templates/convert/pdf-to-img.html index 23c34fd35..e36bf3154 100644 --- a/src/main/resources/templates/convert/pdf-to-img.html +++ b/src/main/resources/templates/convert/pdf-to-img.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html index 50bdf4ffb..8b04facc7 100644 --- a/src/main/resources/templates/home.html +++ b/src/main/resources/templates/home.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/merge-pdfs.html b/src/main/resources/templates/merge-pdfs.html index bab357ae2..3326e55d2 100644 --- a/src/main/resources/templates/merge-pdfs.html +++ b/src/main/resources/templates/merge-pdfs.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/pdf-organizer.html b/src/main/resources/templates/pdf-organizer.html index 0fa6037fc..08fd4013c 100644 --- a/src/main/resources/templates/pdf-organizer.html +++ b/src/main/resources/templates/pdf-organizer.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/remove-pages.html b/src/main/resources/templates/remove-pages.html index 7d9fd38c6..cd255ff34 100644 --- a/src/main/resources/templates/remove-pages.html +++ b/src/main/resources/templates/remove-pages.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/rotate-pdf.html b/src/main/resources/templates/rotate-pdf.html index c320fceec..ce2af3d44 100644 --- a/src/main/resources/templates/rotate-pdf.html +++ b/src/main/resources/templates/rotate-pdf.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/security/add-password.html b/src/main/resources/templates/security/add-password.html index 858806b97..cbd52bb9b 100644 --- a/src/main/resources/templates/security/add-password.html +++ b/src/main/resources/templates/security/add-password.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/security/add-watermark.html b/src/main/resources/templates/security/add-watermark.html index 2da5c29ec..9a7d220df 100644 --- a/src/main/resources/templates/security/add-watermark.html +++ b/src/main/resources/templates/security/add-watermark.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/security/change-permissions.html b/src/main/resources/templates/security/change-permissions.html index 80b531ade..71cb5babd 100644 --- a/src/main/resources/templates/security/change-permissions.html +++ b/src/main/resources/templates/security/change-permissions.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/security/remove-password.html b/src/main/resources/templates/security/remove-password.html index 720750c9a..d180d1097 100644 --- a/src/main/resources/templates/security/remove-password.html +++ b/src/main/resources/templates/security/remove-password.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/split-pdfs.html b/src/main/resources/templates/split-pdfs.html index 12b33422b..660261b89 100644 --- a/src/main/resources/templates/split-pdfs.html +++ b/src/main/resources/templates/split-pdfs.html @@ -1,5 +1,5 @@ - +