Response message updates, language fixes.
This commit is contained in:
parent
790cf71a3d
commit
000e8c26d0
|
|
@ -26,10 +26,15 @@
|
|||
Philippe Rioual <bhouba@gmail.com>
|
||||
*/
|
||||
|
||||
$text['title-settings']['en-us'] = "Setting Update";
|
||||
$text['title-settings']['es-cl'] = "Actualizar Configuración";
|
||||
$text['title-settings']['pt-pt'] = "Actualiza a Configuração";
|
||||
$text['title-settings']['fr-fr'] = "Mise à jour de la configuration";
|
||||
$text['title-settings-add']['en-us'] = "Setting Add";
|
||||
$text['title-settings-add']['es-cl'] = "Añadir Configuración";
|
||||
$text['title-settings-add']['pt-pt'] = "Adicionar Configuração";
|
||||
$text['title-settings-add']['fr-fr'] = "Ajouter Cadre";
|
||||
|
||||
$text['title-settings-update']['en-us'] = "Setting Update";
|
||||
$text['title-settings-update']['es-cl'] = "Actualizar Configuración";
|
||||
$text['title-settings-update']['pt-pt'] = "Actualiza a Configuração";
|
||||
$text['title-settings-update']['fr-fr'] = "Mise à jour de la configuration";
|
||||
|
||||
$text['label-event-socket-ip']['en-us'] = "Event Socket IP Address:";
|
||||
$text['label-event-socket-ip']['es-cl'] = "Dirección IP del Socket de Eventos:";
|
||||
|
|
@ -122,11 +127,23 @@
|
|||
$text['description-shout-volume']['fr-fr'] = "Choisir l'amplification du volume pour Mod Shout.";
|
||||
|
||||
$text['button-back']['en-us'] = "Back";
|
||||
$text['button-back']['es-cl'] = "Volver";
|
||||
$text['button-back']['pt-pt'] = "Voltar";
|
||||
$text['button-back']['fr-fr'] = "Retour";
|
||||
|
||||
$text['button-save']['en-us'] = "Save";
|
||||
$text['button-back']['es-cl'] = "Guardar";
|
||||
$text['button-save']['pt-pt'] = "Guardar";
|
||||
$text['button-save']['fr-fr'] = "Sauvegarder";
|
||||
|
||||
$text['message-add']['en-us'] = "Add Completed";
|
||||
$text['message-add']['es-cl'] = "Agregar Completado";
|
||||
$text['message-add']['pt-pt'] = "Adição Efectuada";
|
||||
$text['message-add']['fr-fr'] = "Ajouté";
|
||||
|
||||
$text['message-update']['en-us'] = "Update Completed";
|
||||
$text['message-update']['es-cl'] = "Actualización Completada";
|
||||
$text['message-update']['pt-pt'] = "Actualização Efectuada";
|
||||
$text['message-update']['fr-fr'] = "Mis à Jour";
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -157,12 +157,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
//synchronize settings
|
||||
save_setting_xml();
|
||||
|
||||
require_once "resources/header.php";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=setting_edit.php\">\n";
|
||||
echo "<div align='center'>\n";
|
||||
echo "Add Complete\n";
|
||||
echo "</div>\n";
|
||||
require_once "resources/footer.php";
|
||||
$_SESSION["message"] = $text['message-add'];
|
||||
header("Location: setting_edit.php");
|
||||
return;
|
||||
} //if ($action == "add")
|
||||
|
||||
|
|
@ -183,12 +179,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
//synchronize settings
|
||||
save_setting_xml();
|
||||
|
||||
require_once "resources/header.php";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=setting_edit.php\">\n";
|
||||
echo "<div align='center'>\n";
|
||||
echo "Update Complete\n";
|
||||
echo "</div>\n";
|
||||
require_once "resources/footer.php";
|
||||
$_SESSION["message"] = $text['message-update'];
|
||||
header("Location: setting_edit.php");
|
||||
return;
|
||||
} //if ($action == "update")
|
||||
} //if ($_POST["persistformvar"] != "true")
|
||||
|
|
@ -234,12 +226,12 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
|
||||
echo "<tr>\n";
|
||||
if ($action == "add") {
|
||||
echo "<td align='left' width='30%' nowrap><b>Setting Add</b></td>\n";
|
||||
echo "<td align='left' width='30%' nowrap><b>".$text['title-settings-add']."</b></td>\n";
|
||||
}
|
||||
if ($action == "update") {
|
||||
echo "<td align='left' width='30%' nowrap><b>".$text['title-settings']."</b></td>\n";
|
||||
echo "<td align='left' width='30%' nowrap><b>".$text['title-settings-update']."</b></td>\n";
|
||||
}
|
||||
echo "<td width='70%' align='right'><input type='button' class='btn' name='' alt='back' onclick=\"window.location='javascript:history.go(-1)'\" value='".$text['button-back']."'></td>\n";
|
||||
//echo "<td width='70%' align='right'><input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='javascript:history.go(-1)'\" value='".$text['button-back']."'></td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue