From f46d53670ae518f1f9331cb59663c233fd84876c Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 16 Oct 2013 18:11:38 -0500 Subject: [PATCH] IDEMPIERE-1432 Drag and Drop Translation missing --- .../oracle/201310161811_IDEMPIERE-1432.sql | 11 +++++++++++ .../postgresql/201310161811_IDEMPIERE-1432.sql | 8 ++++++++ .../org/adempiere/webui/dashboard/DPFavourites.java | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 migration/i1.0c-release/oracle/201310161811_IDEMPIERE-1432.sql create mode 100644 migration/i1.0c-release/postgresql/201310161811_IDEMPIERE-1432.sql diff --git a/migration/i1.0c-release/oracle/201310161811_IDEMPIERE-1432.sql b/migration/i1.0c-release/oracle/201310161811_IDEMPIERE-1432.sql new file mode 100644 index 0000000000..396ad504c5 --- /dev/null +++ b/migration/i1.0c-release/oracle/201310161811_IDEMPIERE-1432.sql @@ -0,0 +1,11 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- 16/10/2013 06:08:38 PM COT +-- IDEMPIERE-1432 Drag and Drop Translation missing +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','(Drag and drop menu item here)',200236,'D','f78e351a-68f9-494d-abd2-421b3ffd4633','DropMenuItemHere','Y',TO_DATE('2013-10-16 18:08:36','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-10-16 18:08:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +SELECT register_migration_script('201310161811_IDEMPIERE-1432.sql') FROM dual +; + diff --git a/migration/i1.0c-release/postgresql/201310161811_IDEMPIERE-1432.sql b/migration/i1.0c-release/postgresql/201310161811_IDEMPIERE-1432.sql new file mode 100644 index 0000000000..71b4b5d3a8 --- /dev/null +++ b/migration/i1.0c-release/postgresql/201310161811_IDEMPIERE-1432.sql @@ -0,0 +1,8 @@ +-- 16/10/2013 06:08:38 PM COT +-- IDEMPIERE-1432 Drag and Drop Translation missing +INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','(Drag and drop menu item here)',200236,'D','f78e351a-68f9-494d-abd2-421b3ffd4633','DropMenuItemHere','Y',TO_TIMESTAMP('2013-10-16 18:08:36','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-10-16 18:08:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +SELECT register_migration_script('201310161811_IDEMPIERE-1432.sql') FROM dual +; + diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPFavourites.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPFavourites.java index 6b263c30a1..4dc7551224 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPFavourites.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPFavourites.java @@ -134,7 +134,7 @@ public class DPFavourites extends DashboardPanel implements EventListener } } - lblMsg = new Label("(Drag and drop menu item here)"); + lblMsg = new Label(Msg.getMsg(Env.getCtx(), "DropMenuItemHere")); if(bxFav.getChildren().isEmpty()) bxFav.appendChild(lblMsg); }