Skip to content

Commit 1440d1d

Browse files
committed
#1045 [QRCode] fix: translations
1 parent f84423d commit 1440d1d

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

admin/qrcode.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
* View
8787
*/
8888

89-
$title = $langs->trans('RedirectionsSetup', $moduleName);
89+
$title = $langs->trans('ModuleSetup', 'Saturne');
9090
$help_url = 'FR:Module_' . $moduleName;
9191

9292
saturne_header(0, '', $title, $help_url);
@@ -102,8 +102,7 @@
102102
print '<table class="noborder centpercent">';
103103
print '<tr class="liste_titre">';
104104
print '<td>' . $langs->trans('URL') . '</td>';
105-
print '<td class="text-blank
106-
">' . $langs->trans('QR Code') . '</td>';
105+
print '<td class="center">' . $langs->trans('QR Code') . '</td>';
107106
print '<td class="center">' . $langs->trans('ModuleName') . '</td>';
108107
print '<td class="center">' . $langs->trans('Action') . '</td>';
109108
print '</tr>';

langs/fr_FR/saturne.lang

+8
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,14 @@ Tools = Outils
217217
ExportData = Exporter mes données
218218

219219

220+
#
221+
#
222+
#
223+
224+
QRCode = QR Code
225+
URLToEncode = URL à encoder
226+
HowToUseURLToEncode = Ecrivez l'URL vers laquelle le QR Code doit pointer
227+
220228

221229
#
222230
# Other - Autres

lib/documents.lib.php

-5
Original file line numberDiff line numberDiff line change
@@ -359,11 +359,6 @@ function saturne_show_documents(string $modulepart, $modulesubdir, $filedir, str
359359
$out .= '<table class="noborder centpercent" id="' . $modulepart . '_table">' . "\n";
360360
}
361361

362-
?>
363-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/pdf-lib.min.js"></script>
364-
365-
<?php
366-
367362
$out .= '<div id="pdfModal" class="wpeo-modal">
368363
<div class="modal-container">
369364
<div class="modal-header">

0 commit comments

Comments
 (0)