BugFix [master] - Convert all menus to 2-2 format (#2627)

convert all app_menu.php files to have all placeholders and languages and use 2-2 format for languages
update app_defaults to convert any items found using legacy values in user_setings, domain_settings and default_settings
This commit is contained in:
Mafoo
2017-06-02 12:17:50 -06:00
committed by FusionPBX
parent 22c317eb2f
commit 4ae8b418d4
64 changed files with 2490 additions and 1851 deletions
+24 -18
View File
@@ -1,22 +1,28 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Gateways";
$apps[$x]['menu'][0]['title']['es-cl'] = "Pasarelas";
$apps[$x]['menu'][0]['title']['es-mx'] = "Pasarelas";
$apps[$x]['menu'][0]['title']['fr-fr'] = "Passerelles";
$apps[$x]['menu'][0]['title']['pt-pt'] = "Gateways";
$apps[$x]['menu'][0]['title']['pt-br'] = "Gateways";
$apps[$x]['menu'][0]['title']['pl'] = "Brama wyjściowa ";
$apps[$x]['menu'][0]['title']['ru-ru'] = "Шлюзы";
$apps[$x]['menu'][0]['title']['uk'] = "Шлюзи";
$apps[$x]['menu'][0]['title']['sv-se'] = "Gateways";
$apps[$x]['menu'][0]['title']['de-de'] = "Gateways";
$apps[$x]['menu'][0]['title']['de-at'] = "Gateways";
$apps[$x]['menu'][0]['title']['ar-eg'] = "البوابات";
$apps[$x]['menu'][0]['uuid'] = "237a512a-f8fe-1ce4-b5d7-e71c401d7159";
$apps[$x]['menu'][0]['parent_uuid'] = "bc96d773-ee57-0cdd-c3ac-2d91aba61b55";
$apps[$x]['menu'][0]['category'] = "internal";
$apps[$x]['menu'][0]['path'] = "/app/gateways/gateways.php";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Gateways";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "البوابات";
$apps[$x]['menu'][$y]['title']['de-at'] = "Gateways";
$apps[$x]['menu'][$y]['title']['de-de'] = "Gateways";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Pasarelas";
$apps[$x]['menu'][$y]['title']['es-mx'] = "Pasarelas";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Passerelles";
$apps[$x]['menu'][$y]['title']['he-il'] = "";
$apps[$x]['menu'][$y]['title']['it-it'] = "";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Brama wyjściowa ";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Gateways";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Gateways";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Шлюзы";
$apps[$x]['menu'][$y]['title']['sv-se'] = "Gateways";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "Шлюзи";
$apps[$x]['menu'][$y]['uuid'] = "237a512a-f8fe-1ce4-b5d7-e71c401d7159";
$apps[$x]['menu'][$y]['parent_uuid'] = "bc96d773-ee57-0cdd-c3ac-2d91aba61b55";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/app/gateways/gateways.php";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
?>