Skip to content

Commit

Permalink
Evarisk#1045 [QRCode] fix: translations
Browse files Browse the repository at this point in the history
  • Loading branch information
theodaviddd committed Aug 6, 2024
1 parent f84423d commit 1440d1d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
5 changes: 2 additions & 3 deletions admin/qrcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
* View
*/

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

saturne_header(0, '', $title, $help_url);
Expand All @@ -102,8 +102,7 @@
print '<table class="noborder centpercent">';
print '<tr class="liste_titre">';
print '<td>' . $langs->trans('URL') . '</td>';
print '<td class="text-blank
">' . $langs->trans('QR Code') . '</td>';
print '<td class="center">' . $langs->trans('QR Code') . '</td>';
print '<td class="center">' . $langs->trans('ModuleName') . '</td>';
print '<td class="center">' . $langs->trans('Action') . '</td>';
print '</tr>';
Expand Down
8 changes: 8 additions & 0 deletions langs/fr_FR/saturne.lang
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@ Tools = Outils
ExportData = Exporter mes données


#
#
#

QRCode = QR Code
URLToEncode = URL à encoder
HowToUseURLToEncode = Ecrivez l'URL vers laquelle le QR Code doit pointer


#
# Other - Autres
Expand Down
5 changes: 0 additions & 5 deletions lib/documents.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,6 @@ function saturne_show_documents(string $modulepart, $modulesubdir, $filedir, str
$out .= '<table class="noborder centpercent" id="' . $modulepart . '_table">' . "\n";
}

?>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/pdf-lib.min.js"></script>

<?php

$out .= '<div id="pdfModal" class="wpeo-modal">
<div class="modal-container">
<div class="modal-header">
Expand Down

0 comments on commit 1440d1d

Please sign in to comment.