Skip to content

Commit

Permalink
Merge pull request #3366 from nadment/3220
Browse files Browse the repository at this point in the history
Fix some translations Configuration perspective > Plugins #3220
  • Loading branch information
hansva authored Nov 9, 2023
2 parents a603317 + f6d8724 commit d43a62f
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@

@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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
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 {

Expand All @@ -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")
Expand Down
Original file line number Diff line number Diff line change
@@ -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

Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d43a62f

Please sign in to comment.