You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2020/11/13 10:34:22 UTC
[incubator-hop] branch master updated: Fix hardcoded `Edit
condition` text on existing internalization key
`ConditionEditor.EditCondition.Label` (#378)
This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git
The following commit(s) were added to refs/heads/master by this push:
new 8c3738c Fix hardcoded `Edit condition` text on existing internalization key `ConditionEditor.EditCondition.Label` (#378)
8c3738c is described below
commit 8c3738c8f9204f4c2b225f12ed3d7f95d0cd1f8f
Author: Hiromu Hota <hi...@gmail.com>
AuthorDate: Fri Nov 13 02:34:12 2020 -0800
Fix hardcoded `Edit condition` text on existing internalization key `ConditionEditor.EditCondition.Label` (#378)
This is a port of pentaho/pentaho-kettle#5836
---
ui/src/main/java/org/apache/hop/ui/core/widget/ConditionEditor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/main/java/org/apache/hop/ui/core/widget/ConditionEditor.java b/ui/src/main/java/org/apache/hop/ui/core/widget/ConditionEditor.java
index 047eba8..bbb62cf 100644
--- a/ui/src/main/java/org/apache/hop/ui/core/widget/ConditionEditor.java
+++ b/ui/src/main/java/org/apache/hop/ui/core/widget/ConditionEditor.java
@@ -537,7 +537,7 @@ public class ConditionEditor extends Composite {
case AREA_SUBCONDITION:
mPop = new Menu( widget );
MenuItem miEdit = new MenuItem( mPop, SWT.CASCADE );
- miEdit.setText( "Edit condition" );
+ miEdit.setText( BaseMessages.getString( PKG, "ConditionEditor.EditCondition.Label" ) );
miEdit.addSelectionListener( new SelectionAdapter() {
@Override
public void widgetSelected( SelectionEvent e ) {