Browse Source

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
Mafoo 8 năm trước cách đây
mục cha
commit
6687c33123
1 tập tin đã thay đổi với 66 bổ sung36 xóa
  1. 66 36
      app_menu.php

+ 66 - 36
app_menu.php

@@ -1,19 +1,25 @@
 <?php
 
-	$y = 0;
+	$y=0;
 	$apps[$x]['menu'][$y]['title']['en-us'] = "Script Editor";
-	$apps[$x]['menu'][$y]['title']['es-cl'] = "Editor de Scripts";
-	$apps[$x]['menu'][$y]['title']['es-mx'] = "";
-	$apps[$x]['menu'][$y]['title']['de-de'] = "";
+	$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
+	$apps[$x]['menu'][$y]['title']['de-at'] = "Skript Editor";
 	$apps[$x]['menu'][$y]['title']['de-ch'] = "";
 	$apps[$x]['menu'][$y]['title']['de-de'] = "Skript Editor";
-	$apps[$x]['menu'][$y]['title']['de-at'] = "Skript Editor";
-	$apps[$x]['menu'][$y]['title']['fr-fr'] = "Editeur de script";
+	$apps[$x]['menu'][$y]['title']['es-cl'] = "Editor de Scripts";
+	$apps[$x]['menu'][$y]['title']['es-mx'] = "";
 	$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
-	$apps[$x]['menu'][$y]['title']['fr-ch'] = "";
-	$apps[$x]['menu'][$y]['title']['pt-pt'] = "Editor de Scripts";
+	$apps[$x]['menu'][$y]['title']['fr-fr'] = "Editeur de script";
+	$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'] = "";
 	$apps[$x]['menu'][$y]['title']['pt-br'] = "";
+	$apps[$x]['menu'][$y]['title']['pt-pt'] = "Editor de Scripts";
+	$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
 	$apps[$x]['menu'][$y]['title']['ru-ru'] = "Редактор скриптов";
+	$apps[$x]['menu'][$y]['title']['sv-se'] = "";
+	$apps[$x]['menu'][$y]['title']['uk-ua'] = "";
 	$apps[$x]['menu'][$y]['uuid'] = "f1905fec-0577-daef-6045-59d09b7d3f94";
 	$apps[$x]['menu'][$y]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
 	$apps[$x]['menu'][$y]['category'] = "external";
@@ -22,18 +28,24 @@
 	$apps[$x]['menu'][$y]['groups'][] = "superadmin";
 	$y++;
 	$apps[$x]['menu'][$y]['title']['en-us'] = "XML Editor";
-	$apps[$x]['menu'][$y]['title']['es-cl'] = "Editor XML";
-	$apps[$x]['menu'][$y]['title']['es-mx'] = "";
-	$apps[$x]['menu'][$y]['title']['de-de'] = "";
+	$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
+	$apps[$x]['menu'][$y]['title']['de-at'] = "XML Editor";
 	$apps[$x]['menu'][$y]['title']['de-ch'] = "";
 	$apps[$x]['menu'][$y]['title']['de-de'] = "XML Editor";
-	$apps[$x]['menu'][$y]['title']['de-at'] = "XML Editor";
-	$apps[$x]['menu'][$y]['title']['fr-fr'] = "Editeur XML";
+	$apps[$x]['menu'][$y]['title']['es-cl'] = "Editor XML";
+	$apps[$x]['menu'][$y]['title']['es-mx'] = "";
 	$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
-	$apps[$x]['menu'][$y]['title']['fr-ch'] = "";
-	$apps[$x]['menu'][$y]['title']['pt-pt'] = "Editor XML";
+	$apps[$x]['menu'][$y]['title']['fr-fr'] = "Editeur XML";
+	$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'] = "";
 	$apps[$x]['menu'][$y]['title']['pt-br'] = "";
+	$apps[$x]['menu'][$y]['title']['pt-pt'] = "Editor XML";
+	$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
 	$apps[$x]['menu'][$y]['title']['ru-ru'] = "Редактор XML";
+	$apps[$x]['menu'][$y]['title']['sv-se'] = "";
+	$apps[$x]['menu'][$y]['title']['uk-ua'] = "";
 	$apps[$x]['menu'][$y]['uuid'] = "16013877-606a-2a05-7d6a-c1b215839131";
 	$apps[$x]['menu'][$y]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
 	$apps[$x]['menu'][$y]['category'] = "external";
@@ -42,18 +54,24 @@
 	$apps[$x]['menu'][$y]['groups'][] = "superadmin";
 	$y++;
 	$apps[$x]['menu'][$y]['title']['en-us'] = "Provision Editor";
-	$apps[$x]['menu'][$y]['title']['es-cl'] = "Editor de Provisionamiento";
-	$apps[$x]['menu'][$y]['title']['es-mx'] = "";
-	$apps[$x]['menu'][$y]['title']['de-de'] = "";
+	$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
+	$apps[$x]['menu'][$y]['title']['de-at'] = "Bereitstellungs Editor";
 	$apps[$x]['menu'][$y]['title']['de-ch'] = "";
 	$apps[$x]['menu'][$y]['title']['de-de'] = "Bereitstellungs Editor";
-	$apps[$x]['menu'][$y]['title']['de-at'] = "Bereitstellungs Editor";
-	$apps[$x]['menu'][$y]['title']['fr-fr'] = "Editeur de Provisioning";
+	$apps[$x]['menu'][$y]['title']['es-cl'] = "Editor de Provisionamiento";
+	$apps[$x]['menu'][$y]['title']['es-mx'] = "";
 	$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
