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

@@ -7,11 +7,11 @@ include_once __DIR__.'/../../core.php';
<div class="row">
<div class="col-md-6">
{[ "type": "text", "label": "<?php echo _("Nome"); ?>", "name": "nome", "required": 1, "value": "" ]}
{[ "type": "text", "label": "<?php echo tr("Nome"); ?>", "name": "nome", "required": 1, "value": "" ]}
</div>
<div class="col-md-6">
{[ "type": "text", "label": "<?php echo _("Targa"); ?>", "name": "targa", "required": 1, "value": "" ]}
{[ "type": "text", "label": "<?php echo tr("Targa"); ?>", "name": "targa", "required": 1, "value": "" ]}
</div>
</div>
@@ -19,7 +19,7 @@ include_once __DIR__.'/../../core.php';
<!-- PULSANTI -->
<div class="row">
<div class="col-md-12 text-right">
<button type="submit" class="btn btn-primary"><i class="fa fa-plus"></i> <?php echo _("Aggiungi"); ?></button>
<button type="submit" class="btn btn-primary"><i class="fa fa-plus"></i> <?php echo tr("Aggiungi"); ?></button>
</div>
</div>
</form>