From e62943c5488a97962ce57568a09b429012fb8d14 Mon Sep 17 00:00:00 2001
From: Anastasiya <45152336+LonwoLonwo@users.noreply.github.com>
Date: Fri, 13 Sep 2024 16:27:10 +0300
Subject: [PATCH 1/2] dbeaver/pro#3333 add contributions info to README.md
(#2912)
* dbeaver/pro#3333 add contributions info to README.md
* dbeaver/pro#3333 add info about localization
* dbeaver/pro#3333 fix sentence
* dbeaver/pro#3333 update file
* dbeaver/pro#3333 Update README.md
---
README.md | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index f4f8107f95..b73090cf7e 100644
--- a/README.md
+++ b/README.md
@@ -3,9 +3,9 @@
Cloud Database Manager - Community Edition.
-CloudBeaver is a web server which provides rich web interface. Server itself is a Java application, web part is written on TypeScript and React.
+CloudBeaver is a web server that provides a rich web interface. The server itself is a Java application, and the web part is written in TypeScript and React.
It is free to use and open-source (licensed under [Apache 2](https://github.com/dbeaver/cloudbeaver/blob/devel/LICENSE) license).
-See out [WIKI](https://github.com/dbeaver/cloudbeaver/wiki) for more details.
+See our [WIKI](https://github.com/dbeaver/cloudbeaver/wiki) for more details.
![](https://github.com/dbeaver/cloudbeaver/wiki/images/demo_screenshot_1.png)
@@ -16,7 +16,7 @@ See out [WIKI](https://github.com/dbeaver/cloudbeaver/wiki) for more details.
## Demo server
-You can see live demo of CloudBeaver here: https://demo.cloudbeaver.io
+You can see a live demo of CloudBeaver here: https://demo.cloudbeaver.io
[Database access instructions](https://github.com/dbeaver/cloudbeaver/wiki/Demo-Server)
@@ -25,7 +25,7 @@ You can see live demo of CloudBeaver here: https://demo.cloudbeaver.io
### 24.2.0. 2024-09-02
### Changes since 24.1.0:
- General:
- - French language support was added (thanks to @matthieukhl)
+ - French language support was added (thanks to [matthieukhl](https://github.com/matthieukhl))
- Added the ability to close editor tabs with the middle mouse button
- Added right-click support to open the context menu in the Metadata Editor
- The list of forbidden characters for naming and renaming resource manager files has been updated, and now it includes the following characters: / : " \ ' <> | ? *
@@ -45,9 +45,15 @@ You can see live demo of CloudBeaver here: https://demo.cloudbeaver.io
- Administration:
- Redesigned administration navigation panel - now it is more compact and clear
- Added the ability to change the default commit mode for each connection separately
- - Added the ability to configure the server property rootURI parameter (thanks to @arioko)
+ - Added the ability to configure the server property rootURI parameter (thanks to [arioko](https://github.com/arioko))
- Databases:
- Added the "Keep alive" setting for Db2 LUW and IMB i, Apache Kyuubi, Clickhouse, Firebird, and Trino
- Updated Firebird driver to version 5.0.4
- - DDL generation for Oracle Tablespaces was added (thanks to @pandya09)
+ - DDL generation for Oracle Tablespaces was added (thanks to [pandya09](https://github.com/pandya09))
+## Contribution
+As a community-driven open-source project, we warmly welcome contributions through GitHub pull requests.
+
+[We are happy to reward](https://dbeaver.com/help-beaver/) our most active contributors every major sprint.
+The most significant contribution to our code for the major release 24.2.0 was made by:
+1. [matthieukhl](https://github.com/matthieukhl)
From d2b6734dd320941c0b1bc3c0d7bce9fbe588d8e9 Mon Sep 17 00:00:00 2001
From: Carl Li
Date: Fri, 13 Sep 2024 22:08:33 +0800
Subject: [PATCH 2/2] Chinese localization (#2869)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* Add or improve Chinese translations
* Add or improve Chinese translations
* chore: Update Chinese translations
* chore: correct some translation
* fix: add mapping for all new zh files
---------
Co-authored-by: 李飞
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
---
.../core-administration/src/locales/zh.ts | 11 +-
.../core-authentication/src/locales/zh.ts | 21 ++-
.../core-blocks/src/BlocksLocaleService.ts | 2 +
webapp/packages/core-blocks/src/locales/zh.ts | 22 ++++
.../core-browser-settings/src/locales/zh.ts | 9 +-
.../core-connections/src/locales/zh.ts | 54 ++++----
.../core-localization/src/locales/zh.ts | 121 +++++++++---------
.../core-navigation-tree/src/locales/zh.ts | 9 +-
.../packages/core-projects/src/locales/zh.ts | 9 +-
.../core-resource-manager/src/locales/zh.ts | 9 +-
.../src/locales/zh.ts | 4 +-
.../packages/core-settings/src/locales/zh.ts | 4 +-
.../packages/core-theming/src/locales/zh.ts | 4 +-
webapp/packages/core-ui/src/LocaleService.ts | 2 +
webapp/packages/core-ui/src/locales/zh.ts | 12 ++
.../core-version-update/src/locales/zh.ts | 23 ++--
.../packages/core-version/src/locales/zh.ts | 21 ++-
.../packages/core-view/src/LocaleService.ts | 2 +
webapp/packages/core-view/src/locales/zh.ts | 15 +++
.../plugin-administration/src/locales/zh.ts | 13 +-
.../src/locales/zh.ts | 44 +++----
.../plugin-authentication/src/locales/zh.ts | 30 ++---
.../packages/plugin-browser/src/locales/zh.ts | 4 +-
.../src/locales/zh.ts | 15 ++-
.../src/locales/zh.ts | 9 +-
.../src/locales/zh.ts | 9 +-
.../src/locales/zh.ts | 9 +-
.../plugin-connections/src/locales/zh.ts | 35 +++--
.../plugin-data-export/src/locales/zh.ts | 13 +-
.../plugin-data-import/src/locales/zh.ts | 10 +-
.../src/locales/zh.ts | 13 +-
.../src/locales/zh.ts | 31 +++--
.../src/locales/zh.ts | 4 +-
.../plugin-data-viewer/src/locales/zh.ts | 84 ++++++------
.../src/locales/zh.ts | 13 +-
.../src/locales/zh.ts | 23 ++--
webapp/packages/plugin-help/src/locales/zh.ts | 41 +++---
.../plugin-log-viewer/src/locales/zh.ts | 9 +-
.../src/locales/zh.ts | 25 ++--
.../src/locales/zh.ts | 9 +-
.../plugin-navigation-tree/src/locales/zh.ts | 57 +++++----
.../plugin-object-viewer/src/locales/zh.ts | 2 +-
.../src/locales/zh.ts | 2 +-
.../packages/plugin-product/src/locales/zh.ts | 2 +-
.../plugin-projects/src/locales/zh.ts | 9 +-
.../src/locales/zh.ts | 11 +-
.../src/locales/zh.ts | 10 +-
.../plugin-resource-manager/src/locales/zh.ts | 11 +-
webapp/packages/plugin-root/src/locales/zh.ts | 15 ++-
.../src/locales/zh.ts | 6 +-
.../plugin-settings-panel/src/locales/zh.ts | 9 +-
.../src/locales/zh.ts | 23 ++--
.../src/locales/zh.ts | 15 ++-
.../plugin-sql-editor-new/src/locales/zh.ts | 15 ++-
.../src/locales/zh.ts | 7 +
.../plugin-sql-editor/src/locales/zh.ts | 34 ++---
.../plugin-task-manager/src/locales/zh.ts | 9 +-
.../plugin-tools-panel/src/locales/zh.ts | 13 +-
.../src/locales/zh.ts | 10 +-
.../plugin-user-profile/src/locales/zh.ts | 4 +-
.../src/locales/zh.ts | 8 +-
.../product-default/src/locales/zh.ts | 9 +-
62 files changed, 692 insertions(+), 386 deletions(-)
create mode 100644 webapp/packages/core-blocks/src/locales/zh.ts
create mode 100644 webapp/packages/core-ui/src/locales/zh.ts
create mode 100644 webapp/packages/core-view/src/locales/zh.ts
diff --git a/webapp/packages/core-administration/src/locales/zh.ts b/webapp/packages/core-administration/src/locales/zh.ts
index a83ba9a2ee..7b8cc21cf1 100644
--- a/webapp/packages/core-administration/src/locales/zh.ts
+++ b/webapp/packages/core-administration/src/locales/zh.ts
@@ -1,7 +1,14 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
['administration_menu_enter', '管理'],
['administration_menu_back', '返回应用'],
['administration_configuration_wizard_title', '初始化服务器配置'],
- ['administration_configuration_wizard_finish_success_title', 'Server configured'],
- ['administration_configuration_wizard_finish_success_message', 'You can log-in as administrator in order to set up additional parameters.'],
+ ['administration_configuration_wizard_finish_success_title', '服务器已完成配置'],
+ ['administration_configuration_wizard_finish_success_message', '您可以使用管理员登录后进行更多参数配置。'],
];
diff --git a/webapp/packages/core-authentication/src/locales/zh.ts b/webapp/packages/core-authentication/src/locales/zh.ts
index 859671e833..58ed2efad6 100644
--- a/webapp/packages/core-authentication/src/locales/zh.ts
+++ b/webapp/packages/core-authentication/src/locales/zh.ts
@@ -1,10 +1,17 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['core_authentication_auth_settings_group', 'Authentication'],
- ['settings_authentication_disable_anonymous_access_name', 'Disable anonymous access'],
- ['settings_authentication_disable_anonymous_access_description', 'Disable anonymous access function'],
+ ['core_authentication_auth_settings_group', '认证'],
+ ['settings_authentication_disable_anonymous_access_name', '禁用匿名访问'],
+ ['settings_authentication_disable_anonymous_access_description', '禁用匿名访问功能'],
- ['core_authentication_password_policy_min_length', 'Password must be at least {arg:min} characters long'],
- ['core_authentication_password_policy_upper_lower_case', 'Password must contain both upper and lower case letters'],
- ['core_authentication_password_policy_min_digits', 'Password must contain at least {arg:min} digits'],
- ['core_authentication_password_policy_min_special_characters', 'Password must contain at least {arg:min} special characters'],
+ ['core_authentication_password_policy_min_length', '密码长度需要至少 {arg:min} 个字符'],
+ ['core_authentication_password_policy_upper_lower_case', '密码必须包含大写和小写字母'],
+ ['core_authentication_password_policy_min_digits', '密码至少需要包含 {arg:min} 个数字'],
+ ['core_authentication_password_policy_min_special_characters', '密码至少需要包含 {arg:min} 个特殊字符'],
];
diff --git a/webapp/packages/core-blocks/src/BlocksLocaleService.ts b/webapp/packages/core-blocks/src/BlocksLocaleService.ts
index 74224944b2..18b5ed7661 100644
--- a/webapp/packages/core-blocks/src/BlocksLocaleService.ts
+++ b/webapp/packages/core-blocks/src/BlocksLocaleService.ts
@@ -26,6 +26,8 @@ export class BlocksLocaleService extends Bootstrap {
return (await import('./locales/ru')).default;
case 'it':
return (await import('./locales/it')).default;
+ case 'zh':
+ return (await import('./locales/zh')).default;
case 'fr':
return (await import('./locales/fr')).default;
default:
diff --git a/webapp/packages/core-blocks/src/locales/zh.ts b/webapp/packages/core-blocks/src/locales/zh.ts
new file mode 100644
index 0000000000..a93a92b344
--- /dev/null
+++ b/webapp/packages/core-blocks/src/locales/zh.ts
@@ -0,0 +1,22 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
+export default [
+ ['core_block_properties_table_name', '表名'],
+ ['core_block_properties_table_value', '值'],
+ ['core_block_properties_table_filter_name', '过滤器'],
+ ['core_block_properties_table_add', '添加属性'],
+ ['core_blocks_confirmation_dialog_title', '需要确认'],
+ ['core_blocks_properties_table_item_reset', '重置默认值'],
+ ['core_blocks_object_property_info_form_empty_placeholder', '属性为空'],
+ ['core_blocks_object_property_info_password_saved', '字段值已保存'],
+ ['core_blocks_properties_table_item_remove', '移除属性'],
+ ['combobox_no_results_placeholder', '无结果'],
+ ['core_blocks_exception_message_error_title', '无法显示内容'],
+ ['core_blocks_exception_message_error_message', '出现错误.'],
+ ['core_blocks_custom_input_validation_error', '字段值无效'],
+];
diff --git a/webapp/packages/core-browser-settings/src/locales/zh.ts b/webapp/packages/core-browser-settings/src/locales/zh.ts
index cc55ebb310..6d998b2172 100644
--- a/webapp/packages/core-browser-settings/src/locales/zh.ts
+++ b/webapp/packages/core-browser-settings/src/locales/zh.ts
@@ -1,4 +1,11 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
['core_browser_settings_cookies_settings_group', 'Cookies'],
- ['core_browser_settings_browser_settings_group', 'Browser'],
+ ['core_browser_settings_browser_settings_group', '浏览器'],
];
diff --git a/webapp/packages/core-connections/src/locales/zh.ts b/webapp/packages/core-connections/src/locales/zh.ts
index 2b0e0840e6..a92afdd2f8 100644
--- a/webapp/packages/core-connections/src/locales/zh.ts
+++ b/webapp/packages/core-connections/src/locales/zh.ts
@@ -6,9 +6,9 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['core_connections_connections_settings_group', 'Connections'],
- ['connections_administration_item', 'Connection Templates'],
- ['connections_administration_connection_create', 'Add Database Template'],
+ ['core_connections_connections_settings_group', '连接'],
+ ['connections_administration_item', '连接模板'],
+ ['connections_administration_connection_create', '添加数据库模板'],
['connections_administration_search_database_tip', '在此处输入您的主机,例如“localhost host1.myhost.com 192.168.0.1”然后按 Enter'],
['connections_administration_new_connection', '新连接'],
['connections_administration_connection_create_error', '创建连接失败'],
@@ -32,45 +32,45 @@ export default [
['connections_connection_connect', '连接'],
['connections_connection_create_custom', '自定义'],
['connections_connection_create_search_database', '搜索'],
- ['connections_connection_authentication_save_credentials_for_user', 'Save credentials for the current user'],
- ['connections_connection_authentication_save_credentials_for_user_tooltip', 'These credentials will be used to make automatic connection'],
- ['connections_connection_authentication_save_credentials_for_session', 'Don’t ask again during the session'],
- ['connections_connection_authentication_save_credentials_for_session_tooltip', 'These credentials will be removed after logout'],
- ['connections_connection_edit_save_credentials_shared', 'Save credentials for all users with access'],
+ ['connections_connection_authentication_save_credentials_for_user', '为当前用户保存凭证'],
+ ['connections_connection_authentication_save_credentials_for_user_tooltip', '凭证将用于自动连接数据库'],
+ ['connections_connection_authentication_save_credentials_for_session', '当前会话不再询问'],
+ ['connections_connection_authentication_save_credentials_for_session_tooltip', '注销后将移除凭证'],
+ ['connections_connection_edit_save_credentials_shared', '为所有访问用户保存凭证'],
[
'connections_connection_edit_save_credentials_shared_tooltip',
- 'These credentials will be used to make automatic connection for all users having access',
+ '凭证将用于为所有访问用户自动连接数据库',
],
- ['connections_connection_share_credentials', 'Share credentials with teammates'],
- ['connections_connection_share_credentials_tooltip', 'These credentials will be used to make automatic connection for all users in a team'],
+ ['connections_connection_share_credentials', '分享凭证至团队'],
+ ['connections_connection_share_credentials_tooltip', '凭证将用于为所有团队用户自动连接数据库'],
['connections_connection_credentials_provisioning', '认证凭据'],
- ['connections_connection_credentials_provisioning_description', '您却要填写或确认凭据以测试此连接。'],
+ ['connections_connection_credentials_provisioning_description', '您需要填写或确认凭据以测试此连接。'],
['connections_connection_edit_authentication', '认证'],
['connections_connection_edit_access', '权限'],
['connections_connection_edit_access_load_failed', '无法获取连接访问权限'],
['connections_connection_edit_search', '搜索'],
['connections_connection_edit_search_hosts', '主机名称'],
['connections_connection_address', '地址'],
- ['connections_connection_folder', 'Folder'],
- ['connections_connection_folder_validation', "Folder's name may not contain the following symbols / : \" \\ ' <> | ? * and can't start with a dot"],
+ ['connections_connection_folder', '文件夹'],
+ ['connections_connection_folder_validation', "文件夹名称不得包含以下符号 / : \" \\ ' <> | ? * 且不能以点开头"],
['connections_connection_name', '连接名称'],
- ['connections_connection_access_admin_info', 'Administrators see all connections except private connections of other users.'],
+ ['connections_connection_access_admin_info', '管理员可以查看除其他用户的私有连接之外的所有连接。'],
['connections_connection_description', '描述'],
- ['connections_connection_project', 'Project'],
+ ['connections_connection_project', '项目'],
['connections_connection_driver', '驱动'],
- ['connections_connection_configuration', 'Configuration'],
+ ['connections_connection_configuration', '配置'],
['connections_connection_host', '主机'],
['connections_connection_port', '端口'],
['connections_connection_template', '模板'],
['connections_connection_test', '测试连接'],
- ['connections_connection_test_tooltip', 'Test connection'],
+ ['connections_connection_test_tooltip', '测试链接'],
['connections_connection_test_fail', '连接测试失败'],
['connections_connection_create_fail', '无法创建连接'],
['connections_connection_save_fail', '无法保存连接'],
- ['connections_connection_expert_settings', 'Expert settings'],
- ['connections_connection_keep_alive', 'Keep alive (in seconds)'],
- ['connections_connection_autocommit', 'Auto commit'],
- ['connections_connection_keep_alive_tooltip', 'No auto disconnect'],
+ ['connections_connection_expert_settings', '专业设置'],
+ ['connections_connection_keep_alive', '保持连接 (秒)'],
+ ['connections_connection_autocommit', '自动提交'],
+ ['connections_connection_keep_alive_tooltip', '无自动断开连接'],
['connections_network_handler_test', '测试隧道'],
['connections_network_handler_test_fail', '隧道测试失败'],
['connections_network_handler_test_success', '隧道测试成功'],
@@ -83,11 +83,11 @@ export default [
['connections_network_handler_ssh_tunnel_port', '端口'],
['connections_network_handler_ssh_tunnel_user', '用户'],
['connections_network_handler_ssh_tunnel_password', '密码'],
- ['connections_network_handler_ssh_tunnel_auth_type', 'Authentication method'],
- ['connections_network_handler_ssh_tunnel_private_key', 'Private key'],
- ['connections_network_handler_ssh_tunnel_advanced_settings', 'Advanced Settings'],
- ['connections_network_handler_ssh_tunnel_advanced_settings_alive_interval', 'Alive interval (ms)'],
- ['connections_network_handler_ssh_tunnel_advanced_settings_connect_timeout', 'Connect timeout (ms)'],
+ ['connections_network_handler_ssh_tunnel_auth_type', '认证方式'],
+ ['connections_network_handler_ssh_tunnel_private_key', '私钥'],
+ ['connections_network_handler_ssh_tunnel_advanced_settings', '高级设置'],
+ ['connections_network_handler_ssh_tunnel_advanced_settings_alive_interval', '活动间隔 (ms)'],
+ ['connections_network_handler_ssh_tunnel_advanced_settings_connect_timeout', '连接超时 (ms)'],
['connections_driver_search_placeholder', '输入驱动名称...'],
['connections_not_found', '未找到数据库连接'],
diff --git a/webapp/packages/core-localization/src/locales/zh.ts b/webapp/packages/core-localization/src/locales/zh.ts
index a5d4cd1c58..f951ec042f 100644
--- a/webapp/packages/core-localization/src/locales/zh.ts
+++ b/webapp/packages/core-localization/src/locales/zh.ts
@@ -7,7 +7,7 @@
*/
export default [
['name', 'zh'],
- ['ui_rename_taken_or_invalid', 'This name is unavailable or invalid'],
+ ['ui_rename_taken_or_invalid', '名称不可用或不合法'],
['ui_tag_new', '新建'],
['ui_light_theme', '明亮'],
['ui_dark_theme', '黑暗'],
@@ -18,44 +18,44 @@ export default [
['ui_processing_loading', '加载中...'],
['ui_processing_cancel', '取消'],
['ui_processing_canceling', '取消中...'],
- ['ui_processing_canceled', 'Canceled'],
+ ['ui_processing_canceled', '已取消'],
['ui_processing_retry', '重试'],
['ui_processing_ok', '好'],
['ui_processing_create', '创建'],
['ui_processing_save', '保存'],
- ['ui_processing_saving', 'Saving...'],
- ['ui_processing_do_you_want_to_proceed', 'Do you want to proceed?'],
- ['ui_processing_saved', 'Saved'],
- ['ui_processing_stop', 'Stop'],
- ['ui_processing_skip', 'Skip'],
- ['ui_second_first_form', '{arg:interval} second'],
- ['ui_second_second_form', '{arg:interval} seconds'],
- ['ui_second_third_form', '{arg:interval} seconds'],
- ['ui_minute_first_form', '{arg:interval} minute'],
- ['ui_minute_second_form', '{arg:interval} minutes'],
- ['ui_minute_third_form', '{arg:interval} minutes'],
- ['ui_custom', 'Custom'],
+ ['ui_processing_saving', '保存中...'],
+ ['ui_processing_do_you_want_to_proceed', '是否继续?'],
+ ['ui_processing_saved', '已保存'],
+ ['ui_processing_stop', '停止'],
+ ['ui_processing_skip', '跳过'],
+ ['ui_second_first_form', '{arg:interval} 秒'],
+ ['ui_second_second_form', '{arg:interval} 秒'],
+ ['ui_second_third_form', '{arg:interval} 秒'],
+ ['ui_minute_first_form', '{arg:interval} 分钟'],
+ ['ui_minute_second_form', '{arg:interval} 分钟'],
+ ['ui_minute_third_form', '{arg:interval} 分钟'],
+ ['ui_custom', '个性化'],
['ui_configure', '配置'],
['ui_apply', '应用'],
- ['ui_ignore', 'Ignore'],
+ ['ui_ignore', '忽略'],
['ui_error', '错误'],
['ui_error_message', '错误:'],
['ui_error_close', '关闭'],
- ['ui_clear', 'Clear'],
- ['ui_remove', 'Remove'],
+ ['ui_clear', '清除'],
+ ['ui_remove', '移除'],
['ui_close', '关闭'],
- ['ui_open', 'Open'],
+ ['ui_open', '打开'],
['ui_errors_details', '详情'],
['ui_search', '搜索...'],
['ui_delete', '删除'],
['ui_add', '添加'],
- ['ui_revert', 'Revert'],
- ['ui_undo', 'Undo'],
- ['ui_redo', 'Redo'],
- ['ui_duplicate', 'Duplicate'],
+ ['ui_revert', '恢复'],
+ ['ui_undo', '撤销'],
+ ['ui_redo', '重做'],
+ ['ui_duplicate', '重复'],
['ui_refresh', '刷新'],
['ui_data_saving_error', '保存出错'],
- ['ui_data_remove_confirmation', 'Remove confirmation'],
+ ['ui_data_remove_confirmation', '移除确认'],
['ui_data_delete_confirmation', '删除确认'],
['ui_no_matches_placeholder', '您的搜索没有返回匹配项。'],
['ui_information', '信息'],
@@ -66,22 +66,22 @@ export default [
['ui_clipboard_access_denied_title', '剪贴板访问被拒绝'],
['ui_clipboard_access_denied_message', '您需要授予对剪贴板的访问权限才能使用某些应用功能'],
['ui_reveal_password', '展示或隐藏密码'],
- ['ui_capslock_on', 'Caps Lock is on'],
+ ['ui_capslock_on', '大小写锁定键开启'],
['ui_page_not_found', '找不到页面'],
['ui_revoke', '撤销'],
['ui_grant', '授予'],
['ui_edit', '编辑'],
['ui_open_in_tab', '在选项卡中打开'],
- ['ui_create', 'Create'],
- ['ui_create_processing', 'Creating...'],
- ['ui_folder', 'Folder'],
- ['ui_folder_new', 'New folder'],
+ ['ui_create', '新建'],
+ ['ui_create_processing', '创建中...'],
+ ['ui_folder', '文件夹'],
+ ['ui_folder_new', '新建文件夹'],
['ui_rename', '重命名'],
['ui_rename_processing', '重命名中...'],
['ui_name', '名称'],
- ['ui_value', 'Value'],
- ['ui_description', 'Description'],
- ['ui_interval', 'Interval'],
+ ['ui_value', '值'],
+ ['ui_description', '描述'],
+ ['ui_interval', '间隔'],
['ui_cant_delete_item', '此项目不能删除'],
['ui_no_items_placeholder', '还没有项目'],
['ui_search_no_result_placeholder', '没有找到结果'],
@@ -92,7 +92,7 @@ export default [
['ui_reconnect', '重新连接'],
['ui_forget', '忘记'],
['ui_set', '设置'],
- ['ui_restore', 'Restore'],
+ ['ui_restore', '恢复'],
['ui_are_you_sure', '您确定吗?'],
['ui_options', '选项'],
['ui_changes_might_be_lost', '您的更改可能会丢失'],
@@ -101,36 +101,35 @@ export default [
['ui_continue', '继续'],
['ui_authentication', '认证'],
['ui_settings', '设置'],
- ['ui_advanced_settings', 'Advanced settings'],
- ['ui_expand', 'Expand'],
- ['ui_close_all', 'Close all'],
- ['ui_close_others', 'Close others'],
- ['ui_close_all_to_the_right', 'Close all to the Right'],
- ['ui_close_all_to_the_left', 'Close all to the Left'],
- ['ui_or', 'Or'],
- ['ui_download', 'Download'],
- ['ui_download_file', 'Download file'],
- ['ui_upload', 'Upload'],
- ['ui_import', 'Import'],
- ['ui_view', 'View'],
- ['ui_show_more', 'Show more'],
- ['ui_limit', 'Limit'],
- ['ui_file_size', 'File size'],
- ['ui_processing_synchronization', 'Synchronization...'],
- ['ui_no_file_chosen', 'No file chosen'],
- ['ui_file_size_exceeds', 'Max file size exceeds. File size: {arg:size}. Max file size: {arg:maxSize}'],
- ['ui_upload_file', 'Upload file'],
- ['ui_upload_files', 'Upload files'],
- ['ui_upload_files_duplicate_error', 'Files with the same name already exist'],
- ['ui_upload_file_fail', 'Failed to upload file'],
- ['ui_filter', 'Filter'],
- ['ui_disable', 'Disable'],
+ ['ui_advanced_settings', '高级设置'],
+ ['ui_expand', '展开'],
+ ['ui_close_all', '关闭全部'],
+ ['ui_close_others', '关闭其他'],
+ ['ui_close_all_to_the_right', '关闭右侧'],
+ ['ui_close_all_to_the_left', '关闭左侧'],
+ ['ui_or', '或'],
+ ['ui_download', '下载'],
+ ['ui_download_file', '下载文件'],
+ ['ui_upload', '上传'],
+ ['ui_import', '导入'],
+ ['ui_view', '查看'],
+ ['ui_show_more', '查看更多'],
+ ['ui_limit', '限制'],
+ ['ui_file_size', '文件大小'],
+ ['ui_processing_synchronization', '同步...'],
+ ['ui_no_file_chosen', '未选择文件'],
+ ['ui_file_size_exceeds', '文件大小超限。文件大小: {arg:size},最大文件大小: {arg:maxSize}'],
+ ['ui_upload_file', '上传文件'],
+ ['ui_upload_files', '上传文件'],
+ ['ui_upload_files_duplicate_error', '存在同名文件'],
+ ['ui_upload_file_fail', '上传失败'],
+ ['ui_filter', '过滤器'],
+ ['ui_disable', '禁用'],
['ui_readonly', '只读'],
- ['ui_test', 'Test'],
- ['ui_export', 'Export'],
- ['ui_you', 'You'],
+ ['ui_test', '测试'],
+ ['ui_export', '导出'],
+ ['ui_you', '你'],
['ui_ms', 'ms'],
-
['root_permission_denied', '您没有权限'],
['root_permission_no_permission', '您没有权限执行此操作'],
['app_root_session_expire_warning_title', '会话即将过期'],
@@ -139,6 +138,6 @@ export default [
['app_root_session_expired_title', '会话已过期'],
['app_root_session_expired_message', '会话已过期。您想重新加载吗?'],
['app_root_quota_exceeded', '超出配额'],
- ['app_root_event_permissions_changed_message', 'Your permissions have been changed'],
+ ['app_root_event_permissions_changed_message', '您的权限已修改'],
['core_eventsLog_dbeaverErrorDetails', '错误详情'],
];
diff --git a/webapp/packages/core-navigation-tree/src/locales/zh.ts b/webapp/packages/core-navigation-tree/src/locales/zh.ts
index a5841152eb..c3c4f9e116 100644
--- a/webapp/packages/core-navigation-tree/src/locales/zh.ts
+++ b/webapp/packages/core-navigation-tree/src/locales/zh.ts
@@ -1 +1,8 @@
-export default [['core_navigation_tree_navigation_tree_settings_group', 'Navigation Tree']];
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
+export default [['core_navigation_tree_navigation_tree_settings_group', '导航树']];
diff --git a/webapp/packages/core-projects/src/locales/zh.ts b/webapp/packages/core-projects/src/locales/zh.ts
index 85fd8b598d..79f85b4850 100644
--- a/webapp/packages/core-projects/src/locales/zh.ts
+++ b/webapp/packages/core-projects/src/locales/zh.ts
@@ -1 +1,8 @@
-export default [['core_projects_no_default_project', 'Project is not found']];
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
+export default [['core_projects_no_default_project', '未找到项目']];
diff --git a/webapp/packages/core-resource-manager/src/locales/zh.ts b/webapp/packages/core-resource-manager/src/locales/zh.ts
index e8b7f78b78..c096c8d80c 100644
--- a/webapp/packages/core-resource-manager/src/locales/zh.ts
+++ b/webapp/packages/core-resource-manager/src/locales/zh.ts
@@ -1 +1,8 @@
-export default [['core_resource_manager_resource_manager_settings_group', 'Resource Manager']];
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
+export default [['core_resource_manager_resource_manager_settings_group', '资源管理器']];
diff --git a/webapp/packages/core-settings-localization/src/locales/zh.ts b/webapp/packages/core-settings-localization/src/locales/zh.ts
index a41246d2c9..4c16753219 100644
--- a/webapp/packages/core-settings-localization/src/locales/zh.ts
+++ b/webapp/packages/core-settings-localization/src/locales/zh.ts
@@ -6,6 +6,6 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['core_settings_localization_settings_locale_label', 'Language'],
- ['core_settings_localization_settings_locale_description', 'Language for the application'],
+ ['core_settings_localization_settings_locale_label', '语言'],
+ ['core_settings_localization_settings_locale_description', '应用显示语言'],
];
diff --git a/webapp/packages/core-settings/src/locales/zh.ts b/webapp/packages/core-settings/src/locales/zh.ts
index a9ec4d485d..6ca511a870 100644
--- a/webapp/packages/core-settings/src/locales/zh.ts
+++ b/webapp/packages/core-settings/src/locales/zh.ts
@@ -6,6 +6,6 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['core_plugin_interface_settings_group', 'Interface'],
- ['core_plugin_root_settings_group', 'Settings'],
+ ['core_plugin_interface_settings_group', '界面'],
+ ['core_plugin_root_settings_group', '设置'],
];
diff --git a/webapp/packages/core-theming/src/locales/zh.ts b/webapp/packages/core-theming/src/locales/zh.ts
index 4f227e3ed6..b6b6153e21 100644
--- a/webapp/packages/core-theming/src/locales/zh.ts
+++ b/webapp/packages/core-theming/src/locales/zh.ts
@@ -6,6 +6,6 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['core_theming_settings_theme_name', 'Theme'],
- ['core_theming_settings_theme_description', 'Application color theme'],
+ ['core_theming_settings_theme_name', '主题'],
+ ['core_theming_settings_theme_description', '应用程序的颜色风格'],
];
diff --git a/webapp/packages/core-ui/src/LocaleService.ts b/webapp/packages/core-ui/src/LocaleService.ts
index c52a7b982c..f8618985f9 100644
--- a/webapp/packages/core-ui/src/LocaleService.ts
+++ b/webapp/packages/core-ui/src/LocaleService.ts
@@ -26,6 +26,8 @@ export class LocaleService extends Bootstrap {
return (await import('./locales/ru')).default;
case 'it':
return (await import('./locales/it')).default;
+ case 'zh':
+ return (await import('./locales/zh')).default;
case 'fr':
return (await import('./locales/fr')).default;
default:
diff --git a/webapp/packages/core-ui/src/locales/zh.ts b/webapp/packages/core-ui/src/locales/zh.ts
new file mode 100644
index 0000000000..fb31e15622
--- /dev/null
+++ b/webapp/packages/core-ui/src/locales/zh.ts
@@ -0,0 +1,12 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
+export default [
+ ['core_ui_empty', 'Empty'],
+ ['core_ui_form_save_error', '保存表单出错'],
+ ['core_ui_switch_tab_error', '表单校验时无法切换标签'],
+];
diff --git a/webapp/packages/core-version-update/src/locales/zh.ts b/webapp/packages/core-version-update/src/locales/zh.ts
index e8fbdc8374..2c4ec65f57 100644
--- a/webapp/packages/core-version-update/src/locales/zh.ts
+++ b/webapp/packages/core-version-update/src/locales/zh.ts
@@ -1,10 +1,17 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['version_update', 'Version update'],
- ['version_update_version_is_up_to_date', 'Version is up to date'],
- ['version_update_new_version_available', 'New version is available'],
- ['version_update_version_no_info', 'No version information available'],
- ['version_update_versions_refresh_successful', 'Versions list refreshed successfully'],
- ['version_update_versions_refresh_fail', 'Versions list refresh failed'],
- ['version_update_how_to_update', 'How to update'],
- ['version_update_info', 'Info'],
+ ['version_update', '版本升级'],
+ ['version_update_version_is_up_to_date', '版本已最新'],
+ ['version_update_new_version_available', '新版本可用'],
+ ['version_update_version_no_info', '无可用版本信息'],
+ ['version_update_versions_refresh_successful', '版本列表刷新成功'],
+ ['version_update_versions_refresh_fail', '版本列表刷新失败'],
+ ['version_update_how_to_update', '如何升级'],
+ ['version_update_info', '信息'],
];
diff --git a/webapp/packages/core-version/src/locales/zh.ts b/webapp/packages/core-version/src/locales/zh.ts
index e67434b6de..9e019f9f99 100644
--- a/webapp/packages/core-version/src/locales/zh.ts
+++ b/webapp/packages/core-version/src/locales/zh.ts
@@ -1,9 +1,16 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['version', 'Version'],
- ['versions', 'Versions'],
- ['version_date', 'Release date'],
- ['version_tag', 'Tag'],
- ['version_latest', 'Latest'],
- ['version_current', 'Current'],
- ['versions_load_fail', 'Could not get the latest app version info'],
+ ['version', '版本'],
+ ['versions', '版本'],
+ ['version_date', '发布日期'],
+ ['version_tag', '标签'],
+ ['version_latest', '最新'],
+ ['version_current', '当前'],
+ ['versions_load_fail', '无法获取最新应用信息'],
];
diff --git a/webapp/packages/core-view/src/LocaleService.ts b/webapp/packages/core-view/src/LocaleService.ts
index 911d2cdc68..483bb120d5 100644
--- a/webapp/packages/core-view/src/LocaleService.ts
+++ b/webapp/packages/core-view/src/LocaleService.ts
@@ -26,6 +26,8 @@ export class LocaleService extends Bootstrap {
return (await import('./locales/ru')).default;
case 'it':
return (await import('./locales/it')).default;
+ case 'zh':
+ return (await import('./locales/zh')).default;
case 'fr':
return (await import('./locales/fr')).default;
case 'de':
diff --git a/webapp/packages/core-view/src/locales/zh.ts b/webapp/packages/core-view/src/locales/zh.ts
new file mode 100644
index 0000000000..c8f4d1aa02
--- /dev/null
+++ b/webapp/packages/core-view/src/locales/zh.ts
@@ -0,0 +1,15 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
+export default [
+ ['core_view_layout', '布局'],
+ ['core_view_zoom_in', '放大'],
+ ['core_view_zoom_out', '缩小'],
+ ['core_view_action_create_label', '创建'],
+ ['core_view_action_new_folder', '新建文件夹'],
+ ['core_view_action_edit_label', '编辑'],
+];
diff --git a/webapp/packages/plugin-administration/src/locales/zh.ts b/webapp/packages/plugin-administration/src/locales/zh.ts
index a815b51f49..db48bd3a59 100644
--- a/webapp/packages/plugin-administration/src/locales/zh.ts
+++ b/webapp/packages/plugin-administration/src/locales/zh.ts
@@ -1,3 +1,10 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
['administration_server_configuration_save_confirmation_title', '服务器设置更新'],
['administration_server_configuration_save_confirmation_message', '即将更改关键设置。您确定吗?'],
@@ -52,7 +59,7 @@ export default [
['administration_configuration_wizard_configuration_navigator_show_system_objects', '系统对象'],
['administration_configuration_wizard_configuration_navigator_show_utility_objects', '实用程序对象'],
- ['administration_configuration_wizard_step_validation_message', 'Failed to proceed to the next step'],
+ ['administration_configuration_wizard_step_validation_message', '无法继续执行下一步'],
['administration_configuration_wizard_finish', '确认'],
['administration_configuration_wizard_finish_step_description', '确认'],
@@ -62,6 +69,6 @@ export default [
'按完成按钮完成服务器配置。如果您想更改或添加某些内容,可以返回到前面的页面。\n配置完成后,所有输入的设置都将应用于您的CloudBeaver服务器。您将被重定向到主页面开始工作。\n您可以随时以管理员身份登录系统以更改服务器设置。',
],
- ['administration_disabled_drivers_title', 'Disabled drivers'],
- ['administration_disabled_drivers_search_placeholder', 'Search for the driver...'],
+ ['administration_disabled_drivers_title', '已禁用的驱动'],
+ ['administration_disabled_drivers_search_placeholder', '搜索驱动...'],
];
diff --git a/webapp/packages/plugin-authentication-administration/src/locales/zh.ts b/webapp/packages/plugin-authentication-administration/src/locales/zh.ts
index 5cf43e7514..d2818eb3de 100644
--- a/webapp/packages/plugin-authentication-administration/src/locales/zh.ts
+++ b/webapp/packages/plugin-authentication-administration/src/locales/zh.ts
@@ -17,41 +17,41 @@ export default [
['authentication_administration_user_connections_empty', '没有可用连接'],
['authentication_administration_user_origin_empty', '没有可用详情'],
['authentication_administration_user_info', '信息'],
- ['authentication_administration_user_auth_method', 'Auth Method'],
- ['authentication_administration_user_auth_methods', 'Auth Methods'],
- ['authentication_administration_user_auth_methods_empty', 'No available auth methods'],
- ['authentication_administration_user_auth_method_no_details', 'No details available'],
- ['authentication_administration_user_local', 'Local user'],
- ['authentication_administration_item', 'Users and Teams'],
+ ['authentication_administration_user_auth_method', '认证方式'],
+ ['authentication_administration_user_auth_methods', '认证方式'],
+ ['authentication_administration_user_auth_methods_empty', '无可用认证方式'],
+ ['authentication_administration_user_auth_method_no_details', '无可用详情'],
+ ['authentication_administration_user_local', '本地用户'],
+ ['authentication_administration_item', '用户和群组'],
['authentication_administration_item_users', '用户'],
['authentication_administration_item_metaParameters', '元参数'],
- ['authentication_administration_tools_add_tooltip', 'Create new user'],
+ ['authentication_administration_tools_add_tooltip', '添加新用户'],
['authentication_administration_tools_refresh_tooltip', '刷新用户列表'],
['authentication_administration_tools_delete_tooltip', '删除选中的用户'],
['authentication_administration_tools_refresh_success', '用户列表已刷新'],
- ['authentication_administration_tools_refresh_fail', 'Users update failed'],
- ['authentication_administration_user_delete_fail', 'Error deleting user'],
+ ['authentication_administration_tools_refresh_fail', '用户更新失败'],
+ ['authentication_administration_user_delete_fail', '删除用户出错'],
['authentication_administration_user_update_failed', '保存用户出错'],
['authentication_administration_user_updated', '用户信息已更新'],
['authentication_administration_user_created', '创建用户成功'],
['authentication_administration_user_create_failed', '创建新用户出错'],
['authentication_administration_users_delete_confirmation', '您将删除这些用户:'],
- ['authentication_administration_users_filters_search_placeholder', 'Search for the user name...'],
- ['authentication_administration_users_filters_status_enabled', 'ENABLED'],
- ['authentication_administration_users_filters_status_disabled', 'DISABLED'],
- ['authentication_administration_users_filters_status_all', 'ALL'],
- ['authentication_administration_users_empty', 'There are no users'],
- ['authentication_administration_users_delete_user', 'Delete user'],
- ['authentication_administration_users_delete_user_fail', 'Failed to delete user'],
- ['authentication_administration_users_delete_user_success', 'User deleted'],
- ['authentication_administration_users_disable_user_fail', 'Failed to disable user'],
- ['authentication_administration_users_disable_user_success', 'User disabled'],
+ ['authentication_administration_users_filters_search_placeholder', '搜索用户名称...'],
+ ['authentication_administration_users_filters_status_enabled', '启用'],
+ ['authentication_administration_users_filters_status_disabled', '禁用'],
+ ['authentication_administration_users_filters_status_all', '全部'],
+ ['authentication_administration_users_empty', '无用户'],
+ ['authentication_administration_users_delete_user', '删除用户'],
+ ['authentication_administration_users_delete_user_fail', '删除用户失败'],
+ ['authentication_administration_users_delete_user_success', '用户已删除'],
+ ['authentication_administration_users_disable_user_fail', '删除用户失败'],
+ ['authentication_administration_users_disable_user_success', '用户已禁用'],
- ['authentication_administration_user_delete_credentials_error', 'Failed to remove user credentials'],
- ['authentication_administration_user_delete_credentials_success', 'User credentials were removed'],
+ ['authentication_administration_user_delete_credentials_error', '删除用户凭证失败'],
+ ['authentication_administration_user_delete_credentials_success', '用户凭证已移除'],
[
'authentication_administration_user_delete_credentials_confirmation_message',
- 'Are you sure you want to delete "{arg:originName}" auth method from "{arg:userId}"?',
+ '确定要从“{arg:userId}”中删除“{arg:originName}”身份验证方法吗?',
],
['administration_configuration_wizard_configuration_admin', '管理员凭据'],
diff --git a/webapp/packages/plugin-authentication/src/locales/zh.ts b/webapp/packages/plugin-authentication/src/locales/zh.ts
index a10b1ecd43..bb974cbd86 100644
--- a/webapp/packages/plugin-authentication/src/locales/zh.ts
+++ b/webapp/packages/plugin-authentication/src/locales/zh.ts
@@ -8,16 +8,16 @@
export default [
['authentication_login_dialog_title', '认证'],
['authentication_login', '登录'],
- ['authentication_logout', '登出'],
- ['authentication_logout_error', "Can't logout"],
+ ['authentication_logout', '注销'],
+ ['authentication_logout_error', "无法注销"],
['authentication_authenticate', '认证'],
- ['authentication_authorizing', 'Authorizing...'],
+ ['authentication_authorizing', '认证中...'],
['authentication_auth_federated', '联合认证'],
- ['authentication_auth_force_session_logout', 'Force all other sessions logout'],
- ['authentication_auth_force_session_logout_popup_title', 'Logout other sessions'],
- ['authentication_auth_force_session_logout_popup_message', 'All users will be logged out from all of the devices. Do you want to continue?'],
- ['authentication_auth_force_session_logout_checkbox_tooltip', 'To apply this option you need to login again'],
- ['authentication_auth_additional', 'Additional'],
+ ['authentication_auth_force_session_logout', '强制注销所有其他会话'],
+ ['authentication_auth_force_session_logout_popup_title', '注销其他会话'],
+ ['authentication_auth_force_session_logout_popup_message', '所有用户都将从所有设备中注销。是否要继续?'],
+ ['authentication_auth_force_session_logout_checkbox_tooltip', '要应用此选项,您需要再次登录'],
+ ['authentication_auth_additional', '更多'],
['authentication_select_provider', '选择可用提供者'],
['authentication_configure', '请配置认证方法'],
['authentication_provider_disabled', '认证方法已禁用'],
@@ -32,19 +32,19 @@ export default [
['authentication_team_meta_parameters', '参数'],
['authentication_user_password', '用户密码'],
['authentication_user_password_repeat', '重复密码'],
- ['authentication_user_status', 'User status'],
- ['authentication_user_enabled', 'Enabled'],
+ ['authentication_user_status', '用户状态'],
+ ['authentication_user_enabled', '可用'],
['authentication_user_login_not_set', '用户名不能为空'],
- ['authentication_user_role_not_set', '{alias:authentication_user_role} is required'],
+ ['authentication_user_role_not_set', '{alias:authentication_user_role} 必须'],
['authentication_user_password_not_set', '密码是必须的'],
['authentication_user_passwords_not_match', '密码不匹配'],
['authentication_user_login_already_exists', '同名用户已存在'],
['authentication_user_login_cant_be_used', '抱歉,不能使用该名称'],
['authentication_user_icon_tooltip', '用户'],
- ['plugin_authentication_user_loading_error', "Can't load user data"],
- ['plugin_authentication_loading_error_dialog_title', 'Authentication error'],
- ['plugin_authentication_loading_error_dialog_message', 'An error occurred while loading user data. Do you want to logout?'],
+ ['plugin_authentication_user_loading_error', "无法加载用户数据"],
+ ['plugin_authentication_loading_error_dialog_title', '认证错误'],
+ ['plugin_authentication_loading_error_dialog_message', '加载用户数据出错,是否注销?'],
- ['plugin_authentication_authentication_method_disabled', 'Authentication method is disabled, please configure authentication methods in settings'],
+ ['plugin_authentication_authentication_method_disabled', '认证方式禁用,请在设置中设定认证方式'],
];
diff --git a/webapp/packages/plugin-browser/src/locales/zh.ts b/webapp/packages/plugin-browser/src/locales/zh.ts
index 0c7ce89638..93e121fbdc 100644
--- a/webapp/packages/plugin-browser/src/locales/zh.ts
+++ b/webapp/packages/plugin-browser/src/locales/zh.ts
@@ -6,6 +6,6 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['plugin_browser_update_dialog_title', 'Update in progress...'],
- ['plugin_browser_update_dialog_message', 'New version of CloudBeaver is available. Do you want to update?'],
+ ['plugin_browser_update_dialog_title', '正在进行更新...'],
+ ['plugin_browser_update_dialog_message', 'CloudBeaver新版本可用,是否更新?'],
];
diff --git a/webapp/packages/plugin-connection-custom/src/locales/zh.ts b/webapp/packages/plugin-connection-custom/src/locales/zh.ts
index f675f5f749..9d0096646e 100644
--- a/webapp/packages/plugin-connection-custom/src/locales/zh.ts
+++ b/webapp/packages/plugin-connection-custom/src/locales/zh.ts
@@ -1,21 +1,28 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
['customConnection_connectionType_custom', '参数'],
['customConnection_connectionType_url', 'URL'],
- ['customConnection_main', 'Main'],
+ ['customConnection_main', '主要'],
['customConnection_properties', '驱动属性'],
['customConnection_custom_name', '名称'],
['customConnection_custom_host', '主机'],
['customConnection_custom_obligatory', '(强制性的)'],
['customConnection_custom_port', '端口'],
- ['customConnection_custom_server_name', 'Server name'],
+ ['customConnection_custom_server_name', '服务器名称'],
['customConnection_custom_database', '数据库'],
['customConnection_custom_server', '服务器'],
['customConnection_url_JDBC', 'JDBC URL'],
- ['customConnection_folder', 'Folder'],
+ ['customConnection_folder', '文件夹'],
['customConnection_userName', '用户名称'],
['customConnection_Password', '密码'],
['customConnection_test', '测试连接'],
['customConnection_create', '创建'],
['customConnection_create_error', '创建连接失败'],
- ['plugin_connection_custom_action_custom_label', 'New Connection'],
+ ['plugin_connection_custom_action_custom_label', '新建连接'],
];
diff --git a/webapp/packages/plugin-connection-search/src/locales/zh.ts b/webapp/packages/plugin-connection-search/src/locales/zh.ts
index 50ae687c7f..11e6f384da 100644
--- a/webapp/packages/plugin-connection-search/src/locales/zh.ts
+++ b/webapp/packages/plugin-connection-search/src/locales/zh.ts
@@ -1 +1,8 @@
-export default [['plugin_connection_search_action_search_label', 'Find Local Database']];
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
+export default [['plugin_connection_search_action_search_label', '查找本地数据库']];
diff --git a/webapp/packages/plugin-connection-template/src/locales/zh.ts b/webapp/packages/plugin-connection-template/src/locales/zh.ts
index 74e0fd9cca..c9b0b566d4 100644
--- a/webapp/packages/plugin-connection-template/src/locales/zh.ts
+++ b/webapp/packages/plugin-connection-template/src/locales/zh.ts
@@ -1,3 +1,10 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
['basicConnection_connectionDialog_newConnection', '新连接'],
['basicConnection_connectionDialog_title', '连接数据库'],
@@ -8,6 +15,6 @@ export default [
['basicConnection_connectionDialog_passwordPlaceholder', '密码'],
['basicConnection_connectionDialog_connecting', '连接中...'],
['basicConnection_connectionDialog_connecting_message', '连接数据库...'],
- ['plugin_connection_template_connect_success', 'Connection is established'],
+ ['plugin_connection_template_connect_success', '已建立连接'],
['plugin_connection_template_action_connection_template_label', '从模板创建'],
];
diff --git a/webapp/packages/plugin-connections-administration/src/locales/zh.ts b/webapp/packages/plugin-connections-administration/src/locales/zh.ts
index 8e39a74adf..ad68e6ebc9 100644
--- a/webapp/packages/plugin-connections-administration/src/locales/zh.ts
+++ b/webapp/packages/plugin-connections-administration/src/locales/zh.ts
@@ -1,3 +1,10 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
['connections_public_connection_edit_menu_item_title', '编辑连接'],
['connections_public_connection_edit_cancel_title', '取消确认'],
@@ -8,6 +15,6 @@ export default [
['connections_administration_deactivate_message', '您的连接设置将丢失。您要继续吗?'],
[
'templates_administration_info_message',
- 'The templates enable administrators to define various reusable connection parameters, subsequently allowing users to create multiple connections based on these templates.',
+ '管理员可在数据库连接模板中定义各种可重用的连接参数,之后用户可基于这些模板创建多个数据库连接。',
],
];
diff --git a/webapp/packages/plugin-connections/src/locales/zh.ts b/webapp/packages/plugin-connections/src/locales/zh.ts
index f2613ea6a8..77889926b8 100644
--- a/webapp/packages/plugin-connections/src/locales/zh.ts
+++ b/webapp/packages/plugin-connections/src/locales/zh.ts
@@ -1,3 +1,10 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
['connections_public_connection_edit_menu_item_title', '编辑连接'],
['connections_public_connection_edit_cancel_title', '取消确认'],
@@ -5,25 +12,25 @@ export default [
['connections_public_connection_edit_reconnect_title', '连接已更新'],
['connections_public_connection_edit_reconnect_message', '连接已更新。您想重新连接吗?'],
['connections_public_connection_edit_reconnect_failed', '重新连接失败'],
- ['connections_public_connection_folder_move_failed', 'Failed to move to folder'],
- ['connections_public_connection_folder_move_duplication', 'Target folder or selected folders contains folder with the same name ({arg:name})'],
- ['plugin_connections_connection_form_project_invalid', 'You have no access to create connections in selected project'],
- ['plugin_connections_connection_form_host_configuration_invalid', 'Host configuration is not supported'],
- ['plugin_connections_connection_form_name_invalid', "Field 'Connection name' can't be empty"],
- ['plugin_connections_connection_form_host_invalid', "Field 'Host' can't be empty"],
- ['connections_public_connection_folder_delete_confirmation', 'You\'re going to delete "{arg:name}". Connections won\'t be deleted. Are you sure?'],
+ ['connections_public_connection_folder_move_failed', '移动到文件夹失败'],
+ ['connections_public_connection_folder_move_duplication', '目标文件夹或所选文件夹包含同名文件夹 ({arg:name})'],
+ ['plugin_connections_connection_form_project_invalid', '您无权在所选项目中创建连接'],
+ ['plugin_connections_connection_form_host_configuration_invalid', '不支持主机配置'],
+ ['plugin_connections_connection_form_name_invalid', "字段 '连接名称' 不可为空"],
+ ['plugin_connections_connection_form_host_invalid', "字段 '主机' 不可为空"],
+ ['connections_public_connection_folder_delete_confirmation', '即将删除 "{arg:name}". 连接并不会删除,是否确定?'],
['plugin_connections_menu_connections_label', '连接'],
['plugin_connections_action_disconnect_all_label', '断开所有连接'],
- ['settings_connections', 'Connections'],
- ['settings_connections_hide_connections_view_name', 'Show connections to admins only'],
- ['settings_connections_hide_connections_view_description', 'Show connections to admins only'],
+ ['settings_connections', '连接'],
+ ['settings_connections_hide_connections_view_name', '仅对管理员显示连接'],
+ ['settings_connections_hide_connections_view_description', '仅对管理员显示连接'],
- ['connections_public_connection_ssl_enable', 'Enable SSL'],
+ ['connections_public_connection_ssl_enable', '启用 SSL'],
- ['plugin_connections_connection_form_shared_credentials_manage_info', 'You can manage credentials in the '],
- ['plugin_connections_connection_form_shared_credentials_manage_info_tab_link', 'Credentials tab'],
+ ['plugin_connections_connection_form_shared_credentials_manage_info', '您可在此管理凭证 '],
+ ['plugin_connections_connection_form_shared_credentials_manage_info_tab_link', '凭证页签'],
[
'plugin_connections_connection_auth_secret_description',
- 'There are multiple credentials available for authentication.\nPlease choose credentials you want to use.',
+ '有多个凭证可用于身份验证.\n请选择您要使用的凭证。',
],
];
diff --git a/webapp/packages/plugin-data-export/src/locales/zh.ts b/webapp/packages/plugin-data-export/src/locales/zh.ts
index bc88797a14..2b1c78d6da 100644
--- a/webapp/packages/plugin-data-export/src/locales/zh.ts
+++ b/webapp/packages/plugin-data-export/src/locales/zh.ts
@@ -1,5 +1,12 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_data_export_data_export_settings_group', 'Data export'],
+ ['plugin_data_export_data_export_settings_group', '数据导出'],
['data_transfer_dialog_title', '导出数据'],
['data_transfer_dialog_export', '导出'],
['data_transfer_dialog_export_tooltip', '将结果集导出为文件'],
@@ -13,7 +20,7 @@ export default [
['data_transfer_notification_delete', '删除'],
['data_transfer_exporting_table', '表:'],
['data_transfer_exporting_sql', 'SQL:'],
- ['data_transfer_dialog_select_processor_fail', 'Failed to select processor'],
+ ['data_transfer_dialog_select_processor_fail', '选择处理器失败'],
- ['data_transfer_output_settings_compress', 'Compression'],
+ ['data_transfer_output_settings_compress', '压缩'],
];
diff --git a/webapp/packages/plugin-data-import/src/locales/zh.ts b/webapp/packages/plugin-data-import/src/locales/zh.ts
index 4708ccda90..d10de0976a 100644
--- a/webapp/packages/plugin-data-import/src/locales/zh.ts
+++ b/webapp/packages/plugin-data-import/src/locales/zh.ts
@@ -6,9 +6,9 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['plugin_data_import_title', 'Data import'],
- ['plugin_data_import_process_title', 'Importing data...'],
- ['plugin_data_import_process_success', 'Data imported successfully'],
- ['plugin_data_import_process_fail', 'Data import failed'],
- ['plugin_data_import_process_file_processing_step_message', 'File uploaded, processing...'],
+ ['plugin_data_import_title', '数据导入'],
+ ['plugin_data_import_process_title', '正在导入数据...'],
+ ['plugin_data_import_process_success', '数据导入成功'],
+ ['plugin_data_import_process_fail', '数据导入失败'],
+ ['plugin_data_import_process_file_processing_step_message', '文件已上传,正在处理...'],
];
diff --git a/webapp/packages/plugin-data-spreadsheet-new/src/locales/zh.ts b/webapp/packages/plugin-data-spreadsheet-new/src/locales/zh.ts
index 2723d2454a..dc23b2220a 100644
--- a/webapp/packages/plugin-data-spreadsheet-new/src/locales/zh.ts
+++ b/webapp/packages/plugin-data-spreadsheet-new/src/locales/zh.ts
@@ -1,10 +1,17 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
['data_grid_table_empty_placeholder', '该表不包含任何列'],
['data_grid_table_editing', '编辑'],
['data_grid_table_editing_set_to_null', '设置为NULL'],
['data_grid_table_editing_open_inline_editor', '打开內联编辑器'],
['data_grid_table_editing_row_add', '添加行'],
- ['data_grid_table_editing_row_add_copy', 'Duplicate row'],
+ ['data_grid_table_editing_row_add_copy', '复制并添加行'],
['data_grid_table_editing_row_delete', '删除当前行'],
['data_grid_table_editing_row_revert', '还原值'],
['data_grid_table_order', '排序'],
@@ -19,8 +26,8 @@ export default [
['data_grid_table_tooltip_column_header_order', '按列排序'],
['data_grid_table_context_menu_filter_dialog_title', '编辑值'],
['data_grid_table_context_menu_filter_clipboard_permission', '授予访问剪贴板的权限'],
- ['data_grid_table_context_menu_save_value_error', 'Failed to save value'],
+ ['data_grid_table_context_menu_save_value_error', '保存失败'],
['data_grid_table_index_column_tooltip', '选择整个表'],
['data_grid_table_readonly_tooltip', '只读'],
- ['plugin_data_spreadsheet_new_settings_disable', 'Disable Table presentation'],
+ ['plugin_data_spreadsheet_new_settings_disable', '禁用表显示'],
];
diff --git a/webapp/packages/plugin-data-viewer-result-set-grouping/src/locales/zh.ts b/webapp/packages/plugin-data-viewer-result-set-grouping/src/locales/zh.ts
index 73bbec4faa..5d7e7da9d7 100644
--- a/webapp/packages/plugin-data-viewer-result-set-grouping/src/locales/zh.ts
+++ b/webapp/packages/plugin-data-viewer-result-set-grouping/src/locales/zh.ts
@@ -1,14 +1,21 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_data_viewer_result_set_grouping_title', 'Grouping'],
- ['plugin_data_viewer_result_set_grouping_placeholder', 'There is no data to show.\nDrag and drop a column from the result viewer to group values.'],
- ['plugin_data_viewer_result_set_grouping_column_delete_tooltip', 'Remove grouping by selected columns'],
- ['plugin_data_viewer_result_set_grouping_action_show_duplicates', 'Show duplicates'],
- ['plugin_data_viewer_result_set_grouping_action_show_all', 'Show all'],
- ['plugin_data_viewer_result_set_grouping_action_configure', 'Configure'],
- ['plugin_data_viewer_result_set_grouping_action_configure_tooltip', 'Edit grouping configuration'],
- ['plugin_data_viewer_result_set_grouping_grouping_configuration', 'Grouping configuration'],
- ['plugin_data_viewer_result_set_grouping_grouping_columns', 'Columns'],
- ['plugin_data_viewer_result_set_grouping_grouping_functions', 'Functions'],
- ['plugin_data_viewer_result_set_grouping_grouping_columns_placeholder', 'Enter new column name'],
- ['plugin_data_viewer_result_set_grouping_grouping_functions_placeholder', 'Enter function (e.g., SUM(salary), AVG(score))'],
+ ['plugin_data_viewer_result_set_grouping_title', '分组'],
+ ['plugin_data_viewer_result_set_grouping_placeholder', '无显示结果。\n从结果查看器中拖放列以对值进行分组。'],
+ ['plugin_data_viewer_result_set_grouping_column_delete_tooltip', '移除所选列分组'],
+ ['plugin_data_viewer_result_set_grouping_action_show_duplicates', '查看重复'],
+ ['plugin_data_viewer_result_set_grouping_action_show_all', '查看全部'],
+ ['plugin_data_viewer_result_set_grouping_action_configure', '配置'],
+ ['plugin_data_viewer_result_set_grouping_action_configure_tooltip', '编辑分组配置'],
+ ['plugin_data_viewer_result_set_grouping_grouping_configuration', '分组配置'],
+ ['plugin_data_viewer_result_set_grouping_grouping_columns', '列'],
+ ['plugin_data_viewer_result_set_grouping_grouping_functions', '函数'],
+ ['plugin_data_viewer_result_set_grouping_grouping_columns_placeholder', '输入新列名'],
+ ['plugin_data_viewer_result_set_grouping_grouping_functions_placeholder', '输入函数 (如 SUM(salary), AVG(score))'],
];
diff --git a/webapp/packages/plugin-data-viewer-result-trace-details/src/locales/zh.ts b/webapp/packages/plugin-data-viewer-result-trace-details/src/locales/zh.ts
index fa1dbc8fe5..da55f5c372 100644
--- a/webapp/packages/plugin-data-viewer-result-trace-details/src/locales/zh.ts
+++ b/webapp/packages/plugin-data-viewer-result-trace-details/src/locales/zh.ts
@@ -6,6 +6,6 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['plugin_data_viewer_result_trace_details', 'Result details'],
- ['plugin_data_viewer_result_trace_no_data_placeholder', 'No trace details were found'],
+ ['plugin_data_viewer_result_trace_details', '结果明细'],
+ ['plugin_data_viewer_result_trace_no_data_placeholder', '未找到跟踪详细信息'],
];
diff --git a/webapp/packages/plugin-data-viewer/src/locales/zh.ts b/webapp/packages/plugin-data-viewer/src/locales/zh.ts
index 0dfd2f7c4f..b96e186118 100644
--- a/webapp/packages/plugin-data-viewer/src/locales/zh.ts
+++ b/webapp/packages/plugin-data-viewer/src/locales/zh.ts
@@ -6,9 +6,9 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['plugin_data_viewer_data_viewer_settings_group', 'Data Viewer'],
+ ['plugin_data_viewer_data_viewer_settings_group', '数据查看器'],
['table_header_sql_expression', '输入SQL表达式以过滤结果'],
- ['table_header_sql_expression_not_supported', 'Data filter is not supported'],
+ ['table_header_sql_expression_not_supported', '不支持数据过滤器'],
['data_viewer_tab_title', '数据'],
['data_viewer_value_edit', '编辑'],
['data_viewer_value_apply', '应用'],
@@ -18,26 +18,26 @@ export default [
['data_viewer_statistics_status', '状态:'],
['data_viewer_statistics_duration', '用时:'],
['data_viewer_statistics_updated_rows', '更新行:'],
- ['data_viewer_action_refresh', 'Refresh'],
- ['data_viewer_action_refresh_tooltip', 'Refresh the data'],
- ['data_viewer_action_auto_refresh_stop_tooltip', 'Stop auto-refresh'],
- ['data_viewer_action_auto_refresh_menu_tooltip', 'Auto-refresh settings'],
- ['data_viewer_action_auto_refresh_menu_stop_tooltip', 'Stop auto-refreshing data'],
- ['data_viewer_action_auto_refresh_menu_configure_tooltip', 'Configure auto-refresh settings'],
- ['data_viewer_action_auto_refresh_interval_tooltip', 'Set auto-refresh interval to {arg:interval}'],
+ ['data_viewer_action_refresh', '刷新'],
+ ['data_viewer_action_refresh_tooltip', '刷新数据'],
+ ['data_viewer_action_auto_refresh_stop_tooltip', '停止自动刷新'],
+ ['data_viewer_action_auto_refresh_menu_tooltip', '自动刷新设置'],
+ ['data_viewer_action_auto_refresh_menu_stop_tooltip', '停止自动刷新数据'],
+ ['data_viewer_action_auto_refresh_menu_configure_tooltip', '配置自动刷新'],
+ ['data_viewer_action_auto_refresh_interval_tooltip', '自动刷新间隔设置为 {arg:interval}'],
['data_viewer_action_edit_delete', '删除选中'],
['data_viewer_action_edit_add', '添加'],
- ['data_viewer_action_edit_add_copy', 'Duplicate'],
+ ['data_viewer_action_edit_add_copy', '复制并添加行'],
['data_viewer_action_edit_revert', '还原选中'],
['data_viewer_result_edited_title', '保存更改'],
['data_viewer_result_edited_message', '结果集已编辑。是否将更改保存到数据库?'],
- ['data_viewer_data_save_error_title', 'Error occurred while saving changes'],
- ['plugin_data_viewer_auto_refresh_settings', 'Auto-Refresh Settings'],
- ['plugin_data_viewer_auto_refresh_settings_stop_on_error', 'Stop on error'],
- ['data_viewer_presentation_value_no_active_elements', 'No selected table cells'],
+ ['data_viewer_data_save_error_title', '保存更改时出错'],
+ ['plugin_data_viewer_auto_refresh_settings', '自动刷新设置'],
+ ['plugin_data_viewer_auto_refresh_settings_stop_on_error', '出错时停止'],
+ ['data_viewer_presentation_value_no_active_elements', '未选择表单元格'],
['data_viewer_presentation_value_title', '值'],
- ['data_viewer_presentation_value_text_line_wrapping_wrap', 'Wrap lines'],
- ['data_viewer_presentation_value_text_line_wrapping_no_wrap', "Don't wrap lines"],
+ ['data_viewer_presentation_value_text_line_wrapping_wrap', '换行'],
+ ['data_viewer_presentation_value_text_line_wrapping_no_wrap', "不用换行"],
['data_viewer_presentation_value_text_title', '文本'],
['data_viewer_presentation_value_text_plain_title', '文本'],
['data_viewer_presentation_value_text_html_title', 'HTML'],
@@ -49,33 +49,33 @@ export default [
['data_viewer_presentation_value_image_fit', '适应窗口'],
['data_viewer_presentation_value_image_original_size', '原始尺寸'],
['data_viewer_presentation_value_boolean_placeholder', '无法将当前值显示为布尔值'],
- ['data_viewer_presentation_value_content_truncated_placeholder', 'The value was truncated because of the'],
- ['data_viewer_presentation_value_content_download_error', 'Download failed'],
- ['data_viewer_presentation_value_content_paste_error', 'Cannot load full text'],
+ ['data_viewer_presentation_value_content_truncated_placeholder', '值被截断,因为'],
+ ['data_viewer_presentation_value_content_download_error', '下载失败'],
+ ['data_viewer_presentation_value_content_paste_error', '无法加载全文本'],
['data_viewer_script_preview', '脚本'],
['data_viewer_script_preview_dialog_title', '预览更改'],
['data_viewer_script_preview_error_title', '无法获取脚本'],
- ['data_viewer_refresh_result_set', 'Refresh result set'],
- ['data_viewer_total_count_failed', 'Failed to get total count'],
- ['data_viewer_total_count_tooltip', 'Get total count'],
- ['data_viewer_total_count_canceled_title', 'Total count canceled'],
- ['data_viewer_total_count_canceled_message', 'Statement was cancelled due to user request'],
- ['data_viewer_model_not_loaded', 'Table model is not loaded'],
- ['data_viewer_copy_not_allowed', 'An ability to copy data is disabled'],
- ['data_viewer_copy_not_allowed_message', 'If this was unexpected, contact the administrator'],
- ['settings_data_editor', 'Data Editor'],
- ['settings_data_editor_disable_edit_name', 'Disable Edit'],
- ['settings_data_editor_disable_edit_description', 'Disable editing of data in Data Viewer for non-admin users'],
- ['settings_data_editor_disable_data_copy_name', 'Disable Copy'],
- ['settings_data_editor_disable_data_copy_description', 'Disable copying of data in Data Viewer for non-admin users'],
- ['settings_data_editor_disable_data_export_name', 'Disable Export'],
- ['settings_data_editor_disable_data_export_description', 'Disable exporting of data in Data Viewer for non-admin users'],
- ['settings_data_editor_fetch_min_name', 'Minimum fetch size'],
- ['settings_data_editor_fetch_min_description', 'Minimum number of rows to fetch'],
- ['settings_data_editor_fetch_max_name', 'Maximum fetch size'],
- ['settings_data_editor_fetch_max_description', 'Maximum number of rows to fetch'],
- ['settings_data_editor_fetch_default_name', 'Default fetch size'],
- ['settings_data_editor_fetch_default_description', 'Default number of rows to fetch'],
- ['plugin_data_viewer_no_available_presentation', 'No available presentation'],
- ['plugin_data_viewer_result_set_save_success', 'Saved successfully'],
+ ['data_viewer_refresh_result_set', '刷新结果设置'],
+ ['data_viewer_total_count_failed', '获取总数失败'],
+ ['data_viewer_total_count_tooltip', '获取总数'],
+ ['data_viewer_total_count_canceled_title', '取消计算总数'],
+ ['data_viewer_total_count_canceled_message', '由于用户请求,计数已被取消'],
+ ['data_viewer_model_not_loaded', '表模型未加载'],
+ ['data_viewer_copy_not_allowed', '复制数据的功能已禁用'],
+ ['data_viewer_copy_not_allowed_message', '如果这是意外的,请联系管理员'],
+ ['settings_data_editor', '数据编辑器'],
+ ['settings_data_editor_disable_edit_name', '禁用编辑'],
+ ['settings_data_editor_disable_edit_description', '在数据查看器中为非管理员用户禁用数据编辑'],
+ ['settings_data_editor_disable_data_copy_name', '禁用复制'],
+ ['settings_data_editor_disable_data_copy_description', '在数据查看器中为非管理员用户禁用数据复制'],
+ ['settings_data_editor_disable_data_export_name', '禁用导出'],
+ ['settings_data_editor_disable_data_export_description', '在数据查看器中为非管理员用户禁用数据导出'],
+ ['settings_data_editor_fetch_min_name', '最少查询数量'],
+ ['settings_data_editor_fetch_min_description', '最少查询数据行数'],
+ ['settings_data_editor_fetch_max_name', '最大查询数量'],
+ ['settings_data_editor_fetch_max_description', '最大查询数据行数'],
+ ['settings_data_editor_fetch_default_name', '默认查询数量'],
+ ['settings_data_editor_fetch_default_description', '默认查询数据行数'],
+ ['plugin_data_viewer_no_available_presentation', '无可用展示项'],
+ ['plugin_data_viewer_result_set_save_success', '保存成功'],
];
diff --git a/webapp/packages/plugin-datasource-context-switch/src/locales/zh.ts b/webapp/packages/plugin-datasource-context-switch/src/locales/zh.ts
index 9fce7aa852..e97018d1c8 100644
--- a/webapp/packages/plugin-datasource-context-switch/src/locales/zh.ts
+++ b/webapp/packages/plugin-datasource-context-switch/src/locales/zh.ts
@@ -1,8 +1,15 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_datasource_context_switch_select_connection', 'Select connection'],
- ['plugin_datasource_context_switch_select_container', 'Select container'],
+ ['plugin_datasource_context_switch_select_connection', '选择数据库连接'],
+ ['plugin_datasource_context_switch_select_container', '选择库/目录'],
[
'plugin_datasource_context_switch_select_container_tooltip',
- 'The changes will be applied to all active scripts associated with a "{arg:name}" connection',
+ '这些更改将应用于与 "{arg:name}" 连接关联的所有活动脚本',
],
];
diff --git a/webapp/packages/plugin-datasource-transaction-manager/src/locales/zh.ts b/webapp/packages/plugin-datasource-transaction-manager/src/locales/zh.ts
index f113567706..ad0fc52178 100644
--- a/webapp/packages/plugin-datasource-transaction-manager/src/locales/zh.ts
+++ b/webapp/packages/plugin-datasource-transaction-manager/src/locales/zh.ts
@@ -1,10 +1,17 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_datasource_transaction_manager_commit', 'Commit'],
- ['plugin_datasource_transaction_manager_rollback', 'Rollback'],
- ['plugin_datasource_transaction_manager_commit_mode_switch_to_auto', 'Switch to auto-commit'],
- ['plugin_datasource_transaction_manager_commit_mode_switch_to_manual', 'Switch to manual commit'],
- ['plugin_datasource_transaction_manager_commit_fail', 'Failed to commit transaction'],
- ['plugin_datasource_transaction_manager_rollback_fail', 'Failed to rollback transaction'],
- ['plugin_datasource_transaction_manager_commit_mode_fail', 'Failed to change commit mode'],
- ['plugin_datasource_transaction_manager_commit_confirmation_message', 'Do you want to commit changes?'],
+ ['plugin_datasource_transaction_manager_commit', '提交'],
+ ['plugin_datasource_transaction_manager_rollback', '回滚'],
+ ['plugin_datasource_transaction_manager_commit_mode_switch_to_auto', '切换至自动提交'],
+ ['plugin_datasource_transaction_manager_commit_mode_switch_to_manual', '切换至手动提交'],
+ ['plugin_datasource_transaction_manager_commit_fail', '提交事务失败'],
+ ['plugin_datasource_transaction_manager_rollback_fail', '回滚事务失败'],
+ ['plugin_datasource_transaction_manager_commit_mode_fail', '切换提交方式失败'],
+ ['plugin_datasource_transaction_manager_commit_confirmation_message', '是否提交更改?'],
];
diff --git a/webapp/packages/plugin-help/src/locales/zh.ts b/webapp/packages/plugin-help/src/locales/zh.ts
index 574180f9b8..c3e10bb627 100644
--- a/webapp/packages/plugin-help/src/locales/zh.ts
+++ b/webapp/packages/plugin-help/src/locales/zh.ts
@@ -1,22 +1,29 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['shortcuts_title', 'Shortcuts'],
+ ['shortcuts_title', '快捷操作'],
- ['data_viewer_shortcut_start_inline_editing', 'Open Inline Editor for the selected Cell'],
- ['data_viewer_shortcut_add_new_row', 'Add a new Row'],
- ['data_viewer_shortcut_duplicate_row', 'Duplicate row'],
- ['data_viewer_shortcut_delete_row', 'Delete row'],
- ['data_viewer_shortcut_revert_inline_editor_changes', 'Revert Inline Editor changes'],
- ['data_viewer_shortcut_past_value', 'Past value to the Cell from the Clipboard'],
- ['data_viewer_shortcut_copy_value', 'Copy Cell value to the Clipboard'],
+ ['data_viewer_shortcut_start_inline_editing', '为所选单元格打开内联编辑器'],
+ ['data_viewer_shortcut_add_new_row', '添加行'],
+ ['data_viewer_shortcut_duplicate_row', '复制行'],
+ ['data_viewer_shortcut_delete_row', '删除行'],
+ ['data_viewer_shortcut_revert_inline_editor_changes', '还原内联编辑器更改'],
+ ['data_viewer_shortcut_past_value', '粘贴剪贴板内容至单元格'],
+ ['data_viewer_shortcut_copy_value', '复制单元格值至剪贴板'],
- ['sql_editor_shortcut_execute_statement', 'Execute SQL statement'],
- ['sql_editor_shortcut_execute_statement_new_tab', 'Execute SQL statement in the new Tab'],
- ['sql_editor_shortcut_execute_script', 'Execute script'],
- ['sql_editor_shortcut_show_execution_plan', 'Show Execution plan'],
- ['sql_editor_shortcut_format', 'Format script'],
- ['sql_editor_shortcut_open_editor_in_new_tab', 'Open SQL Editor in the separate browser Tab'],
- ['sql_editor_shortcut_undo', 'Undo'],
- ['sql_editor_shortcut_redo', 'Redo'],
+ ['sql_editor_shortcut_execute_statement', '执行SQL语句'],
+ ['sql_editor_shortcut_execute_statement_new_tab', '在新标签下执行SQL语句'],
+ ['sql_editor_shortcut_execute_script', '执行脚本'],
+ ['sql_editor_shortcut_show_execution_plan', '显示执行计划'],
+ ['sql_editor_shortcut_format', '格式化脚本'],
+ ['sql_editor_shortcut_open_editor_in_new_tab', '在单独的浏览器标签下打开SQL编辑器'],
+ ['sql_editor_shortcut_undo', '撤销'],
+ ['sql_editor_shortcut_redo', '重做'],
- ['navigation_tree_shortcut_enable_filter', 'Enable filtering'],
+ ['navigation_tree_shortcut_enable_filter', '启用过滤'],
];
diff --git a/webapp/packages/plugin-log-viewer/src/locales/zh.ts b/webapp/packages/plugin-log-viewer/src/locales/zh.ts
index 4196169990..f603cda99f 100644
--- a/webapp/packages/plugin-log-viewer/src/locales/zh.ts
+++ b/webapp/packages/plugin-log-viewer/src/locales/zh.ts
@@ -1,5 +1,12 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_log_viewer_log_viewer_settings_group', 'Log viewer'],
+ ['plugin_log_viewer_log_viewer_settings_group', '日志查看器'],
['plugin_log_viewer_action_enable_label', '日志查看器'],
['plugin_log_viewer_placeholder', '日志查看器未激活'],
['plugin_log_viewer_clear_log', '清除日志'],
diff --git a/webapp/packages/plugin-navigation-tree-filters/src/locales/zh.ts b/webapp/packages/plugin-navigation-tree-filters/src/locales/zh.ts
index 4eed869dc7..46bf7b63d8 100644
--- a/webapp/packages/plugin-navigation-tree-filters/src/locales/zh.ts
+++ b/webapp/packages/plugin-navigation-tree-filters/src/locales/zh.ts
@@ -1,11 +1,18 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_navigation_tree_filters_title', 'Filters'],
- ['plugin_navigation_tree_filters_info', 'You can use masks (%,_and*)'],
- ['plugin_navigation_tree_filters_configuration', 'Configure "{arg:name}" filter'],
- ['plugin_navigation_tree_filters_reset', 'Reset filter'],
- ['plugin_navigation_tree_filters_filter', 'Filter'],
- ['plugin_navigation_tree_filters_include', 'Include'],
- ['plugin_navigation_tree_filters_exclude', 'Exclude'],
- ['plugin_navigation_tree_filters_submit_fail', 'Failed to apply filters'],
- ['plugin_navigation_tree_filters_reset_fail', 'Failed to reset filters'],
+ ['plugin_navigation_tree_filters_title', '过滤器'],
+ ['plugin_navigation_tree_filters_info', '可使用通配符 (%,_和*)'],
+ ['plugin_navigation_tree_filters_configuration', '配置 "{arg:name}" 过滤器'],
+ ['plugin_navigation_tree_filters_reset', '重置过滤器'],
+ ['plugin_navigation_tree_filters_filter', '过滤器'],
+ ['plugin_navigation_tree_filters_include', '包含'],
+ ['plugin_navigation_tree_filters_exclude', '排除'],
+ ['plugin_navigation_tree_filters_submit_fail', '应用过滤器失败'],
+ ['plugin_navigation_tree_filters_reset_fail', '重置过滤器失败'],
];
diff --git a/webapp/packages/plugin-navigation-tree-rm/src/locales/zh.ts b/webapp/packages/plugin-navigation-tree-rm/src/locales/zh.ts
index 19c2d0f8b3..6c0ec0b758 100644
--- a/webapp/packages/plugin-navigation-tree-rm/src/locales/zh.ts
+++ b/webapp/packages/plugin-navigation-tree-rm/src/locales/zh.ts
@@ -1 +1,8 @@
-export default [['plugin_navigation_tree_rm_delete_confirmation_message', 'You\'re going to delete "{arg:name}" resource. Are you sure?']];
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
+export default [['plugin_navigation_tree_rm_delete_confirmation_message', '确定要删除资源 "{arg:name}" ?']];
diff --git a/webapp/packages/plugin-navigation-tree/src/locales/zh.ts b/webapp/packages/plugin-navigation-tree/src/locales/zh.ts
index e1a3727833..93ef70a7b5 100644
--- a/webapp/packages/plugin-navigation-tree/src/locales/zh.ts
+++ b/webapp/packages/plugin-navigation-tree/src/locales/zh.ts
@@ -1,38 +1,45 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_navigation_tree_explorer_tab_title', 'Explorer'],
- ['app_navigationTree_search', 'Search elements...'],
- ['app_navigationTree_limited', 'Elements are limited to {arg:limit} items'],
- ['app_navigationTree_action_link_with_editor', 'Link with editor'],
- ['app_navigationTree_action_collapse_all', 'Collapse all'],
- ['app_navigationTree_settings_filter_title', 'Filter'],
- ['app_navigationTree_settings_filter_description', 'Show filtering field'],
- ['app_navigationTree_settings_filter_all_title', 'Show collapsed'],
- ['app_navigationTree_settings_filter_all_description', 'Shows filtered elements in collapsed folders'],
- ['app_navigationTree_settings_state_title', 'Save tree state'],
- ['app_navigationTree_settings_state_description', 'Reopen expanded nodes after page refresh'],
- ['app_navigationTree_settings_folders_title', 'Folders'],
- ['app_navigationTree_settings_folders_description', 'Open any node as tree root node'],
- ['app_navigationTree_node_delete_confirmation', 'You\'re going to delete "{arg:name}". Are you sure?'],
- ['app_navigationTree_node_folder_delete_confirmation', 'All content in the selected folder will be deleted.'],
- ['app_navigationTree_node_delete_error', 'Failed to delete "{arg:name}'],
- ['app_navigationTree_node_rename_error', 'Error occurred while renaming'],
- ['app_navigationTree_node_empty', 'Empty'],
- ['app_navigationTree_node_no_results', "We're sorry. There no matching results for '{arg:filter}'"],
+ ['plugin_navigation_tree_explorer_tab_title', '浏览器'],
+ ['app_navigationTree_search', '搜索...'],
+ ['app_navigationTree_limited', '元素数量限制为 {arg:limit} '],
+ ['app_navigationTree_action_link_with_editor', '连接至编辑器'],
+ ['app_navigationTree_action_collapse_all', '收起全部'],
+ ['app_navigationTree_settings_filter_title', '过滤器'],
+ ['app_navigationTree_settings_filter_description', '查看过滤字段'],
+ ['app_navigationTree_settings_filter_all_title', '查看收缩项'],
+ ['app_navigationTree_settings_filter_all_description', '显示已收缩的文件夹中已过滤的内容'],
+ ['app_navigationTree_settings_state_title', '保存树状态'],
+ ['app_navigationTree_settings_state_description', '页面刷新后重新打开展开的节点'],
+ ['app_navigationTree_settings_folders_title', '文件夹'],
+ ['app_navigationTree_settings_folders_description', '打开任意节点作为根节点'],
+ ['app_navigationTree_node_delete_confirmation', '确定删除 "{arg:name}" ?'],
+ ['app_navigationTree_node_folder_delete_confirmation', '所选文件夹下所有内容将全部删除.'],
+ ['app_navigationTree_node_delete_error', '删除 "{arg:name} 失败'],
+ ['app_navigationTree_node_rename_error', '重命名时发生错误'],
+ ['app_navigationTree_node_empty', '空'],
+ ['app_navigationTree_node_no_results', "抱歉,关键词 '{arg:filter}' 无匹配结果"],
['app_navigationTree_openNodeTab', '打开'],
['app_navigationTree_connection_view', '连接视图'],
- ['app_navigationTree_node_not_found', 'Node not found'],
+ ['app_navigationTree_node_not_found', '未找到节点'],
['app_navigationTree_connection_view_option_simple', '简单'],
['app_navigationTree_connection_view_option_advanced', '完善'],
['app_navigationTree_connection_view_option_custom', '自定义'],
['app_navigationTree_connection_view_option_showSystemObjects', '展示系统对象'],
['app_navigationTree_refresh', '刷新'],
- ['app_navigationTree_refresh_error', 'Failed to refresh node'],
+ ['app_navigationTree_refresh_error', '刷新节点失败'],
['app_navigationTree_node_change_name_error', '更改名称时发生错误'],
['app_navigationTree_context_disconnect', '断开连接'],
['app_navigationTree_connection_group_user', '用户连接'],
['app_navigationTree_connection_group_shared', '共享连接'],
- ['app_navigationTree_empty_placeholder', 'No Connections.\nUse the top menu to setup connection to your database.'],
- ['app_navigationTree_drop_here', 'Drop here...'],
- ['plugin_navigation_tree_settings_projects_description', 'Displays elements under project groups'],
- ['plugin_navigation_tree_settings_projects_title', 'Group by Project'],
+ ['app_navigationTree_empty_placeholder', '无连接.\n使用顶部菜单建立数据库的连接.'],
+ ['app_navigationTree_drop_here', '拖动至此...'],
+ ['plugin_navigation_tree_settings_projects_description', '在项目分组下显示'],
+ ['plugin_navigation_tree_settings_projects_title', '项目分组'],
];
diff --git a/webapp/packages/plugin-object-viewer/src/locales/zh.ts b/webapp/packages/plugin-object-viewer/src/locales/zh.ts
index f6b81c8c65..6cf593e989 100644
--- a/webapp/packages/plugin-object-viewer/src/locales/zh.ts
+++ b/webapp/packages/plugin-object-viewer/src/locales/zh.ts
@@ -11,5 +11,5 @@ export default [
['plugin_object_viewer_table_name', '名称'],
['plugin_object_viewer_table_no_items', '没有要显示的项目'],
['plugin_object_viewer_error', '选项卡加载时出错'],
- ['plugin_object_viewer_delete_object_fail', 'Failed to delete object'],
+ ['plugin_object_viewer_delete_object_fail', '删除对象失败'],
];
diff --git a/webapp/packages/plugin-product-information-administration/src/locales/zh.ts b/webapp/packages/plugin-product-information-administration/src/locales/zh.ts
index bd80b3c9e7..2a9b30b957 100644
--- a/webapp/packages/plugin-product-information-administration/src/locales/zh.ts
+++ b/webapp/packages/plugin-product-information-administration/src/locales/zh.ts
@@ -5,4 +5,4 @@
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
-export default [['administration_settings_menu_title', 'Product Information']];
+export default [['administration_settings_menu_title', '产品信息']];
diff --git a/webapp/packages/plugin-product/src/locales/zh.ts b/webapp/packages/plugin-product/src/locales/zh.ts
index a16af1cbe6..29b353ab0c 100644
--- a/webapp/packages/plugin-product/src/locales/zh.ts
+++ b/webapp/packages/plugin-product/src/locales/zh.ts
@@ -6,7 +6,7 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['app_product_info', 'About'],
+ ['app_product_info', '关于'],
['app_product_info_name', '产品名称'],
['app_product_info_description', '产品描述'],
['app_product_info_contacts', '联系人'],
diff --git a/webapp/packages/plugin-projects/src/locales/zh.ts b/webapp/packages/plugin-projects/src/locales/zh.ts
index 5c3f491d2a..797cc98b8a 100644
--- a/webapp/packages/plugin-projects/src/locales/zh.ts
+++ b/webapp/packages/plugin-projects/src/locales/zh.ts
@@ -1 +1,8 @@
-export default [['plugin_projects_project_select_label', 'Project']];
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
+export default [['plugin_projects_project_select_label', '项目']];
diff --git a/webapp/packages/plugin-resource-manager-administration/src/locales/zh.ts b/webapp/packages/plugin-resource-manager-administration/src/locales/zh.ts
index 88cc3b661c..0db5a07fae 100644
--- a/webapp/packages/plugin-resource-manager-administration/src/locales/zh.ts
+++ b/webapp/packages/plugin-resource-manager-administration/src/locales/zh.ts
@@ -1,4 +1,11 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_resource_manager_administration_settings_enable', 'Enable SQL scripts manager'],
- ['plugin_resource_manager_administration_settings_enable_description', 'Enable SQL scripts manager functionality'],
+ ['plugin_resource_manager_administration_settings_enable', '启用SQL脚本管理器'],
+ ['plugin_resource_manager_administration_settings_enable_description', '启用SQL脚本管理器功能'],
];
diff --git a/webapp/packages/plugin-resource-manager-scripts/src/locales/zh.ts b/webapp/packages/plugin-resource-manager-scripts/src/locales/zh.ts
index ca607880f0..6ebab3be6e 100644
--- a/webapp/packages/plugin-resource-manager-scripts/src/locales/zh.ts
+++ b/webapp/packages/plugin-resource-manager-scripts/src/locales/zh.ts
@@ -6,16 +6,16 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['plugin_resource_manager_scripts_action_enable_label', 'Show scripts'],
- ['plugin_resource_manager_scripts_title', 'Scripts'],
- ['plugin_resource_manager_scripts_no_resources_placeholder', 'There are no scripts yet'],
+ ['plugin_resource_manager_scripts_action_enable_label', '显示脚本'],
+ ['plugin_resource_manager_scripts_title', '脚本'],
+ ['plugin_resource_manager_scripts_no_resources_placeholder', '无脚本'],
['plugin_resource_manager_scripts_save_script', '保存脚本'],
[
'plugin_resource_manager_scripts_script_name_invalid_characters_message',
- "Script's name may not contain the following symbols / : \" \\ ' <> | ? * and can't start with a dot",
+ "脚本名称不可包含以下符号 / : \" \\ ' <> | ? * 且不能以点号开头",
],
[
'plugin_resource_manager_scripts_save_script_project_restriction_descripion',
- "The script's project can't be different from the connection's project",
+ "脚本对应项目须与连接项目一致",
],
];
diff --git a/webapp/packages/plugin-resource-manager/src/locales/zh.ts b/webapp/packages/plugin-resource-manager/src/locales/zh.ts
index df3a2e4a72..80cc9b89fc 100644
--- a/webapp/packages/plugin-resource-manager/src/locales/zh.ts
+++ b/webapp/packages/plugin-resource-manager/src/locales/zh.ts
@@ -1,4 +1,11 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_resource_manager_title', 'Resource Manager'],
- ['plugin_resource_manager_folder_move_failed', 'Failed to move to folder'],
+ ['plugin_resource_manager_title', '资源管理器'],
+ ['plugin_resource_manager_folder_move_failed', '移动到文件夹失败'],
];
diff --git a/webapp/packages/plugin-root/src/locales/zh.ts b/webapp/packages/plugin-root/src/locales/zh.ts
index 471ff9ba53..a7e9983f27 100644
--- a/webapp/packages/plugin-root/src/locales/zh.ts
+++ b/webapp/packages/plugin-root/src/locales/zh.ts
@@ -1,6 +1,13 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_root_network_state_title', 'Offline mode'],
- ['plugin_root_network_state_description', 'Application now in offline mode, some features are disabled'],
- ['plugin_root_data_sync_title', 'Data synchronization'],
- ['plugin_root_data_sync_message', 'You have data updates, do you want to apply them? Some data can be lost.'],
+ ['plugin_root_network_state_title', '离线模式'],
+ ['plugin_root_network_state_description', '应用处于离线模式,部分功能不可用'],
+ ['plugin_root_data_sync_title', '数据同步'],
+ ['plugin_root_data_sync_message', '存在数据更新,是否接受更改? 部分数据可能会丢失。'],
];
diff --git a/webapp/packages/plugin-settings-administration/src/locales/zh.ts b/webapp/packages/plugin-settings-administration/src/locales/zh.ts
index fcbf61b7f7..0a4d4dce65 100644
--- a/webapp/packages/plugin-settings-administration/src/locales/zh.ts
+++ b/webapp/packages/plugin-settings-administration/src/locales/zh.ts
@@ -6,7 +6,7 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['plugin_settings_administration_settings_save_success', 'Preferences saved successfully'],
- ['plugin_settings_administration_settings_save_fail', 'Preferences save failed'],
- ['plugin_settings_administration_drawer_item_title', 'Global Preferences'],
+ ['plugin_settings_administration_settings_save_success', '偏好设置保存成功'],
+ ['plugin_settings_administration_settings_save_fail', '偏好设置保存失败'],
+ ['plugin_settings_administration_drawer_item_title', '全局偏好设置'],
];
diff --git a/webapp/packages/plugin-settings-panel/src/locales/zh.ts b/webapp/packages/plugin-settings-panel/src/locales/zh.ts
index 768ebb139d..1997da1189 100644
--- a/webapp/packages/plugin-settings-panel/src/locales/zh.ts
+++ b/webapp/packages/plugin-settings-panel/src/locales/zh.ts
@@ -1 +1,8 @@
-export default [['plugin_settings_panel_empty', 'No settings available']];
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
+export default [['plugin_settings_panel_empty', '无可用设置']];
diff --git a/webapp/packages/plugin-sql-editor-navigation-tab-script/src/locales/zh.ts b/webapp/packages/plugin-sql-editor-navigation-tab-script/src/locales/zh.ts
index a63a7f423d..1675e2861e 100644
--- a/webapp/packages/plugin-sql-editor-navigation-tab-script/src/locales/zh.ts
+++ b/webapp/packages/plugin-sql-editor-navigation-tab-script/src/locales/zh.ts
@@ -1,21 +1,28 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_sql_editor_navigation_tab_resource_save_script_title', 'Save as script'],
- ['plugin_sql_editor_navigation_tab_script_state_renaming', 'Renaming script...'],
- ['plugin_sql_editor_navigation_tab_script_state_reading', 'Reading script...'],
- ['plugin_sql_editor_navigation_tab_script_state_saving', 'Saving script...'],
- ['plugin_sql_editor_navigation_tab_script_state_updating', 'Updating script info...'],
+ ['plugin_sql_editor_navigation_tab_resource_save_script_title', '保存为脚本'],
+ ['plugin_sql_editor_navigation_tab_script_state_renaming', '重命名脚本中...'],
+ ['plugin_sql_editor_navigation_tab_script_state_reading', '读取脚本中...'],
+ ['plugin_sql_editor_navigation_tab_script_state_saving', '保存脚本中...'],
+ ['plugin_sql_editor_navigation_tab_script_state_updating', '更新脚本信息...'],
[
'plugin_sql_editor_navigation_tab_script_state_different_project',
- 'The connection project differs from the script project—the connection change is not saved.',
+ '连接项目与脚本项目不同 - 不会保存连接更改。',
],
['plugin_sql_editor_navigation_tab_resource_save_script_success', '脚本保存成功'],
['plugin_sql_editor_navigation_tab_resource_open_script_error', '打开脚本失败'],
['plugin_sql_editor_navigation_tab_resource_save_script_error', '打开脚本出错'],
['plugin_sql_editor_navigation_tab_resource_update_script_error', '更新脚本出错'],
['plugin_sql_editor_navigation_tab_resource_sync_script_error', '同步查询失败'],
- ['plugin_sql_editor_navigation_tab_resource_save_script_error_confirmation_title', 'Unable to save the script'],
+ ['plugin_sql_editor_navigation_tab_resource_save_script_error_confirmation_title', '无法保存脚本'],
[
'plugin_sql_editor_navigation_tab_resource_save_script_error_confirmation_message',
- 'Error occurred while trying to save the script. Close the tab anyway?',
+ '尝试保存脚本时发生错误,是否关闭标签页?',
],
];
diff --git a/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/zh.ts b/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/zh.ts
index aa3d5ae2ce..7fb36ad161 100644
--- a/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/zh.ts
+++ b/webapp/packages/plugin-sql-editor-navigation-tab/src/locales/zh.ts
@@ -1,7 +1,14 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
['plugin_sql_editor_navigation_tab_action_sql_editor_new', 'SQL'],
- ['plugin_sql_editor_navigation_tab_action_sql_editor_new_tooltip', 'Open SQL Editor'],
- ['plugin_sql_editor_navigation_tab_action_sql_editor_new_tooltip_context', 'Open SQL Editor for {arg:connection}'],
- ['plugin_sql_editor_navigation_tab_data_source_save_confirmation_title', 'Save changes'],
- ['plugin_sql_editor_navigation_tab_data_source_save_confirmation_message', 'Do you want to save changes?'],
+ ['plugin_sql_editor_navigation_tab_action_sql_editor_new_tooltip', '打开SQL编辑器'],
+ ['plugin_sql_editor_navigation_tab_action_sql_editor_new_tooltip_context', '为 {arg:connection} 打开SQL编辑器'],
+ ['plugin_sql_editor_navigation_tab_data_source_save_confirmation_title', '保存更改'],
+ ['plugin_sql_editor_navigation_tab_data_source_save_confirmation_message', '是否保存更改?'],
];
diff --git a/webapp/packages/plugin-sql-editor-new/src/locales/zh.ts b/webapp/packages/plugin-sql-editor-new/src/locales/zh.ts
index 36472b6f37..db4328808b 100644
--- a/webapp/packages/plugin-sql-editor-new/src/locales/zh.ts
+++ b/webapp/packages/plugin-sql-editor-new/src/locales/zh.ts
@@ -1,6 +1,13 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_sql_editor_new_merge_conflict_keep_current_label', 'Keep Current'],
- ['plugin_sql_editor_new_merge_conflict_keep_current_tooltip', 'Keep Current changes'],
- ['plugin_sql_editor_new_merge_conflict_accept_incoming_label', 'Accept Incoming'],
- ['plugin_sql_editor_new_merge_conflict_accept_incoming_tooltip', 'Accept Incoming changes'],
+ ['plugin_sql_editor_new_merge_conflict_keep_current_label', '保留当前'],
+ ['plugin_sql_editor_new_merge_conflict_keep_current_tooltip', '保留当前改动'],
+ ['plugin_sql_editor_new_merge_conflict_accept_incoming_label', '接受传入'],
+ ['plugin_sql_editor_new_merge_conflict_accept_incoming_tooltip', '接受传入改动'],
];
diff --git a/webapp/packages/plugin-sql-editor-screen/src/locales/zh.ts b/webapp/packages/plugin-sql-editor-screen/src/locales/zh.ts
index aa8339f3aa..a21f0535d1 100644
--- a/webapp/packages/plugin-sql-editor-screen/src/locales/zh.ts
+++ b/webapp/packages/plugin-sql-editor-screen/src/locales/zh.ts
@@ -1,3 +1,10 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
['sql_editor_screen_no_context_title', '在新标签页中打开时出错'],
['sql_editor_screen_no_context_message', '请选择当前SQL编辑器的连接'],
diff --git a/webapp/packages/plugin-sql-editor/src/locales/zh.ts b/webapp/packages/plugin-sql-editor/src/locales/zh.ts
index dcdeaa9f7d..189c566d33 100644
--- a/webapp/packages/plugin-sql-editor/src/locales/zh.ts
+++ b/webapp/packages/plugin-sql-editor/src/locales/zh.ts
@@ -6,26 +6,26 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['plugin_sql_editor_sql_editor_settings_group', 'SQL Editor'],
- ['sql_editor_settings_insert_table_aliases_name', 'Insert table aliases (in FROM clause)'],
- ['sql_editor_settings_insert_table_aliases_desc', 'Automatically inserts table aliases'],
+ ['plugin_sql_editor_sql_editor_settings_group', 'SQL编辑器'],
+ ['sql_editor_settings_insert_table_aliases_name', '(在FROM子句中)插入表别名'],
+ ['sql_editor_settings_insert_table_aliases_desc', '自动插入表别名'],
['sql_editor_menu', 'SQL编辑器'],
- ['sql_editor_script_editor', 'SQL Editor'],
- ['sql_editor_alias_loading_error', 'Error occurred while loading node alias'],
- ['sql_editor_restore_message', 'Do you want to restore the connection?'],
- ['sql_editor_restore', 'Restore'],
+ ['sql_editor_script_editor', 'SQL编辑器'],
+ ['sql_editor_alias_loading_error', '加载节点别名时出错'],
+ ['sql_editor_restore_message', '是否恢复之前的连接?'],
+ ['sql_editor_restore', '恢复'],
['sql_editor_placeholder', '使用Ctrl + Enter执行查询以查看结果'],
- ['sql_editor_hint_empty', 'There is no proposals...'],
+ ['sql_editor_hint_empty', '无提示信息...'],
['sql_editor_execution_plan_button_tooltip', '解释执行计划(Shift + Ctrl + E)'],
- ['sql_editor_output_logs_button_tooltip', 'Show server output (Shift + Ctrl + O)'],
- ['sql_editor_output_logs_tab_title', 'Output'],
- ['sql_editor_output_logs_input_placeholder', 'Enter a part of a message to search for here'],
- ['sql_editor_output_logs_wrap_mode', 'Wrap mode'],
+ ['sql_editor_output_logs_button_tooltip', '显示服务端输出 (Shift + Ctrl + O)'],
+ ['sql_editor_output_logs_tab_title', '输出'],
+ ['sql_editor_output_logs_input_placeholder', '在此处输入要搜索的消息关键词'],
+ ['sql_editor_output_logs_wrap_mode', '换行模式'],
['sql_editor_sql_execution_button_tooltip', '执行SQL语句(Ctrl + Enter)'],
['sql_editor_sql_execution_new_tab_button_tooltip', '在新选项卡中执行SQL语句(Ctrl + \\)(Shift + Ctrl + Enter)'],
['sql_editor_sql_execution_script_button_tooltip', '执行SQL脚本(Alt + X)'],
['sql_editor_sql_format_button_tooltip', '格式化SQL脚本(Shift + Ctrl + F)'],
- ['sql_editor_sql_execution_script_lock_tooltip', 'Lock editor to prevent modifications'],
+ ['sql_editor_sql_execution_script_lock_tooltip', '锁定编辑器阻止修改'],
['sql_editor_sql_statistics_unavailable', '统计不可用'],
['sql_editor_sql_execution_queries', '查询:'],
['sql_editor_sql_execution_executing', '执行...'],
@@ -39,8 +39,8 @@ export default [
['sql_editor_download_script_tooltip', '下载SQL脚本'],
['sql_editor_upload_script_unsaved_changes_dialog_message', '您当前的脚本将被上传的脚本覆盖。要先保存吗?'],
['sql_editor_upload_script_max_size_title', '文件大小超过最大大小'],
- ['sql_editor_close_result_tabs_dialog_title', 'Confirm closing tabs'],
- ['plugin_sql_editor_action_overlay_title', 'Action required'],
- ['plugin_sql_editor_action_overlay_description', 'Please reopen editor to continue working.'],
- ['plugin_sql_editor_action_close_group', 'Close all of the same query'],
+ ['sql_editor_close_result_tabs_dialog_title', '确认关闭标签'],
+ ['plugin_sql_editor_action_overlay_title', '需要操作'],
+ ['plugin_sql_editor_action_overlay_description', '请重新打开编辑器继续工作。'],
+ ['plugin_sql_editor_action_close_group', '关闭所有相同查询'],
];
diff --git a/webapp/packages/plugin-task-manager/src/locales/zh.ts b/webapp/packages/plugin-task-manager/src/locales/zh.ts
index f97959d3fd..1613db31ad 100644
--- a/webapp/packages/plugin-task-manager/src/locales/zh.ts
+++ b/webapp/packages/plugin-task-manager/src/locales/zh.ts
@@ -1 +1,8 @@
-export default [['plugin_task_manager_notification_title', 'Processing...']];
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
+export default [['plugin_task_manager_notification_title', '处理中...']];
diff --git a/webapp/packages/plugin-tools-panel/src/locales/zh.ts b/webapp/packages/plugin-tools-panel/src/locales/zh.ts
index 1c11910d1b..688cdb805a 100644
--- a/webapp/packages/plugin-tools-panel/src/locales/zh.ts
+++ b/webapp/packages/plugin-tools-panel/src/locales/zh.ts
@@ -1,6 +1,13 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
- ['plugin_tools_panel_tools_settings_group', 'Tools'],
- ['plugin_tools_panel_settings_disable_label', 'Disable Tools'],
- ['plugin_tools_panel_settings_disable_description', 'Removes Tools menu from the top menu bar'],
+ ['plugin_tools_panel_tools_settings_group', '工具'],
+ ['plugin_tools_panel_settings_disable_label', '禁用工具'],
+ ['plugin_tools_panel_settings_disable_description', '从顶部菜单栏移除工具菜单'],
['plugin_tools_panel_menu_title', '工具'],
];
diff --git a/webapp/packages/plugin-user-profile-settings/src/locales/zh.ts b/webapp/packages/plugin-user-profile-settings/src/locales/zh.ts
index 0896e7bcd2..7590485ae4 100644
--- a/webapp/packages/plugin-user-profile-settings/src/locales/zh.ts
+++ b/webapp/packages/plugin-user-profile-settings/src/locales/zh.ts
@@ -6,9 +6,9 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['plugin_user_profile_settings_tab_label', 'Preferences'],
- ['plugin_user_profile_settings_action_description', 'User preferences'],
- ['plugin_user_profile_settings_save_success', 'Preferences saved successfully'],
- ['plugin_user_profile_settings_save_fail', 'Failed to save preferences'],
- ['plugin_user_profile_settings_restore_defaults', 'Restore defaults'],
+ ['plugin_user_profile_settings_tab_label', '偏好选项'],
+ ['plugin_user_profile_settings_action_description', '用户偏好选项'],
+ ['plugin_user_profile_settings_save_success', '保存偏好选项成功'],
+ ['plugin_user_profile_settings_save_fail', '保存偏好选项失败'],
+ ['plugin_user_profile_settings_restore_defaults', '恢复默认'],
];
diff --git a/webapp/packages/plugin-user-profile/src/locales/zh.ts b/webapp/packages/plugin-user-profile/src/locales/zh.ts
index 5437c1b47c..0d61d88faf 100644
--- a/webapp/packages/plugin-user-profile/src/locales/zh.ts
+++ b/webapp/packages/plugin-user-profile/src/locales/zh.ts
@@ -6,7 +6,7 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['plugin_user_profile_account_title', 'Account'],
+ ['plugin_user_profile_account_title', '账户'],
['plugin_user_profile_menu', '简介'],
['plugin_user_profile_info', '信息'],
['plugin_user_profile_info_id', '用户ID'],
@@ -23,5 +23,5 @@ export default [
['plugin_user_profile_authentication_change_password_success', '密码更改成功'],
['plugin_user_profile_authentication_change_password_submit_label', '更改'],
['plugin_user_profile_authentication_change_password_passwords_not_match', '密码不匹配'],
- ['plugin_user_profile_authentication_change_password_password_validation_error', 'Password validation failed'],
+ ['plugin_user_profile_authentication_change_password_password_validation_error', '密码校验失败'],
];
diff --git a/webapp/packages/plugin-version-update-administration/src/locales/zh.ts b/webapp/packages/plugin-version-update-administration/src/locales/zh.ts
index 184ca8c184..af312860db 100644
--- a/webapp/packages/plugin-version-update-administration/src/locales/zh.ts
+++ b/webapp/packages/plugin-version-update-administration/src/locales/zh.ts
@@ -6,11 +6,11 @@
* you may not use this file except in compliance with the License.
*/
export default [
- ['plugin_version_update_administration_version_selector_label', 'Version'],
- ['plugin_version_update_administration_recommendations_label', 'Recommendations'],
+ ['plugin_version_update_administration_version_selector_label', '版本'],
+ ['plugin_version_update_administration_recommendations_label', '建议'],
[
'plugin_version_update_administration_recommendations',
- 'We highly recommend avoiding product downgrade. We cannot guarantee the proper work of the application after this procedure.',
+ '我们强烈建议您避免产品降级。降级后,我们无法保证应用程序能正常工作。',
],
- ['plugin_version_update_administration_tab_title', 'Version Update'],
+ ['plugin_version_update_administration_tab_title', '版本升级'],
];
diff --git a/webapp/packages/product-default/src/locales/zh.ts b/webapp/packages/product-default/src/locales/zh.ts
index 4e6434307f..e378ff4d34 100644
--- a/webapp/packages/product-default/src/locales/zh.ts
+++ b/webapp/packages/product-default/src/locales/zh.ts
@@ -1,4 +1,11 @@
+/*
+ * CloudBeaver - Cloud Database Manager
+ * Copyright (C) 2020-2024 DBeaver Corp and others
+ *
+ * Licensed under the Apache License, Version 2.0.
+ * you may not use this file except in compliance with the License.
+ */
export default [
['product_name', 'CE'],
- ['product_full_name', 'CloudBeaver Community'],
+ ['product_full_name', 'CloudBeaver 社区版'],
];