From 8e5fce3e960d679541d8470a0df670e22ad656cc Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Mon, 24 Feb 2025 15:32:53 +0800 Subject: [PATCH] feat(ui): improve i18n --- README_EN.md | 2 +- ui/src/i18n/locales/en/nls.access.json | 10 +++++----- ui/src/i18n/locales/en/nls.provider.json | 6 +++--- ui/src/i18n/locales/en/nls.workflow.nodes.json | 18 +++++++++--------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README_EN.md b/README_EN.md index b92fc82a..2c3a2a8a 100644 --- a/README_EN.md +++ b/README_EN.md @@ -138,7 +138,7 @@ The following hosting providers are supported: | [Doge Cloud](https://www.dogecloud.com/) | Supports deployment to Doge Cloud CDN | | [UCloud](https://www.ucloud-global.com/) | Supports deployment to UCloud US3, UCDN | | [SafeLine](https://waf.chaitin.com/) | Supports deployment to SafeLine WAF | -| [BaoTa Panel](https://www.bt.cn/) | Supports deployment to BaoTa Panel sites | +| [aaPanel](https://www.aapanel.com/) | Supports deployment to aaPanel (aka BaoTaPanel) sites | | [AWS](https://aws.amazon.com/) | Supports deployment to AWS CloudFront | | [BytePlus](https://www.byteplus.com/) | Supports deployment to BytePlus CDN | | [CacheFly](https://www.cachefly.com/) | Supports deployment to CacheFly CDN | diff --git a/ui/src/i18n/locales/en/nls.access.json b/ui/src/i18n/locales/en/nls.access.json index dc468b92..ff6115a9 100644 --- a/ui/src/i18n/locales/en/nls.access.json +++ b/ui/src/i18n/locales/en/nls.access.json @@ -67,12 +67,12 @@ "access.form.baiducloud_secret_access_key.tooltip": "For more information, see https://intl.cloud.baidu.com/doc/Reference/s/jjwvz2e3p-en", "access.form.baishan_api_token.label": "Baishan Cloud API token", "access.form.baishan_api_token.placeholder": "Please enter Baishan Cloud API token", - "access.form.baotapanel_api_url.label": "BaoTa Panel URL", - "access.form.baotapanel_api_url.placeholder": "Please enter BaoTa Panel URL", + "access.form.baotapanel_api_url.label": "aaPanel URL", + "access.form.baotapanel_api_url.placeholder": "Please enter aaPanel URL", "access.form.baotapanel_api_url.tooltip": "For more information, see https://www.bt.cn/bbs/thread-20376-1-1.html", - "access.form.baotapanel_api_key.label": "BaoTa Panel API key", - "access.form.baotapanel_api_key.placeholder": "Please enter BaoTa Panel API key", - "access.form.baotapanel_api_key.tooltip": "For more information, see https://www.bt.cn/bbs/thread-113890-1-1.html", + "access.form.baotapanel_api_key.label": "aaPanel API key", + "access.form.baotapanel_api_key.placeholder": "Please enter aaPanel API key", + "access.form.baotapanel_api_key.tooltip": "For more information, see https://www.bt.cn/bbs/thread-20376-1-1.html", "access.form.byteplus_access_key.label": "BytePlus AccessKey", "access.form.byteplus_access_key.placeholder": "Please enter BytePlus AccessKey", "access.form.byteplus_access_key.tooltip": "For more information, see https://docs.byteplus.com/en/docs/byteplus-platform/docs-managing-keys", diff --git a/ui/src/i18n/locales/en/nls.provider.json b/ui/src/i18n/locales/en/nls.provider.json index e924b43a..9ce0bc5c 100644 --- a/ui/src/i18n/locales/en/nls.provider.json +++ b/ui/src/i18n/locales/en/nls.provider.json @@ -26,9 +26,9 @@ "provider.baiducloud.dns": "Baidu Cloud - DNS (Domain Name Service)", "provider.baishan": "Baishan", "provider.baishan.cdn": "Baishan - CDN (Content Delivery Network)", - "provider.baotapanel": "BaoTa Panel", - "provider.baotapanel.console": "BaoTa Panel - Console", - "provider.baotapanel.site": "BaoTa Panel - Site", + "provider.baotapanel": "aaPanel (aka BaoTaPanel)", + "provider.baotapanel.console": "aaPanel (aka BaoTaPanel) - Console", + "provider.baotapanel.site": "aaPanel (aka BaoTaPanel) - Site", "provider.byteplus": "BytePlus", "provider.byteplus.cdn": "BytePlus - CDN (Content Delivery Network)", "provider.cachefly": "CacheFly", diff --git a/ui/src/i18n/locales/en/nls.workflow.nodes.json b/ui/src/i18n/locales/en/nls.workflow.nodes.json index ebf7cf3c..6a377deb 100644 --- a/ui/src/i18n/locales/en/nls.workflow.nodes.json +++ b/ui/src/i18n/locales/en/nls.workflow.nodes.json @@ -203,19 +203,19 @@ "workflow_node.deploy.form.baishan_cdn_domain.placeholder": "Please enter Baishan CDN domain name", "workflow_node.deploy.form.baishan_cdn_domain.tooltip": "For more information, see https://cdnx.console.baishan.com", "workflow_node.deploy.form.baotapanel_console_auto_restart.label": "Auto restart after deployment", - "workflow_node.deploy.form.baotapanel_site_type.label": "BaoTa Panel site type", - "workflow_node.deploy.form.baotapanel_site_type.placeholder": "Please select BaoTa Panel site type", + "workflow_node.deploy.form.baotapanel_site_type.label": "aaPanel site type", + "workflow_node.deploy.form.baotapanel_site_type.placeholder": "Please select aaPanel site type", "workflow_node.deploy.form.baotapanel_site_type.option.php.label": "PHP sites", "workflow_node.deploy.form.baotapanel_site_type.option.other.label": "Other sites", - "workflow_node.deploy.form.baotapanel_site_name.label": "BaoTa Panel site name", - "workflow_node.deploy.form.baotapanel_site_name.placeholder": "Please enter BaoTa Panel site name", + "workflow_node.deploy.form.baotapanel_site_name.label": "aaPanel site name", + "workflow_node.deploy.form.baotapanel_site_name.placeholder": "Please enter aaPanel site name", "workflow_node.deploy.form.baotapanel_site_name.tooltip": "Usually equal to the website domain name.", - "workflow_node.deploy.form.baotapanel_site_names.label": "BaoTa Panel site names", - "workflow_node.deploy.form.baotapanel_site_names.placeholder": "Please enter BaoTa Panel site names (separated by semicolons)", - "workflow_node.deploy.form.baotapanel_site_names.errmsg.invalid": "Please enter a valid BaoTa Panel site name", + "workflow_node.deploy.form.baotapanel_site_names.label": "aaPanel site names", + "workflow_node.deploy.form.baotapanel_site_names.placeholder": "Please enter aaPanel site names (separated by semicolons)", + "workflow_node.deploy.form.baotapanel_site_names.errmsg.invalid": "Please enter a valid aaPanel site name", "workflow_node.deploy.form.baotapanel_site_names.tooltip": "Usually equal to the websites domain name.", - "workflow_node.deploy.form.baotapanel_site_names.multiple_input_modal.title": "Change BaoTa Panel site names", - "workflow_node.deploy.form.baotapanel_site_names.multiple_input_modal.placeholder": "Please enter BaoTa Panel site name", + "workflow_node.deploy.form.baotapanel_site_names.multiple_input_modal.title": "Change aaPanel site names", + "workflow_node.deploy.form.baotapanel_site_names.multiple_input_modal.placeholder": "Please enter aaPanel site name", "workflow_node.deploy.form.byteplus_cdn_domain.label": "BytePlus CDN domain", "workflow_node.deploy.form.byteplus_cdn_domain.placeholder": "Please enter BytePlus CDN domain name", "workflow_node.deploy.form.byteplus_cdn_domain.tooltip": "For more information, see https://console.byteplus.com/cdn",