You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by na...@apache.org on 2023/02/06 20:48:29 UTC

[hop] 01/01: Fix translation issues in "replace in string" transform #2240

This is an automated email from the ASF dual-hosted git repository.

nadment pushed a commit to branch 2240
in repository https://gitbox.apache.org/repos/asf/hop.git

commit b9f6ff60c0fe59c715e3ce4f207f91ebd08f9a5e
Author: Nicolas Adment <39...@users.noreply.github.com>
AuthorDate: Mon Feb 6 21:48:01 2023 +0100

    Fix translation issues in "replace in string" transform #2240
---
 .../transforms/replacestring/ReplaceStringDialog.java    | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/plugins/transforms/replacestring/src/main/java/org/apache/hop/pipeline/transforms/replacestring/ReplaceStringDialog.java b/plugins/transforms/replacestring/src/main/java/org/apache/hop/pipeline/transforms/replacestring/ReplaceStringDialog.java
index c83934ef60..8b927e6c43 100644
--- a/plugins/transforms/replacestring/src/main/java/org/apache/hop/pipeline/transforms/replacestring/ReplaceStringDialog.java
+++ b/plugins/transforms/replacestring/src/main/java/org/apache/hop/pipeline/transforms/replacestring/ReplaceStringDialog.java
@@ -149,8 +149,8 @@ public class ReplaceStringDialog extends BaseTransformDialog implements ITransfo
         new ColumnInfo(
             BaseMessages.getString(PKG, "ReplaceStringDialog.ColumnInfo.useRegEx"),
             ColumnInfo.COLUMN_TYPE_CCOMBO,
-            BaseMessages.getString(PKG, "System.Combo.YES"),
-            BaseMessages.getString(PKG, "System.Combo.NO"));
+            BaseMessages.getString(PKG, "System.Combo.Yes"),
+            BaseMessages.getString(PKG, "System.Combo.No"));
     ciKey[3] =
         new ColumnInfo(
             BaseMessages.getString(PKG, "ReplaceStringDialog.ColumnInfo.Replace"),
@@ -179,20 +179,20 @@ public class ReplaceStringDialog extends BaseTransformDialog implements ITransfo
         new ColumnInfo(
             BaseMessages.getString(PKG, "ReplaceStringDialog.ColumnInfo.WholeWord"),
             ColumnInfo.COLUMN_TYPE_CCOMBO,
-            BaseMessages.getString(PKG, "System.Combo.YES"),
-            BaseMessages.getString(PKG, "System.Combo.NO"));
+            BaseMessages.getString(PKG, "System.Combo.Yes"),
+            BaseMessages.getString(PKG, "System.Combo.No"));
     ciKey[8] =
         new ColumnInfo(
             BaseMessages.getString(PKG, "ReplaceStringDialog.ColumnInfo.CaseSensitive"),
             ColumnInfo.COLUMN_TYPE_CCOMBO,
-            BaseMessages.getString(PKG, "System.Combo.YES"),
-            BaseMessages.getString(PKG, "System.Combo.NO"));
+            BaseMessages.getString(PKG, "System.Combo.Yes"),
+            BaseMessages.getString(PKG, "System.Combo.No"));
     ciKey[9] =
         new ColumnInfo(
             BaseMessages.getString(PKG, "ReplaceStringDialog.ColumnInfo.IsUnicode"),
             ColumnInfo.COLUMN_TYPE_CCOMBO,
-            BaseMessages.getString(PKG, "System.Combo.YES"),
-            BaseMessages.getString(PKG, "System.Combo.NO"));
+            BaseMessages.getString(PKG, "System.Combo.Yes"),
+            BaseMessages.getString(PKG, "System.Combo.No"));
 
     ciKey[1].setToolTip(
         BaseMessages.getString(PKG, "ReplaceStringDialog.ColumnInfo.OutStreamField.Tooltip"));