From 67700a92a4a9da94a175cc747fcfadea7b4095c7 Mon Sep 17 00:00:00 2001 From: tale-fau Date: Fri, 22 Sep 2023 17:45:51 +0200 Subject: [PATCH 1/3] remove picto from language selection button --- app.php | 3 +++ locale/application.pot | 5 ++--- locale/ar/LC_MESSAGES/application.po | 10 +++------- locale/fr/LC_MESSAGES/application.po | 14 +++++++------- templates/components/navtab.html.php | 2 +- 5 files changed, 16 insertions(+), 18 deletions(-) diff --git a/app.php b/app.php index 9415244..3da7eb5 100644 --- a/app.php +++ b/app.php @@ -86,6 +86,7 @@ $f3->route('GET /signature/@hash', $f3->error(404); } + $f3->set('activeTab', 'sign'); echo View::instance()->render('signature.html.php'); } ); @@ -238,6 +239,7 @@ $f3->route('POST /share', $f3->route('GET /signature/@hash/pdf', function($f3) { + $f3->set('activeTab', 'sign'); $hash = Web::instance()->slug($f3->get('PARAMS.hash')); $sharingFolder = $f3->get('PDF_STORAGE_PATH').$hash; $files = scandir($sharingFolder); @@ -312,6 +314,7 @@ $f3->route('POST /signature/@hash/save', $f3->route('GET /signature/@hash/nblayers', function($f3) { + $f3->set('activeTab', 'sign'); $hash = Web::instance()->slug($f3->get('PARAMS.hash')); $files = scandir($f3->get('PDF_STORAGE_PATH').$hash); $nbLayers = 0; diff --git a/locale/application.pot b/locale/application.pot index 71b4b0f..1883347 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:24+0200\n" +"POT-Creation-Date: 2023-09-22 17:42+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -515,8 +515,7 @@ msgid "Your signature has been successfully recorded!" msgstr "" #: templates/components/navtab.html.php:4 -#, php-format -msgid "%s Language" +msgid "Language" msgstr "" #: templates/components/navtab.html.php:15 diff --git a/locale/ar/LC_MESSAGES/application.po b/locale/ar/LC_MESSAGES/application.po index 837b817..df527c4 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:16+0200\n" +"POT-Creation-Date: 2023-09-22 17:42+0200\n" "PO-Revision-Date: 2023-09-20 16:01+0000\n" "Last-Translator: ButterflyOfFire \n" "Language-Team: Arabic \n" "Language-Team: French