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 73369fda7b fix #2998 Fix last missing italian translations in
configuration perspective
new 7d2f68bb63 Merge pull request #3053 from sramazzina/2998
73369fda7b is described below
commit 73369fda7bda8d8aae280cc66971df4fa8ab400e
Author: sramazzina <[email protected]>
AuthorDate: Mon Jul 3 21:42:46 2023 +0200
fix #2998 Fix last missing italian translations in configuration perspective
---
.../hop/vfs/azure/config/AzureConfigPlugin.java | 21 +++++++++++++++------
.../hop/vfs/gs/config/GoogleCloudConfigPlugin.java | 4 ++--
.../config/ExplorerPerspectiveConfigPlugin.java | 6 ++++--
.../explorer/messages/messages_en_US.properties | 4 ++--
.../explorer/messages/messages_it_IT.properties | 21 ++++++++++++++++-----
5 files changed, 39 insertions(+), 17 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 f163754670..9e54c7443b 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
@@ -54,7 +54,8 @@ public class AzureConfigPlugin implements IConfigOptions,
IGuiPluginCompositeWid
parentId = ConfigPluginOptionsTab.GUI_WIDGETS_PARENT_ID,
type = GuiElementType.TEXT,
variables = true,
- label = "Your Azure account")
+ label = "i18n::AzureVFS.Account.Label",
+ toolTip = "i18n::AzureVFS.Account.Description")
@CommandLine.Option(
names = {"-aza", "--azure-account"},
description = "The account to use for the Azure VFS")
@@ -66,7 +67,8 @@ public class AzureConfigPlugin implements IConfigOptions,
IGuiPluginCompositeWid
type = GuiElementType.TEXT,
variables = true,
password = true,
- label = "Your Azure key")
+ label = "i18n::AzureVFS.AccountKey.Label",
+ toolTip = "i18n::AzureVFS.AccountKey.Description")
@CommandLine.Option(
names = {"-azk", "--azure-key"},
description = "The key to use for the Azure VFS")
@@ -77,7 +79,8 @@ public class AzureConfigPlugin implements IConfigOptions,
IGuiPluginCompositeWid
parentId = ConfigPluginOptionsTab.GUI_WIDGETS_PARENT_ID,
type = GuiElementType.TEXT,
variables = true,
- label = "File block increment size (multiples of 512 only)")
+ label = "i18n::AzureVFS.FileBlockSize.Label",
+ toolTip = "i18n::AzureVFS.FileBlockSize.Description")
@CommandLine.Option(
names = {"-azi", "--azure-block-increment"},
description = "The block increment size for new files on Azure,
multiples of 512 only.")
@@ -184,7 +187,9 @@ public class AzureConfigPlugin implements IConfigOptions,
IGuiPluginCompositeWid
return account;
}
- /** @param account The account to set */
+ /**
+ * @param account The account to set
+ */
public void setAccount(String account) {
this.account = account;
}
@@ -198,7 +203,9 @@ public class AzureConfigPlugin implements IConfigOptions,
IGuiPluginCompositeWid
return key;
}
- /** @param key The key to set */
+ /**
+ * @param key The key to set
+ */
public void setKey(String key) {
this.key = key;
}
@@ -212,7 +219,9 @@ public class AzureConfigPlugin implements IConfigOptions,
IGuiPluginCompositeWid
return blockIncrement;
}
- /** @param blockIncrement The blockIncrement to set */
+ /**
+ * @param blockIncrement The blockIncrement to set
+ */
public void setBlockIncrement(String blockIncrement) {
this.blockIncrement = blockIncrement;
}
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 e65d9c5b3c..25f349d6c1 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
@@ -53,9 +53,9 @@ public class GoogleCloudConfigPlugin implements
IConfigOptions, IGuiPluginCompos
parentId = ConfigPluginOptionsTab.GUI_WIDGETS_PARENT_ID,
type = GuiElementType.FILENAME,
variables = true,
- label = "Path to a Google Cloud service account JSON key file",
+ label = "i18n::GoogleCloudPlugin.ConfigPlugin.Description",
toolTip =
- "Go to the Google Cloud console to create a key file for the service
account you want to use")
+ "i18n::GoogleCloudPlugin.ConfigPlugin.Tooltip")
@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/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/config/ExplorerPerspectiveConfigPlugin.java
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/config/ExplorerPerspectiveConfigPlugin.java
index 344412e269..7b8c271f57 100644
---
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/config/ExplorerPerspectiveConfigPlugin.java
+++
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/config/ExplorerPerspectiveConfigPlugin.java
@@ -53,7 +53,8 @@ public class ExplorerPerspectiveConfigPlugin
parentId = ConfigPluginOptionsTab.GUI_WIDGETS_PARENT_ID,
type = GuiElementType.TEXT,
variables = true,
- label = "Lazy loading maximum initial depth")
+ label = "i18n::ExplorerPerspectiveConfig.LazyLoading.Label",
+ toolTip = "i18n::ExplorerPerspectiveConfig.LazyLoading.Tooltip")
@CommandLine.Option(
names = {"-exid", "--explorer-lazy-loading-initial-depth"},
description = "For the explorer perspective: the initial depth to load
not lazily")
@@ -64,7 +65,8 @@ public class ExplorerPerspectiveConfigPlugin
parentId = ConfigPluginOptionsTab.GUI_WIDGETS_PARENT_ID,
type = GuiElementType.TEXT,
variables = true,
- label = "The maximum file size to load (in MB)")
+ label = "i18n::ExplorerPerspectiveConfig.FileSize.Label",
+ toolTip = "i18n::ExplorerPerspectiveConfig.FileSize.Tooltip")
@CommandLine.Option(
names = {"-exms", "--explorer-file-loading-max-size"},
description = "For the explorer: the maximum file size to load")
diff --git
a/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/explorer/messages/messages_en_US.properties
b/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/explorer/messages/messages_en_US.properties
index 2c4522ce1b..d6c0671c08 100644
---
a/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/explorer/messages/messages_en_US.properties
+++
b/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/explorer/messages/messages_en_US.properties
@@ -16,7 +16,7 @@
#
ExplorerPerspective.Name=File Explorer
-ExplorerPerspective.Description=The Hop Explorer Perspective
+ExplorerPerspective.Description=Hop Explorer Perspective
ExplorerPerspective.GuiPlugin.Description=A file explorer for your current
project
ExplorerPerspective.Error.RootFolder.Header=Error
ExplorerPerspective.Error.RootFolder.Message=Error getting root folder/name of
explorer perspective
@@ -38,4 +38,4 @@ ExplorerPerspective.Error.RenameFile.Message=Error renaming
file
ExplorerPerspective.CreateFolder.Header=Create directory
ExplorerPerspective.CreateFolder.Message=Please enter name of the folder to
create in: ''{0}''
ExplorerPerspective.Error.CreateFolder.Header=Error
-ExplorerPerspective.Error.CreateFolder.Message=Error creating folder: ''{0}''
\ No newline at end of file
+ExplorerPerspective.Error.CreateFolder.Message=Error creating folder: ''{0}''
diff --git
a/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/explorer/messages/messages_it_IT.properties
b/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/explorer/messages/messages_it_IT.properties
index ce67574782..0b8fc84e86 100644
---
a/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/explorer/messages/messages_it_IT.properties
+++
b/ui/src/main/resources/org/apache/hop/ui/hopgui/perspective/explorer/messages/messages_it_IT.properties
@@ -17,17 +17,28 @@
#
#
#
-ExplorerPerspective.Name=Files
-ExplorerPerspective.Description=The Hop Explorer Perspective
-ExplorerPerspective.GuiPlugin.Description=Un file explorer per il tuo progetto
+ExplorerPerspective.Name=File Explorer
+ExplorerPerspective.Description=Hop Explorer Perspective
+ExplorerPerspective.GuiPlugin.Description=Esplora i files del tuo progetto
ExplorerPerspective.Error.RootFolder.Header=Errore
ExplorerPerspective.Error.RootFolder.Message=Si \u00E8 verificato un errore
recuperando il nome della cartella/root della explorer perspective
ExplorerPerspective.Error.OpenFile.Header=Errore
-ExplorerPerspective.Error.OpenFile.Message=Si \u00E8 verificato un errore
aprendo il file
+ExplorerPerspective.Error.OpenFile.Message=Si \u00E8 verificato un errore
durane l''apertura del file
ExplorerPerspective.Error.TreeRefresh.Header=Errore
ExplorerPerspective.Error.TreeRefresh.Message=Si \u00E8 verificato un errore
aggiornando l''albero del file explorer
ExplorerPerspective.DeleteFile.Confirmation.Header=Cancello il file?
ExplorerPerspective.DeleteFile.Confirmation.Message=Sei sicuro di volere
cancellare il file?
ExplorerPerspective.ToolbarElement.Open.Tooltip=Apri il file selezionato
ExplorerPerspective.ToolbarElement.Delete.Tooltip=Cancella il file selezionato
-ExplorerPerspective.ToolbarElement.Refresh.Tooltip=Aggiorna
\ No newline at end of file
+ExplorerPerspective.ToolbarElement.Refresh.Tooltip=Aggiorna
+ExplorerPerspective.ToolbarElement.Rename.Tooltip=Rinomina il file selezionato
+ExplorerPerspective.ToolbarElement.CreateFolder.Tooltip=Crea un folder
+ExplorerPerspective.Error.RenameFile.Message=Si \u00E8 verificato un errore
rinominando il file
+ExplorerPerspective.Error.RenameFile.Header=Errore
+ExplorerPerspective.Error.DeleteFile.Message=Si \u00E8 verificato un errore
durante l''apertura del file
+ExplorerPerspective.Error.DeleteFile.Header=Errore
+ExplorerPerspective.Error.CreateFolder.Message=Si \u00E8 verificato un errore
durante la creazione della cartella: ''{0}''
+ExplorerPerspective.Error.CreateFolder.Header=Errore
+ExplorerPerspective.CreateFolder.Message=Immetti il nome del file a creare in:
''{0}''
+ExplorerPerspective.CreateFolder.Header=Crea cartella
+