1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Completato supporto delle traduzioni

Sostituzione della funzione gettext _() con la nuova tr() per permettere l'effettiva traduzione del progetto.
This commit is contained in:
Thomas Zilio
2017-09-04 12:02:29 +02:00
parent 396524eb50
commit bf254b227b
202 changed files with 2692 additions and 2647 deletions

View File

@ -109,7 +109,7 @@ class HTMLWrapper implements WrapperInterface
$module = \Modules::getModule($id_module);
if (in_array($module['permessi'], ['r', 'rw'])) {
$result = '
<button data-href="'.ROOTDIR.'/add.php?id_module='.$id_module.$extra.'&select='.$values['id'].'&ajax=yes" data-target="#bs-popup2" data-toggle="modal" data-title="'._('Aggiungi').'" type="button" class="btn'.$classes.'">
<button data-href="'.ROOTDIR.'/add.php?id_module='.$id_module.$extra.'&select='.$values['id'].'&ajax=yes" data-target="#bs-popup2" data-toggle="modal" data-title="'.tr('Aggiungi').'" type="button" class="btn'.$classes.'">
<i class="fa fa-plus"></i>
</button>';
}
@ -124,7 +124,7 @@ class HTMLWrapper implements WrapperInterface
$choices = [
[
'id' => 'UNT',
'descrizione' => _('&euro;'),
'descrizione' => tr('&euro;'),
],
[
'id' => 'PRC',