Prechádzať zdrojové kódy

Move the Login and Logout items in the menu to a location that is accessible to the translation server.

Mark Crane 10 rokov pred
rodič
commit
6b13c1c4b1
1 zmenil súbory, kde vykonal 36 pridanie a 0 odobranie
  1. 36 0
      core/menu/app_menu.php

+ 36 - 0
core/menu/app_menu.php

@@ -97,4 +97,40 @@ $apps[$x]['menu'][5]['path'] = "";
 $apps[$x]['menu'][5]['order'] = "30";
 $apps[$x]['menu'][5]['groups'][] = "superadmin";
 
+$apps[$x]['menu'][0]['title']['en-us'] = "Login";
+$apps[$x]['menu'][0]['title']['es-cl'] = "Ingresar";
+$apps[$x]['menu'][0]['title']['es-mx'] = "";
+$apps[$x]['menu'][0]['title']['de-de'] = "";
+$apps[$x]['menu'][0]['title']['de-ch'] = "";
+$apps[$x]['menu'][0]['title']['de-at'] = "";
+$apps[$x]['menu'][0]['title']['fr-fr'] = "Connexion";
+$apps[$x]['menu'][0]['title']['fr-ca'] = "";
+$apps[$x]['menu'][0]['title']['fr-ch'] = "";
+$apps[$x]['menu'][0]['title']['pt-pt'] = "Entrar";
+$apps[$x]['menu'][0]['title']['pt-br'] = "";
+$apps[$x]['menu'][0]['uuid'] = "c85bf816-b88d-40fa-8634-11b456928afa";
+$apps[$x]['menu'][0]['parent_uuid'] = "";
+$apps[$x]['menu'][0]['category'] = "internal";
+$apps[$x]['menu'][0]['path'] = "/login.php";
+$apps[$x]['menu'][0]['groups'][] = "public";
+$apps[$x]['menu'][0]['order'] = "99";
+
+$apps[$x]['menu'][1]['title']['en-us'] = 'Logout';
+$apps[$x]['menu'][1]['title']['es-mx'] = '';
+$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'] = '';
+$apps[$x]['menu'][1]['title']['fr-ca'] = '';
+$apps[$x]['menu'][1]['title']['fr-ch'] = '';
+$apps[$x]['menu'][1]['title']['pt-pt'] = 'Sair';
+$apps[$x]['menu'][1]['title']['pt-br'] = '';
+$apps[$x]['menu'][1]['uuid'] = '0d29e9f4-0c9b-9d8d-cd2d-454899dc9bc4';
+$apps[$x]['menu'][1]['parent_uuid'] = '02194288-6d56-6d3e-0b1a-d53a2bc10788';
+$apps[$x]['menu'][1]['category'] = 'internal';
+$apps[$x]['menu'][1]['path'] = '/logout.php';
+$apps[$x]['menu'][1]['groups'][] = 'user';
+$apps[$x]['menu'][1]['groups'][] = 'admin';
+$apps[$x]['menu'][1]['groups'][] = 'superadmin';
+
 ?>