From 782aece22c0254ba587b25bd9f49eff59782b46b Mon Sep 17 00:00:00 2001 From: Paula Quispe Date: Mon, 17 Jun 2019 11:11:57 -0400 Subject: [PATCH] PMC-849 --- .../translations/english/processmaker.en.po | 4 +-- workflow/engine/data/mysql/insert.sql | 2 +- workflow/engine/menus/processmaker.php | 27 ++----------------- 3 files changed, 5 insertions(+), 28 deletions(-) diff --git a/workflow/engine/content/translations/english/processmaker.en.po b/workflow/engine/content/translations/english/processmaker.en.po index 05fe609f5..edc9b4484 100644 --- a/workflow/engine/content/translations/english/processmaker.en.po +++ b/workflow/engine/content/translations/english/processmaker.en.po @@ -23660,8 +23660,8 @@ msgstr "Setting SUPER privilege" # TRANSLATION # LABEL/ID_SETUP #: LABEL/ID_SETUP -msgid "ADMIN" -msgstr "ADMIN" +msgid "Admin" +msgstr "Admin" # TRANSLATION # LABEL/ID_SETUP_MAILCONF_TITLE diff --git a/workflow/engine/data/mysql/insert.sql b/workflow/engine/data/mysql/insert.sql index 5a78ecbf5..e0f7d2f59 100644 --- a/workflow/engine/data/mysql/insert.sql +++ b/workflow/engine/data/mysql/insert.sql @@ -60832,7 +60832,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE ( 'LABEL','ID_SETTINGS_HEARTBEAT_TITLE','en','Display Setting','2014-01-15') , ( 'LABEL','ID_SETTING_MESSAGE','en','The Settings tool was clicked','2014-01-15') , ( 'LABEL','ID_SETTING_SUPER','en','Setting SUPER privilege','2014-01-28') , -( 'LABEL','ID_SETUP','en','ADMIN','2014-01-15') , +( 'LABEL','ID_SETUP','en','Admin','2014-01-15') , ( 'LABEL','ID_SETUP_MAILCONF_TITLE','en','Test SMTP Connection','2014-01-15') , ( 'LABEL','ID_SETUP_WEBSERVICES','en','Setup','2014-01-15') , ( 'LABEL','ID_SET_A_TABLE_NAME','en','Set a Table Name','2014-01-15') , diff --git a/workflow/engine/menus/processmaker.php b/workflow/engine/menus/processmaker.php index 95e40e09f..dc37285f0 100644 --- a/workflow/engine/menus/processmaker.php +++ b/workflow/engine/menus/processmaker.php @@ -2,32 +2,9 @@ /** * processmaker.php * - * ProcessMaker Open Source Edition - * Copyright (C) 2004 - 2008 Colosa Inc.23 - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * + * ProcessMaker main menu */ - -/************************************* - * ---= Processmaker main menu=--- - *************************************/ - global $G_TMP_MENU; global $RBAC; @@ -57,7 +34,7 @@ if ($RBAC->userCanAccess('PM_DASHBOARD') == 1) { // ADMIN MODULE if ($RBAC->userCanAccess('PM_SETUP') == 1 || $RBAC->userCanAccess('PM_USERS') == 1) { - $G_TMP_MENU->AddIdRawOption('SETUP', 'setup/main', strtolower(G::LoadTranslation('ID_SETUP')), '', '', '', 'x-pm-setup'); + $G_TMP_MENU->AddIdRawOption('SETUP', 'setup/main', G::LoadTranslation('ID_SETUP'), '', '', '', 'x-pm-setup'); }