Skip to content

Commit

Permalink
Merge branch 'master' of github.com:24eme/signaturepdf
Browse files Browse the repository at this point in the history
  • Loading branch information
tale-fau committed Sep 25, 2023
2 parents 1fe2de4 + 2ed8f00 commit 7399b27
Show file tree
Hide file tree
Showing 21 changed files with 1,133 additions and 135 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ package.json
node_modules
tests/downloads/
config/config.ini
*~
4 changes: 4 additions & 0 deletions app.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ function changeLanguage($lang, $f3) {
}

$f3->set('TRANSLATION_LANGUAGE', _("en"));
$f3->set('DIRECTION_LANGUAGE', 'ltr');
if($f3->get('TRANSLATION_LANGUAGE') == "ar") {
$f3->set('DIRECTION_LANGUAGE', 'rtl');
}

$f3->route('GET /',
function($f3) {
Expand Down
4 changes: 2 additions & 2 deletions locale/application.pot
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ msgid "Compress"
msgstr ""

#: templates/compress.html.php:42
msgid "Low compression (highest quality)"
msgid "Low compression (maximum quality)"
msgstr ""

#: templates/compress.html.php:43
Expand All @@ -64,7 +64,7 @@ msgid "%s Medium compression %s (default)"
msgstr ""

#: templates/compress.html.php:44
msgid "High compression (lowest quality)"
msgid "High compression (minimum quality)"
msgstr ""

#: templates/compress.html.php:52 templates/metadata.html.php:42
Expand Down
Binary file modified locale/ar/LC_MESSAGES/application.mo
Binary file not shown.
Binary file added locale/de/LC_MESSAGES/application.mo
Binary file not shown.
Loading

0 comments on commit 7399b27

Please sign in to comment.