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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user