Number Translations: Fix Add.
This commit is contained in:
parent
bfbcd94cf7
commit
62b0ef0a03
|
|
@ -50,7 +50,7 @@
|
|||
}
|
||||
|
||||
//get http post variables and set them to php variables
|
||||
if (is_array($_POST) && is_uuid($number_translation_uuid)) {
|
||||
if (is_array($_POST) && @sizeof($_POST) != 0) {
|
||||
$number_translation_name = $_POST["number_translation_name"];
|
||||
$number_translation_details = $_POST["number_translation_details"];
|
||||
$number_translation_enabled = $_POST["number_translation_enabled"];
|
||||
|
|
@ -181,7 +181,6 @@
|
|||
$row = $database->select($sql, $parameters, 'row');
|
||||
if (is_array($row) && @sizeof($row) != 0) {
|
||||
$number_translation_name = $row["number_translation_name"];
|
||||
$number_translation_details = $row["number_translation_details"];
|
||||
$number_translation_enabled = $row["number_translation_enabled"];
|
||||
$number_translation_description = $row["number_translation_description"];
|
||||
}
|
||||
|
|
@ -205,7 +204,13 @@
|
|||
}
|
||||
|
||||
//add an empty row
|
||||
$x = is_array($number_translation_details) ? count($number_translation_details) : 0;
|
||||
if (is_array($number_translation_details) && @sizeof($number_translation_details) != 0) {
|
||||
$x = count($number_translation_details);
|
||||
}
|
||||
else {
|
||||
$number_translation_details = array();
|
||||
$x = 0;
|
||||
}
|
||||
$number_translation_details[$x]['number_translation_uuid'] = $number_translation_uuid;
|
||||
$number_translation_details[$x]['number_translation_detail_uuid'] = uuid();
|
||||
$number_translation_details[$x]['number_translation_detail_regex'] = '';
|
||||
|
|
|
|||
|
|
@ -3106,6 +3106,28 @@ $text['label-actions']['ru-ru'] = "Действия";
|
|||
$text['label-actions']['sv-se'] = "Åtgärder";
|
||||
$text['label-actions']['uk-ua'] = "Дії";
|
||||
|
||||
$text['label-action']['en-us'] = "Action";
|
||||
$text['label-action']['en-gb'] = "Action";
|
||||
$text['label-action']['ar-eg'] = "الأفعال";
|
||||
$text['label-action']['de-at'] = "Aktionen"; //copied from de-de
|
||||
$text['label-action']['de-ch'] = "Aktionen"; //copied from de-de
|
||||
$text['label-action']['de-de'] = "Aktionen";
|
||||
$text['label-action']['el-gr'] = "Ενέργειες";
|
||||
$text['label-action']['es-cl'] = "Acción";
|
||||
$text['label-action']['es-mx'] = "Acción"; //copied from es-cl
|
||||
$text['label-action']['fr-ca'] = "Action"; //copied from fr-fr
|
||||
$text['label-action']['fr-fr'] = "Action";
|
||||
$text['label-action']['he-il'] = "פעולות";
|
||||
$text['label-action']['it-it'] = "Azioni";
|
||||
$text['label-action']['nl-nl'] = "";
|
||||
$text['label-action']['pl-pl'] = "Operacje (gdzie przesłać rozmowę).";
|
||||
$text['label-action']['pt-br'] = "Açõe"; //copied from pt-pt
|
||||
$text['label-action']['pt-pt'] = "Açõe";
|
||||
$text['label-action']['ro-ro'] = "";
|
||||
$text['label-action']['ru-ru'] = "Действия";
|
||||
$text['label-action']['sv-se'] = "Åtgärder";
|
||||
$text['label-action']['uk-ua'] = "Дії";
|
||||
|
||||
$text['label-context']['en-us'] = "Context";
|
||||
$text['label-context']['en-gb'] = "Context";
|
||||
$text['label-context']['ar-eg'] = "";
|
||||
|
|
|
|||
Loading…
Reference in New Issue