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 f6d87247c3 Fix some translations Configuration perspective > Plugins 
#3220
     new d43a62f10c Merge pull request #3366 from nadment/3220
f6d87247c3 is described below

commit f6d87247c3e5b3e9dd048e615e34db21948b6e76
Author: Nicolas Adment <[email protected]>
AuthorDate: Thu Nov 9 11:58:31 2023 +0100

    Fix some translations Configuration perspective > Plugins #3220
---
 .../hop/vfs/azure/config/AzureConfigPlugin.java    |  4 ++--
 .../config/messages/messages_en_US.properties      | 28 ++++++++++++++++++++++
 .../hop/vfs/gs/config/GoogleCloudConfigPlugin.java |  6 ++---
 .../gs/config/messages/messages_en_US.properties   | 22 +++++++++++++++++
 .../config/messages/messages_en_US.properties      | 21 ++++++++++++++++
 5 files changed, 76 insertions(+), 5 deletions(-)

diff --git 
a/plugins/tech/azure/src/main/java/org/apache/hop/vfs/azure/config/AzureConfigPlugin.java
 
b/plugins/tech/azure/src/main/java/org/apache/hop/vfs/azure/config/AzureConfigPlugin.java
index 9e54c7443b..51c771ec93 100644
--- 
a/plugins/tech/azure/src/main/java/org/apache/hop/vfs/azure/config/AzureConfigPlugin.java
+++ 
b/plugins/tech/azure/src/main/java/org/apache/hop/vfs/azure/config/AzureConfigPlugin.java
@@ -38,10 +38,10 @@ import picocli.CommandLine;
 
 @ConfigPlugin(
     id = "AzureConfigPlugin",
-    description = "Configuration options for Azure",
+    description = "i18n::AzureConfig.ConfigPlugin.Description",
     category = ConfigPlugin.CATEGORY_CONFIG)
 @GuiPlugin(
-    description = "Azure" // Tab label in options dialog
+    description = "i18n::Azure.GuiPlugin.Description" // Tab label in options 
dialog
     )
 public class AzureConfigPlugin implements IConfigOptions, 
IGuiPluginCompositeWidgetsListener {
 
diff --git 
a/plugins/tech/azure/src/main/resources/org/apache/hop/vfs/azure/config/messages/messages_en_US.properties
 
b/plugins/tech/azure/src/main/resources/org/apache/hop/vfs/azure/config/messages/messages_en_US.properties
new file mode 100644
index 0000000000..022653f5a7
--- /dev/null
+++ 
b/plugins/tech/azure/src/main/resources/org/apache/hop/vfs/azure/config/messages/messages_en_US.properties
@@ -0,0 +1,28 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+AzureConfig.ConfigPlugin.Description=Configuration options for Microsoft Azure
+Azure.GuiPlugin.Description=Microsoft Azure
+
+AzureVFS.Account.Label=Account
+AzureVFS.Account.Description=The account to use for the Azure VFS
+AzureVFS.AccountKey.Label=Account key
+AzureVFS.AccountKey.Description=The key to use for the Azure VFS
+AzureVFS.FileBlockSize.Label=File block size
+AzureVFS.FileBlockSize.Description=The block increment size for new files on 
Azure, multiples of 512 only
\ No newline at end of file
diff --git 
a/plugins/tech/google/src/main/java/org/apache/hop/vfs/gs/config/GoogleCloudConfigPlugin.java
 
b/plugins/tech/google/src/main/java/org/apache/hop/vfs/gs/config/GoogleCloudConfigPlugin.java
index 25f349d6c1..8565bdfd6b 100644
--- 
a/plugins/tech/google/src/main/java/org/apache/hop/vfs/gs/config/GoogleCloudConfigPlugin.java
+++ 
b/plugins/tech/google/src/main/java/org/apache/hop/vfs/gs/config/GoogleCloudConfigPlugin.java
@@ -41,7 +41,7 @@ import picocli.CommandLine;
     description = "Configuration options for Google Cloud",
     category = ConfigPlugin.CATEGORY_CONFIG)
 @GuiPlugin(
-    description = "Google Cloud" // Tab label in options dialog
+    description = "i18n::GoogleCloudPlugin.GuiPlugin.Description" // Tab label 
in options dialog
     )
 public class GoogleCloudConfigPlugin implements IConfigOptions, 
IGuiPluginCompositeWidgetsListener {
 
@@ -53,9 +53,9 @@ public class GoogleCloudConfigPlugin implements 
IConfigOptions, IGuiPluginCompos
       parentId = ConfigPluginOptionsTab.GUI_WIDGETS_PARENT_ID,
       type = GuiElementType.FILENAME,
       variables = true,
-      label = "i18n::GoogleCloudPlugin.ConfigPlugin.Description",
+      label = "i18n::GoogleCloudPlugin.AccountKeyFile.Label",
       toolTip =
-          "i18n::GoogleCloudPlugin.ConfigPlugin.Tooltip")
+          "i18n::GoogleCloudPlugin.AccountKeyFile.Description")
   @CommandLine.Option(
       names = {"-gck", "--google-cloud-service-account-key-file"},
       description = "Configure the path to a Google Cloud service account JSON 
key file")
diff --git 
a/plugins/tech/google/src/main/resources/org/apache/hop/vfs/gs/config/messages/messages_en_US.properties
 
b/plugins/tech/google/src/main/resources/org/apache/hop/vfs/gs/config/messages/messages_en_US.properties
new file mode 100644
index 0000000000..81c08c577c
--- /dev/null
+++ 
b/plugins/tech/google/src/main/resources/org/apache/hop/vfs/gs/config/messages/messages_en_US.properties
@@ -0,0 +1,22 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+GoogleCloudPlugin.GuiPlugin.Description=Google Cloud
+GoogleCloudPlugin.AccountKeyFile.Label=Account key file
+GoogleCloudPlugin.AccountKeyFile.Description=The path to a Google Cloud 
service account JSON key file
+
diff --git 
a/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/explorer/config/messages/messages_en_US.properties
 
b/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/explorer/config/messages/messages_en_US.properties
new file mode 100644
index 0000000000..a863981548
--- /dev/null
+++ 
b/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/explorer/config/messages/messages_en_US.properties
@@ -0,0 +1,21 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+ExplorerPerspectiveConfig.LazyLoading.Label=The initial depth to load not 
lazily
+ExplorerPerspectiveConfig.LazyLoading.Tooltip=The initial depth to load not 
lazily
+ExplorerPerspectiveConfig.FileSize.Label=The maximum file size to load
+ExplorerPerspectiveConfig.FileSize.Tooltip=The maximum file size to load
\ No newline at end of file

Reply via email to