Some translations
This commit is contained in:
parent
5c14231fd6
commit
4e85c6f92f
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
require_once 'ui.php';
|
||||
loadtemplate('anagrafica.html', ['titolo' => 'Anagrafica user', 'dacontrollare' => ucwords(str_replace('_', ' ', urldecode($_GET['user'])))]);
|
||||
loadtemplate('anagrafica.html', ['titolo' => t("Personal data",false), 'dacontrollare' => ucwords(str_replace('_', ' ', urldecode($_GET['user'])))]);
|
||||
?>
|
||||
|
|
|
@ -63,7 +63,7 @@ if($tools->validate_form_data('$post-mod', true, "add")) {
|
|||
$tools->redirect("nonfareilfurbo.php");
|
||||
}
|
||||
}
|
||||
loadtemplate('edit_service.html', ['service' => ['id' => $id, 'token' => $_SESSION['token'], 'modalità' => $modalità, 'personale' => $personale, 'tipologie' => $tipologie], 'values' => $values, 'incrementa' => $incrementa, 'titolo' => ucfirst($modalità) . ' service']);
|
||||
loadtemplate('edit_service.html', ['service' => ['id' => $id, 'token' => $_SESSION['token'], 'modalità' => $modalità, 'personale' => $personale, 'tipologie' => $tipologie], 'values' => $values, 'incrementa' => $incrementa, 'titolo' => ucfirst($modalità) . ' '.ucfirst(t("service",false))]);
|
||||
bdump($_SESSION['token'], "token");
|
||||
}
|
||||
?>
|
|
@ -61,7 +61,7 @@ if($tools->validate_form_data('$post-mod', true, "add")) {
|
|||
//$tools->redirect("nonfareilfurbo.php");
|
||||
}
|
||||
}
|
||||
loadtemplate('edit_training.html', ['training' => ['id' => $id, 'token' => $_SESSION['token'], 'modalità' => $modalità, 'personale' => $personale], 'values' => $values, 'incrementa' => $incrementa, 'titolo' => ucfirst($modalità) . ' training']);
|
||||
loadtemplate('edit_training.html', ['training' => ['id' => $id, 'token' => $_SESSION['token'], 'modalità' => $modalità, 'personale' => $personale], 'values' => $values, 'incrementa' => $incrementa, 'titolo' => ucfirst($modalità) . ' '.ucfirst(t("training",false))]);
|
||||
bdump($_SESSION['token'], "token");
|
||||
}
|
||||
?>
|
|
@ -59,7 +59,7 @@ if($tools->validate_form_data('$post-mod', true, "add")) {
|
|||
$tools->redirect("nonfareilfurbo.php");
|
||||
}
|
||||
}
|
||||
loadtemplate('edit_user.html', ['id' => $id, 'token' => $_SESSION["token"], 'modalità' => $modalità, 'values' => $values, 'titolo' => ucfirst($modalità) . ' user']);
|
||||
loadtemplate('edit_user.html', ['id' => $id, 'token' => $_SESSION["token"], 'modalità' => $modalità, 'values' => $values, 'titolo' => ucfirst($modalità) . ' '.ucfirst(t("user",false))]);
|
||||
bdump($_SESSION['token'], "token");
|
||||
}
|
||||
?>
|
|
@ -13,4 +13,4 @@ if(isset($_POST['name']) & isset($_POST['password'])){
|
|||
bdump($errore);
|
||||
}
|
||||
}
|
||||
loadtemplate('index.html', ['errore' => $errore, 'titolo' => 'Login'], false);
|
||||
loadtemplate('index.html', ['errore' => $errore, 'titolo' => t('Login',false)], false);
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
require_once 'ui.php';
|
||||
loadtemplate('lista.html', ['titolo' => 'Disponibilità']);
|
||||
loadtemplate('lista.html', ['titolo' => t("Availability List",false)]);
|
||||
bdump($_SESSION);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
require_once 'ui.php';
|
||||
loadtemplate('log.html', ['titolo' => 'Log']);
|
||||
loadtemplate('log.html', ['titolo' => t('Logs',false)]);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
require_once 'ui.php';
|
||||
loadtemplate('profilo.html', ['titolo' => 'Pagina profilo']);
|
||||
loadtemplate('profilo.html', ['titolo' => t("Profile page")]);
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
require_once 'ui.php';
|
||||
loadtemplate('services.html', ['titolo' => 'Services']);
|
||||
loadtemplate('services.html', ['titolo' => t('Services',false)]);
|
||||
?>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
require_once 'ui.php';
|
||||
loadtemplate('trainings.html', ['titolo' => 'Trainings']);
|
||||
loadtemplate('trainings.html', ['titolo' => t('Trainings',false)]);
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
// Translated by: Name Surname (github, email or another social profile url/username)
|
||||
|
||||
return [
|
||||
"Personal data" => "Personal data",
|
||||
"service" => "service",
|
||||
"training" => "training",
|
||||
"user" => "user",
|
||||
"Login" => "Login",
|
||||
"Profile page" => "Profile page",
|
||||
"Availability List" => "Availability List",
|
||||
"Services" => "Services",
|
||||
"Trainings" => "Trainings",
|
||||
|
@ -14,6 +20,7 @@ return [
|
|||
"Available" => "Available",
|
||||
"Foreman" => "Foreman",
|
||||
"Driver" => "Driver",
|
||||
"Drivers" => "Drivers",
|
||||
"People" => "People",
|
||||
"Date" => "Date",
|
||||
"Code" => "Code",
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
// Translated by: Matteo Gheza (matteogheza.it; github.com/matteogheza)
|
||||
|
||||
return [
|
||||
"Personal data" => "Dati anagrafici",
|
||||
"service" => "Intervento",
|
||||
"Availability List" => "Lista disponibilità",
|
||||
"Services" => "Interventi",
|
||||
"Trainings" => "Esercitazioni",
|
||||
|
@ -14,6 +16,7 @@ return [
|
|||
"Available" => "Disponibile",
|
||||
"Foreman" => "Caposquadra",
|
||||
"Driver" => "Autista",
|
||||
"Drivers" => "Autisti",
|
||||
"People" => "Persone",
|
||||
"Date" => "Data",
|
||||
"Code" => "Codice",
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
// Translated by: Matteo Gheza (matteogheza.it; github.com/matteogheza)
|
||||
|
||||
return [
|
||||
"Add service" => "Add intervento"
|
||||
"Add service" => "Aggiungi intervento"
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue