1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2024-05-21 23:26:38 +02:00

remove picto from language selection button

This commit is contained in:
tale-fau 2023-09-22 17:45:51 +02:00
parent 7104221c80
commit 67700a92a4
5 changed files with 16 additions and 18 deletions

View file

@ -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;

View file

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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

View file

@ -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 <boffire@users.noreply.hosted.weblate.org>\n"
"Language-Team: Arabic <https://hosted.weblate.org/projects/signature-pdf/"
@ -520,9 +520,8 @@ msgid "Your signature has been successfully recorded!"
msgstr "تم تسجيل توقيعك بنجاح!"
#: templates/components/navtab.html.php:4
#, php-format
msgid "%s Language"
msgstr ""
msgid "Language"
msgstr "اللغة"
#: templates/components/navtab.html.php:15
msgid "Sign"
@ -554,6 +553,3 @@ msgstr ""
#~ msgid "page selected"
#~ msgstr "صفحة محددة"
#~ msgid "Language"
#~ msgstr "اللغة"

View file

@ -8,7 +8,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-07 13:19+0000\n"
"Last-Translator: 24ème <equipe@24eme.fr>\n"
"Language-Team: French <https://hosted.weblate.org/projects/signature-pdf/"
@ -527,9 +527,8 @@ msgid "Your signature has been successfully recorded!"
msgstr "Votre signature a bien été prise en compte !"
#: templates/components/navtab.html.php:4
#, php-format
msgid "%s Language"
msgstr "%s Langue"
msgid "Language"
msgstr "Langue"
#: templates/components/navtab.html.php:15
msgid "Sign"
@ -547,6 +546,10 @@ msgstr "Métadonnées"
msgid "Compress"
msgstr "Compresser"
#, php-format
#~ msgid "%s Language"
#~ msgstr "%s Langue"
#, php-format
#~ msgid "%s Sign"
#~ msgstr "%s Signer"
@ -559,9 +562,6 @@ msgstr "Compresser"
#~ msgid "%s Metadata"
#~ msgstr "%s Metadonnées"
#~ msgid "Language"
#~ msgstr "Langue"
#, php-format
#~ msgid "%s page selected"
#~ msgid_plural "%s pages selected"

View file

@ -1,7 +1,7 @@
<?php if(!$disableOrganization): ?>
<div class="dropdown position-absolute top-0 end-0 mt-2 me-2">
<button class="btn btn-outline-secondary btn-sm dropdown-toggle" type="button" id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
<span class="d-none d-md-inline"><?php echo sprintf(_("%s Language"), "<i class='bi bi-translate'></i>"); ?></span>
<span class="d-none d-md-inline"><i class='bi bi-translate'></i> <?php echo _("Language"); ?></span>
<span class="d-md-none"><i class="bi bi-translate"></i></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">