-	$apps[$x]['menu'][$y]['title']['fr-ch'] = "";
-	$apps[$x]['menu'][$y]['title']['pt-pt'] = "Editor de Provisionamento";
+	$apps[$x]['menu'][$y]['title']['fr-fr'] = "Editeur de Provisioning";
+	$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'] = "";
 	$apps[$x]['menu'][$y]['title']['pt-br'] = "";
+	$apps[$x]['menu'][$y]['title']['pt-pt'] = "Editor de Provisionamento";
+	$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
 	$apps[$x]['menu'][$y]['title']['ru-ru'] = "Редактор шаблонов автоконфигурации";
+	$apps[$x]['menu'][$y]['title']['sv-se'] = "";
+	$apps[$x]['menu'][$y]['title']['uk-ua'] = "";
 	$apps[$x]['menu'][$y]['uuid'] = "57773542-a565-1a29-605d-6535da1a0870";
 	$apps[$x]['menu'][$y]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
 	$apps[$x]['menu'][$y]['category'] = "external";
@@ -62,18 +80,24 @@
 	$apps[$x]['menu'][$y]['groups'][] = "superadmin";
 	$y++;
 	$apps[$x]['menu'][$y]['title']['en-us'] = "PHP Editor";
-	$apps[$x]['menu'][$y]['title']['es-cl'] = "Editor PHP";
-	$apps[$x]['menu'][$y]['title']['es-mx'] = "";
-	$apps[$x]['menu'][$y]['title']['de-de'] = "";
+	$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
+	$apps[$x]['menu'][$y]['title']['de-at'] = "PHP Editor";
 	$apps[$x]['menu'][$y]['title']['de-ch'] = "";
 	$apps[$x]['menu'][$y]['title']['de-de'] = "PHP Editor";
-	$apps[$x]['menu'][$y]['title']['de-at'] = "PHP Editor";
-	$apps[$x]['menu'][$y]['title']['fr-fr'] = "Editeur PHP";
+	$apps[$x]['menu'][$y]['title']['es-cl'] = "Editor PHP";
+	$apps[$x]['menu'][$y]['title']['es-mx'] = "";
 	$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
-	$apps[$x]['menu'][$y]['title']['fr-ch'] = "";
-	$apps[$x]['menu'][$y]['title']['pt-pt'] = "Editor de PHP";
+	$apps[$x]['menu'][$y]['title']['fr-fr'] = "Editeur PHP";
+	$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'] = "";
 	$apps[$x]['menu'][$y]['title']['pt-br'] = "";
+	$apps[$x]['menu'][$y]['title']['pt-pt'] = "Editor de PHP";
+	$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
 	$apps[$x]['menu'][$y]['title']['ru-ru'] = "Редактор PHP";
+	$apps[$x]['menu'][$y]['title']['sv-se'] = "";
+	$apps[$x]['menu'][$y]['title']['uk-ua'] = "";
 	$apps[$x]['menu'][$y]['uuid'] = "eae1f2d6-789b-807c-cc26-44501e848693";
 	$apps[$x]['menu'][$y]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
 	$apps[$x]['menu'][$y]['category'] = "external";
@@ -82,18 +106,24 @@
 	$apps[$x]['menu'][$y]['groups'][] = "superadmin";
 	$y++;
 	$apps[$x]['menu'][$y]['title']['en-us'] = "Grammar Editor";
-	$apps[$x]['menu'][$y]['title']['es-cl'] = "Editor Gramático";
-	$apps[$x]['menu'][$y]['title']['es-mx'] = "Editor Gramático";
-	$apps[$x]['menu'][$y]['title']['de-de'] = "";
+	$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
+	$apps[$x]['menu'][$y]['title']['de-at'] = "Grammatik Editor";
 	$apps[$x]['menu'][$y]['title']['de-ch'] = "";
 	$apps[$x]['menu'][$y]['title']['de-de'] = "Grammatik Editor";
-	$apps[$x]['menu'][$y]['title']['de-at'] = "Grammatik Editor";
-	$apps[$x]['menu'][$y]['title']['fr-fr'] = "Editeur de Grammaire";
+	$apps[$x]['menu'][$y]['title']['es-cl'] = "Editor Gramático";
+	$apps[$x]['menu'][$y]['title']['es-mx'] = "Editor Gramático";
 	$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
-	$apps[$x]['menu'][$y]['title']['fr-ch'] = "";
-	$apps[$x]['menu'][$y]['title']['pt-pt'] = "Editor Gramático";
+	$apps[$x]['menu'][$y]['title']['fr-fr'] = "Editeur de Grammaire";
+	$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'] = "";
 	$apps[$x]['menu'][$y]['title']['pt-br'] = "";
+	$apps[$x]['menu'][$y]['title']['pt-pt'] = "Editor Gramático";
+	$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
 	$apps[$x]['menu'][$y]['title']['ru-ru'] = "Редактор грамматики";
+	$apps[$x]['menu'][$y]['title']['sv-se'] = "";
+	$apps[$x]['menu'][$y]['title']['uk-ua'] = "";
 	$apps[$x]['menu'][$y]['uuid'] = "c3db739e-89f9-0fa2-44ce-0f4c2ff43b1a";
 	$apps[$x]['menu'][$y]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
 	$apps[$x]['menu'][$y]['category'] = "external";