IDEMPIERE-4024 cpherp missing part of help suggestion translation

This commit is contained in:
sjeffen 2019-08-12 08:44:49 +02:00
parent fa73cc1fd3
commit 9e6b18bcc6
4 changed files with 30 additions and 3 deletions

View File

@ -0,0 +1,15 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Comments: Help suggestion IDEMPIERE-4024
-- 12. aug. 2019 08.41.41 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 ('I','Your changes have been saved',0,0,'Y',TO_DATE('2019-08-12 08:41:41','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-08-12 08:41:41','YYYY-MM-DD HH24:MI:SS'),100,200535,'Your changes have been saved','D','626593d4-d1eb-41d8-bdc6-1f65f186aea6')
;
-- 12. aug. 2019 08.42.09 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 ('I','Your suggestions have been submitted for review',0,0,'Y',TO_DATE('2019-08-12 08:42:08','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-08-12 08:42:08','YYYY-MM-DD HH24:MI:SS'),100,200536,'Your suggestions have been submitted for review','D','f0808e07-6b87-4f7d-9b27-bd73ed66046a')
;
SELECT register_migration_script('201908141837_IDEMPIERE-4024.sql') FROM dual
;

View File

@ -0,0 +1,12 @@
-- Comments: Help suggestion IDEMPIERE-4024
-- 12. aug. 2019 08.41.41 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 ('I','Your changes have been saved',0,0,'Y',TO_TIMESTAMP('2019-08-12 08:41:41','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-08-12 08:41:41','YYYY-MM-DD HH24:MI:SS'),100,200535,'Your changes have been saved','D','626593d4-d1eb-41d8-bdc6-1f65f186aea6')
;
-- 12. aug. 2019 08.42.09 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 ('I','Your suggestions have been submitted for review',0,0,'Y',TO_TIMESTAMP('2019-08-12 08:42:08','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-08-12 08:42:08','YYYY-MM-DD HH24:MI:SS'),100,200536,'Your suggestions have been submitted for review','D','f0808e07-6b87-4f7d-9b27-bd73ed66046a')
;
SELECT register_migration_script('201908141837_IDEMPIERE-4024.sql') FROM dual
;

View File

@ -175,9 +175,9 @@ public class WCtxHelpSuggestion extends Window implements EventListener<Event> {
onSave0(trx);
trx.commit(true);
if (ctxHelpMsg != null && ctxHelpMsg.getAD_Client_ID() == Env.getAD_Client_ID(Env.getCtx())) {
FDialog.info(0, this, "Your changes have been saved.");
FDialog.info(0, this, Msg.getMsg(Env.getCtx(), "Your changes have been saved."));
} else {
FDialog.info(0, this, "Your suggestions have been submitted for review");
FDialog.info(0, this, Msg.getMsg(Env.getCtx(),"Your suggestions have been submitted for review"));
}
} catch (Exception e) {
trx.rollback();

View File

@ -153,7 +153,7 @@ public class WFieldSuggestion extends Window implements EventListener<Event> {
suggestion.setProcessed(false);
suggestion.saveEx();
FDialog.info(0, this, "Your suggestions have been submitted for review");
FDialog.info(0, this, Msg.getMsg(Env.getCtx(),"Your suggestions have been submitted for review"));
this.detach();
}
}