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 2022/03/14 12:42:02 UTC

[hop] branch master updated: Fixed wrong label text for log file update interval in RepeatDialog

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/hop.git


The following commit(s) were added to refs/heads/master by this push:
     new e96dbb0  Fixed wrong label text for log file update interval in RepeatDialog
     new 8af959e  Merge pull request #1421 from shlxue/ui
e96dbb0 is described below

commit e96dbb0b747022ef0d031b31ca34442f41fbda9f
Author: Shl Xue <xu...@gmail.com>
AuthorDate: Mon Mar 14 12:22:28 2022 +0800

    Fixed wrong label text for log file update interval in RepeatDialog
---
 .../java/org/apache/hop/workflow/actions/repeat/RepeatDialog.java     | 4 ++--
 .../hop/workflow/actions/repeat/messages/messages_en_US.properties    | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/plugins/actions/repeat/src/main/java/org/apache/hop/workflow/actions/repeat/RepeatDialog.java b/plugins/actions/repeat/src/main/java/org/apache/hop/workflow/actions/repeat/RepeatDialog.java
index 2f04c2c..d2bb084 100644
--- a/plugins/actions/repeat/src/main/java/org/apache/hop/workflow/actions/repeat/RepeatDialog.java
+++ b/plugins/actions/repeat/src/main/java/org/apache/hop/workflow/actions/repeat/RepeatDialog.java
@@ -362,7 +362,7 @@ public class RepeatDialog extends ActionDialog implements IActionDialog {
     lastLogControl = wlLogFileRepetitionAdded;
 
     wlLogFileAppended = new Label(wLogFileGroup, SWT.RIGHT);
-    wlLogFileAppended.setText("Append to any existing log file? ");
+    wlLogFileAppended.setText(BaseMessages.getString(PKG, "Repeat.AppendToExistingFile.Label"));
     props.setLook(wlLogFileAppended);
     FormData fdlLogFileAppended = new FormData();
     fdlLogFileAppended.left = new FormAttachment(0, 0);
@@ -379,7 +379,7 @@ public class RepeatDialog extends ActionDialog implements IActionDialog {
     lastLogControl = wlLogFileAppended;
 
     wlLogFileUpdateInterval = new Label(wLogFileGroup, SWT.RIGHT);
-    wlLogFileUpdateInterval.setText(BaseMessages.getString(PKG, "Repeat.AppendToExistingFile.Label"));
+    wlLogFileUpdateInterval.setText(BaseMessages.getString(PKG, "Repeat.LogFileUpdateInterval.Label"));
     props.setLook(wlLogFileUpdateInterval);
     FormData fdlLogFileUpdateInterval = new FormData();
     fdlLogFileUpdateInterval.left = new FormAttachment(0, 0);
diff --git a/plugins/actions/repeat/src/main/resources/org/apache/hop/workflow/actions/repeat/messages/messages_en_US.properties b/plugins/actions/repeat/src/main/resources/org/apache/hop/workflow/actions/repeat/messages/messages_en_US.properties
index 607c50f..7702402 100644
--- a/plugins/actions/repeat/src/main/resources/org/apache/hop/workflow/actions/repeat/messages/messages_en_US.properties
+++ b/plugins/actions/repeat/src/main/resources/org/apache/hop/workflow/actions/repeat/messages/messages_en_US.properties
@@ -39,6 +39,7 @@ Repeat.AddDateToFilename.Label=Add date to filename?
 Repeat.AddTimeToFilename.Label=Add time to filename? 
 Repeat.AddReptNumToFilename.Label=Add repetition number to filename? 
 Repeat.AppendToExistingFile.Label=Append to any existing log file? 
+Repeat.LogFileUpdateInterval.Label=Log file update interval?
 Repeat.ParmsVarGroup.Label=Parameters/Variables to set: 
 Repeat.ParmsVarGroup.Name.Column.Header=Name
 Repeat.ParmsVarGroup.Value.Column.Header=Value