From bdc562049a48ebd1df01b44fbac2e66dc378799e Mon Sep 17 00:00:00 2001 From: Eddie Martinez Date: Wed, 27 Dec 2023 11:48:20 -0500 Subject: [PATCH] [BACKLOG-39432] Add the option to choose traditional Chinese language in PDI and PUC --- .../messages_supported_languages.properties | 1 + .../services/messages/messages_cn.properties | 67 +++++++++++-------- .../config_supported_languages.properties | 1 + .../messages_supported_languages.properties | 1 + 4 files changed, 43 insertions(+), 27 deletions(-) diff --git a/assemblies/pentaho-solutions/src/main/resources/pentaho-solutions/system/default-plugin/resources/messages/messages_supported_languages.properties b/assemblies/pentaho-solutions/src/main/resources/pentaho-solutions/system/default-plugin/resources/messages/messages_supported_languages.properties index 6e7fe6b69eb..8704771f460 100644 --- a/assemblies/pentaho-solutions/src/main/resources/pentaho-solutions/system/default-plugin/resources/messages/messages_supported_languages.properties +++ b/assemblies/pentaho-solutions/src/main/resources/pentaho-solutions/system/default-plugin/resources/messages/messages_supported_languages.properties @@ -11,3 +11,4 @@ de=Deutsch ja=\u65E5\u672C\u8A9E en=English zh_CN=\u7b80\u4f53\u4e2d\u6587 +CN=\u7E41\u4F53\u4E2D\u6587 diff --git a/extensions/src/main/resources/org/pentaho/platform/plugin/services/messages/messages_cn.properties b/extensions/src/main/resources/org/pentaho/platform/plugin/services/messages/messages_cn.properties index 027f89307e2..845e6eae828 100644 --- a/extensions/src/main/resources/org/pentaho/platform/plugin/services/messages/messages_cn.properties +++ b/extensions/src/main/resources/org/pentaho/platform/plugin/services/messages/messages_cn.properties @@ -205,33 +205,46 @@ CommandLineProcessor.INFO_EXPORT_WRITTEN_TO=\u532f\u51fa\u5df2\u5beb\u5165\uff1a CommandLineProcessor.INFO_RESPONSE_STATUS=\u56de\u61c9\u72c0\u614b\uff1a{0} CommandLineProcessor.INFO_PRINTHELP_CMDLINE=importexport CommandLineProcessor.INFO_PRINTHELP_HEADER=\u7d71\u4e00\u5b58\u653e\u5eab\u547d\u4ee4\u5217\u532f\u5165/\u532f\u51fa\u5de5\u5177 -CommandLineProcessor.INFO_PRINTHELP_FOOTER=\u9069\u7528\u65bc\u532f\u5165\u7684\u5e38\u898b\u9078\u9805 ---import --url=http://localhost:8080/pentaho --username=admin ---password=password --charset=UTF-8 --path=/public ---file-path=c:/temp/steel-wheels.zip ---logfile=c:/temp/logfile.log ---permission=True ---overwrite=True ---retainOwnership=True ---import --url=http://localhost:8080/pentaho ---username=admin --password=password ---file-path=metadata.xmi --resource-type=DATASOURCE ---datasource-type=METADATA --overwrite=true ---metadata-domain-id=steel-wheels ---import --url=http://localhost:8080/pentaho ---username=admin --password=password ---file-path=analysis/steelwheels.mondrian.xml --resource-type=DATASOURCE ---datasource-type=ANALYSIS --overwrite=true ---analysis-datasource=steelwheels ---export --url=http://localhost:8080/pentaho --username=admin --password=password ---file-path=c:/temp/export.zip --charset=UTF-8 --path=/public/steel-wheels ---backup --url=http://localhost:8080/pentaho --username=admin --password=password ---file-path=c:/temp/export.zip --logfile=c:/temp/logfile.log ---restore --url=http://localhost:8080/pentaho --username=admin --password=password ---overwrite=true --file-path=c:/temp/export.zip --logfile=c:/temp/logfile.log ---rest --url=http://localhost:8080/pentaho --username=admin --password=password ---path=/public/pentaho-solutions/steel-wheels/reports ---logfile=c:/temp/logfile.log --service=acl +CommandLineProcessor.INFO_PRINTHELP_FOOTER=\u9069\u7528\u65bc\u532f\u5165\u7684\u5e38\u898b\u9078\u9805\n\ + Example arguments for import:\n\ +--import --url=http://localhost:8080/pentaho --username=admin\n\ +--password=password --charset=UTF-8 --path=/public\n\ +--file-path=c:/temp/steel-wheels.zip\n\ +--logfile=c:/temp/logfile.log\n\ +--permission=true\n\ +--overwrite=true\n\ +--retainOwnership=true\n\n\ +\n\n\ +Example arguments for import metadata datasource:\n\ +--import --url=http://localhost:8080/pentaho\n\ +--username=admin --password=password\n\ +--file-path=metadata.xmi --resource-type=DATASOURCE\n\ +--datasource-type=METADATA --overwrite=true\n\ +--metadata-domain-id=steel-wheels\n\n\ +\n\n\ +Example arguments for import analysis datasource:\n\ +--import --url=http://localhost:8080/pentaho\n\ +--username=admin --password=password\n\ +--file-path=analysis/steelwheels.mondrian.xml --resource-type=DATASOURCE\n\ +--datasource-type=ANALYSIS --overwrite=true\n\ +--analysis-datasource=steelwheels\n\n\ +\n\n\ +Example arguments for export:\n\ +--export --url=http://localhost:8080/pentaho --username=admin --password=password \n\ +--file-path=c:/temp/export.zip --charset=UTF-8 --path=/public/steel-wheels\n --withManifest=true --logfile=c:/temp/logfile.log\n\ +\n\n\ +Example arguments for backup:\n\ +--backup --url=http://localhost:8080/pentaho --username=admin --password=password \n\ +--file-path=c:/temp/export.zip --logfile=c:/temp/logfile.log\n\ + \n\n\ +Example arguments for restore:\n\ +--restore --url=http://localhost:8080/pentaho --username=admin --password=password \n\ +--overwrite=true --file-path=c:/temp/export.zip --logfile=c:/temp/logfile.log\n\ +Example arguments for running REST services:\n\ +--rest --url=http://localhost:8080/pentaho --username=admin --password=password \n\ + --path=/public/pentaho-solutions/steel-wheels/reports\n\ + --logfile=c:/temp/logfile.log --service=acl\n + CommandLineProcessor.INFO_OPTION_RESOURCE_TYPE_DESCRIPTION=\u532f\u5165\u8cc7\u6e90\u985e\u578b (\u4f8b\u5982\u8cc7\u6599\u4f86\u6e90) CommandLineProcessor.INFO_OPTION_DATASOURCE_TYPE_DESCRIPTION=\u8cc7\u6599\u4f86\u6e90\u985e\u578b CommandLineProcessor.INFO_OPTION_ANALYSIS_CATALOG_DESCRIPTION=\u76ee\u9304\u63cf\u8ff0 diff --git a/user-console/src/main/resources/org/pentaho/mantle/public/home/properties/config_supported_languages.properties b/user-console/src/main/resources/org/pentaho/mantle/public/home/properties/config_supported_languages.properties index 6e7fe6b69eb..8704771f460 100644 --- a/user-console/src/main/resources/org/pentaho/mantle/public/home/properties/config_supported_languages.properties +++ b/user-console/src/main/resources/org/pentaho/mantle/public/home/properties/config_supported_languages.properties @@ -11,3 +11,4 @@ de=Deutsch ja=\u65E5\u672C\u8A9E en=English zh_CN=\u7b80\u4f53\u4e2d\u6587 +CN=\u7E41\u4F53\u4E2D\u6587 diff --git a/user-console/src/main/resources/org/pentaho/mantle/public/home/properties/messages_supported_languages.properties b/user-console/src/main/resources/org/pentaho/mantle/public/home/properties/messages_supported_languages.properties index 6e7fe6b69eb..1ed5b59fd3a 100644 --- a/user-console/src/main/resources/org/pentaho/mantle/public/home/properties/messages_supported_languages.properties +++ b/user-console/src/main/resources/org/pentaho/mantle/public/home/properties/messages_supported_languages.properties @@ -11,3 +11,4 @@ de=Deutsch ja=\u65E5\u672C\u8A9E en=English zh_CN=\u7b80\u4f53\u4e2d\u6587 +CN=\u7E41\u4F53\u4E2D\u6587 \ No newline at end of file