added missing french translations and changed fr to fr-fr in all app_languages.php and app_config.php files.
This commit is contained in:
+54
-95
@@ -9,35 +9,36 @@
|
||||
$apps[$x]['url'] = 'http://www.fusionpbx.com';
|
||||
$apps[$x]['description']['en-us'] = 'The menu can be customized using this tool.';
|
||||
$apps[$x]['description']['es-mx'] = '';
|
||||
$apps[$x]['description']['de-de'] = '';
|
||||
$apps[$x]['description']['de'] = '';
|
||||
$apps[$x]['description']['de-ch'] = '';
|
||||
$apps[$x]['description']['de-at'] = '';
|
||||
$apps[$x]['description']['fr-fr'] = "Le menu peut être personnalisé ici";
|
||||
$apps[$x]['description']['fr-fr'] = 'Le menu peut être personnalisé ici';
|
||||
$apps[$x]['description']['fr-ca'] = '';
|
||||
$apps[$x]['description']['fr-ch'] = '';
|
||||
$apps[$x]['description']['pt-pt'] = "O menu pode ser personalizado usando esta ferramenta.";
|
||||
$apps[$x]['description']['pt-pt'] = 'O menu pode ser personalizado usando esta ferramenta.';
|
||||
$apps[$x]['description']['pt-br'] = '';
|
||||
|
||||
//menu details
|
||||
$apps[$x]['menu'][0]['title']['en-us'] = "Menu Manager";
|
||||
$apps[$x]['menu'][0]['title']['en-us'] = 'Menu Manager';
|
||||
$apps[$x]['menu'][0]['title']['es-mx'] = '';
|
||||
$apps[$x]['menu'][0]['title']['de-de'] = '';
|
||||
$apps[$x]['menu'][0]['title']['de'] = '';
|
||||
$apps[$x]['menu'][0]['title']['de-ch'] = '';
|
||||
$apps[$x]['menu'][0]['title']['de-at'] = '';
|
||||
$apps[$x]['menu'][0]['title']['fr-fr'] = "Gestion des Menus";
|
||||
$apps[$x]['menu'][0]['title']['fr-fr'] = 'Gestion des Menus';
|
||||
$apps[$x]['menu'][0]['title']['fr-ca'] = '';
|
||||
$apps[$x]['menu'][0]['title']['fr-ch'] = '';
|
||||
$apps[$x]['menu'][0]['title']['pt-pt'] = "Gestor de Menus";
|
||||
$apps[$x]['menu'][0]['title']['pt-pt'] = 'Gestor de Menus';
|
||||
$apps[$x]['menu'][0]['title']['pt-br'] = '';
|
||||
$apps[$x]['menu'][0]['uuid'] = 'da3a9ab4-c28e-ea8d-50cc-e8405ac8e76e';
|
||||
$apps[$x]['menu'][0]['parent_uuid'] = '02194288-6d56-6d3e-0b1a-d53a2bc10788';
|
||||
$apps[$x]['menu'][0]['category'] = 'internal';
|
||||
$apps[$x]['menu'][0]['path'] = '/core/menu/menu.php';
|
||||
|
||||
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
||||
|
||||
$apps[$x]['menu'][1]['title']['en-us'] = 'System';
|
||||
$apps[$x]['menu'][1]['title']['es-mx'] = '';
|
||||
$apps[$x]['menu'][1]['title']['de-de'] = '';
|
||||
$apps[$x]['menu'][1]['title']['de'] = '';
|
||||
$apps[$x]['menu'][1]['title']['de-ch'] = '';
|
||||
$apps[$x]['menu'][1]['title']['de-at'] = '';
|
||||
$apps[$x]['menu'][1]['title']['fr-fr'] = 'Système';
|
||||
@@ -56,7 +57,7 @@
|
||||
|
||||
$apps[$x]['menu'][2]['title']['en-us'] = 'Accounts';
|
||||
$apps[$x]['menu'][2]['title']['es-mx'] = '';
|
||||
$apps[$x]['menu'][2]['title']['de-de'] = '';
|
||||
$apps[$x]['menu'][2]['title']['de'] = '';
|
||||
$apps[$x]['menu'][2]['title']['de-ch'] = '';
|
||||
$apps[$x]['menu'][2]['title']['de-at'] = '';
|
||||
$apps[$x]['menu'][2]['title']['fr-fr'] = 'Comptes';
|
||||
@@ -67,46 +68,42 @@
|
||||
$apps[$x]['menu'][2]['uuid'] = 'bc96d773-ee57-0cdd-c3ac-2d91aba61b55';
|
||||
$apps[$x]['menu'][2]['parent_uuid'] = '';
|
||||
$apps[$x]['menu'][2]['category'] = 'internal';
|
||||
$apps[$x]['menu'][2]['path'] = '/core/users/index.php';
|
||||
$apps[$x]['menu'][2]['path'] = '/app/extensions/extensions.php';
|
||||
$apps[$x]['menu'][2]['order'] = '10';
|
||||
$apps[$x]['menu'][2]['groups'][] = 'admin';
|
||||
$apps[$x]['menu'][2]['groups'][] = 'superadmin';
|
||||
|
||||
if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/vars/app_config.php")) {
|
||||
$apps[$x]['menu'][3]['title']['en-us'] = 'Dialplan';
|
||||
$apps[$x]['menu'][3]['uuid'] = 'b94e8bd9-9eb5-e427-9c26-ff7a6c21552a';
|
||||
$apps[$x]['menu'][3]['parent_uuid'] = '';
|
||||
$apps[$x]['menu'][3]['category'] = 'internal';
|
||||
$apps[$x]['menu'][3]['path'] = '/app/dialplan/dialplans.php';
|
||||
$apps[$x]['menu'][3]['order'] = '15';
|
||||
$apps[$x]['menu'][3]['groups'][] = 'admin';
|
||||
$apps[$x]['menu'][3]['groups'][] = 'superadmin';
|
||||
}
|
||||
$apps[$x]['menu'][3]['title']['en-us'] = 'Dialplan2';
|
||||
$apps[$x]['menu'][3]['uuid'] = 'b94e8bd9-9eb5-e427-9c26-ff7a6c21552a';
|
||||
$apps[$x]['menu'][3]['parent_uuid'] = '';
|
||||
$apps[$x]['menu'][3]['category'] = 'internal';
|
||||
$apps[$x]['menu'][3]['path'] = '/app/dialplan/dialplans.php';
|
||||
$apps[$x]['menu'][3]['order'] = '15';
|
||||
$apps[$x]['menu'][3]['groups'][] = 'admin';
|
||||
$apps[$x]['menu'][3]['groups'][] = 'superadmin';
|
||||
|
||||
if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/calls_active/calls_active_extensions.php")) {
|
||||
$apps[$x]['menu'][4]['title']['en-us'] = 'Status';
|
||||
$apps[$x]['menu'][4]['title']['es-mx'] = '';
|
||||
$apps[$x]['menu'][4]['title']['de-de'] = '';
|
||||
$apps[$x]['menu'][4]['title']['de-ch'] = '';
|
||||
$apps[$x]['menu'][4]['title']['de-at'] = '';
|
||||
$apps[$x]['menu'][4]['title']['fr-fr'] = 'Etat';
|
||||
$apps[$x]['menu'][4]['title']['fr-ca'] = '';
|
||||
$apps[$x]['menu'][4]['title']['fr-ch'] = '';
|
||||
$apps[$x]['menu'][4]['title']['pt-pt'] = 'Estado';
|
||||
$apps[$x]['menu'][4]['title']['pt-br'] = '';
|
||||
$apps[$x]['menu'][4]['uuid'] = '0438b504-8613-7887-c420-c837ffb20cb1';
|
||||
$apps[$x]['menu'][4]['parent_uuid'] = '';
|
||||
$apps[$x]['menu'][4]['category'] = 'internal';
|
||||
$apps[$x]['menu'][4]['path'] = '/app/calls_active/calls_active_extensions.php';
|
||||
$apps[$x]['menu'][4]['order'] = '25';
|
||||
$apps[$x]['menu'][4]['groups'][] = 'user';
|
||||
$apps[$x]['menu'][4]['groups'][] = 'admin';
|
||||
$apps[$x]['menu'][4]['groups'][] = 'superadmin';
|
||||
}
|
||||
$apps[$x]['menu'][4]['title']['en-us'] = 'Status';
|
||||
$apps[$x]['menu'][4]['title']['es-mx'] = '';
|
||||
$apps[$x]['menu'][4]['title']['de'] = '';
|
||||
$apps[$x]['menu'][4]['title']['de-ch'] = '';
|
||||
$apps[$x]['menu'][4]['title']['de-at'] = '';
|
||||
$apps[$x]['menu'][4]['title']['fr-fr'] = 'Etat';
|
||||
$apps[$x]['menu'][4]['title']['fr-ca'] = '';
|
||||
$apps[$x]['menu'][4]['title']['fr-ch'] = '';
|
||||
$apps[$x]['menu'][4]['title']['pt-pt'] = 'Estado';
|
||||
$apps[$x]['menu'][4]['title']['pt-br'] = '';
|
||||
$apps[$x]['menu'][4]['uuid'] = '0438b504-8613-7887-c420-c837ffb20cb1';
|
||||
$apps[$x]['menu'][4]['parent_uuid'] = '';
|
||||
$apps[$x]['menu'][4]['category'] = 'internal';
|
||||
$apps[$x]['menu'][4]['path'] = '/app/calls_active/calls_active_extensions.php';
|
||||
$apps[$x]['menu'][4]['order'] = '25';
|
||||
$apps[$x]['menu'][4]['groups'][] = 'user';
|
||||
$apps[$x]['menu'][4]['groups'][] = 'admin';
|
||||
$apps[$x]['menu'][4]['groups'][] = 'superadmin';
|
||||
|
||||
$apps[$x]['menu'][5]['title']['en-us'] = 'Advanced';
|
||||
$apps[$x]['menu'][5]['title']['es-mx'] = '';
|
||||
$apps[$x]['menu'][5]['title']['de-de'] = '';
|
||||
$apps[$x]['menu'][5]['title']['de'] = '';
|
||||
$apps[$x]['menu'][5]['title']['de-ch'] = '';
|
||||
$apps[$x]['menu'][5]['title']['de-at'] = '';
|
||||
$apps[$x]['menu'][5]['title']['fr-fr'] = 'Avancé';
|
||||
@@ -117,62 +114,25 @@
|
||||
$apps[$x]['menu'][5]['uuid'] = '594d99c5-6128-9c88-ca35-4b33392cec0f';
|
||||
$apps[$x]['menu'][5]['parent_uuid'] = '';
|
||||
$apps[$x]['menu'][5]['category'] = 'internal';
|
||||
$apps[$x]['menu'][5]['path'] = '/core/domain_settings/domains.php';
|
||||
$apps[$x]['menu'][5]['path'] = '/app/exec/exec.php';
|
||||
$apps[$x]['menu'][5]['order'] = '30';
|
||||
$apps[$x]['menu'][5]['groups'][] = 'superadmin';
|
||||
|
||||
//permission details
|
||||
$y = 0;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_view';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_add';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_edit';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_delete';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_restore';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_item_view';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_item_add';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_item_edit';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_item_delete';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_item_group_view';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_item_group_add';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_item_group_edit';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_item_group_delete';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_language_view';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_language_add';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_language_edit';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'menu_language_delete';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$apps[$x]['permissions'][0]['name'] = 'menu_view';
|
||||
$apps[$x]['permissions'][0]['groups'][] = 'superadmin';
|
||||
|
||||
$apps[$x]['permissions'][1]['name'] = 'menu_add';
|
||||
$apps[$x]['permissions'][1]['groups'][] = 'superadmin';
|
||||
|
||||
$apps[$x]['permissions'][2]['name'] = 'menu_edit';
|
||||
$apps[$x]['permissions'][2]['groups'][] = 'superadmin';
|
||||
|
||||
$apps[$x]['permissions'][3]['name'] = 'menu_delete';
|
||||
$apps[$x]['permissions'][3]['groups'][] = 'superadmin';
|
||||
|
||||
$apps[$x]['permissions'][4]['name'] = 'menu_restore';
|
||||
$apps[$x]['permissions'][4]['groups'][] = 'superadmin';
|
||||
|
||||
//schema details
|
||||
$y = 0; //table array index
|
||||
@@ -321,7 +281,6 @@
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'group_name';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
||||
|
||||
|
||||
$y = 3; //table array index
|
||||
$z = 0; //field array index
|
||||
@@ -361,4 +320,4 @@
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user