From 9f3ab12923fc0c18a09369f13aa84528a6d7e027 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sat, 27 Apr 2019 14:15:23 +0200 Subject: [PATCH] IDEMPIERE-3957 Translation of infogeneralpanel - peer review --- migration/i6.2/oracle/201904271403_IDEMPIERE-3957.sql | 5 ++++- migration/i6.2/postgresql/201904271403_IDEMPIERE-3957.sql | 5 ++++- .../src/org/adempiere/webui/panel/InfoGeneralPanel.java | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/migration/i6.2/oracle/201904271403_IDEMPIERE-3957.sql b/migration/i6.2/oracle/201904271403_IDEMPIERE-3957.sql index 2975798e08..148696b5ab 100644 --- a/migration/i6.2/oracle/201904271403_IDEMPIERE-3957.sql +++ b/migration/i6.2/oracle/201904271403_IDEMPIERE-3957.sql @@ -3,6 +3,9 @@ SET DEFINE OFF -- CPH::ERP Comments: -- 26. apr. 2019 20.56.39 CEST -INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('E','No query columns found',0,0,'Y',TO_DATE('2019-04-26 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-04-26 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,200512,'No query columns found','C','6c8ad45a-43a1-4386-96e1-b3958844fd4a') +INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('E','No query columns found',0,0,'Y',TO_DATE('2019-04-26 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-04-26 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,200512,'NoQueryColumnsFound','C','6c8ad45a-43a1-4386-96e1-b3958844fd4a') +; + +SELECT register_migration_script('201904271403_IDEMPIERE-3957.sql') FROM dual ; diff --git a/migration/i6.2/postgresql/201904271403_IDEMPIERE-3957.sql b/migration/i6.2/postgresql/201904271403_IDEMPIERE-3957.sql index 04b34a2cda..a3108c2bb3 100644 --- a/migration/i6.2/postgresql/201904271403_IDEMPIERE-3957.sql +++ b/migration/i6.2/postgresql/201904271403_IDEMPIERE-3957.sql @@ -1,5 +1,8 @@ -- CPH::ERP Comments: -- 26. apr. 2019 20.56.39 CEST -INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('E','No query columns found',0,0,'Y',TO_TIMESTAMP('2019-04-26 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-04-26 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,200512,'No query columns found','C','6c8ad45a-43a1-4386-96e1-b3958844fd4a') +INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('E','No query columns found',0,0,'Y',TO_TIMESTAMP('2019-04-26 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-04-26 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,200512,'NoQueryColumnsFound','C','6c8ad45a-43a1-4386-96e1-b3958844fd4a') +; + +SELECT register_migration_script('201904271403_IDEMPIERE-3957.sql') FROM dual ; diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoGeneralPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoGeneralPanel.java index ccd141c0e6..60280942b4 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoGeneralPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoGeneralPanel.java @@ -415,7 +415,7 @@ public class InfoGeneralPanel extends InfoPanel implements EventListener // Miminum check if (m_queryColumns.size() == 0) { - FDialog.error(p_WindowNo, this, "Error", Msg.getMsg(Env.getCtx(),"No query columns found")); + FDialog.error(p_WindowNo, this, "Error", Msg.getMsg(Env.getCtx(),"NoQueryColumnsFound")); log.log(Level.SEVERE, "No query columns found"); return false; }