Skip to content

Add missing translations in zh.js #419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions src/i18n/locales/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const zh = {
strict_mode: "严格模式",
field_details: "字段详情",
reset_view: "重置视图",
show_datatype: "显示数据类型",
show_grid: "显示网格",
show_cardinality: "显示关系",
theme: "主题",
Expand All @@ -58,13 +59,23 @@ const zh = {
show_timeline: "修改记录",
autosave: "自动保存",
panning: "画布可拖动",
show_relationship_labels: "显示关系标签",
show_debug_coordinates: "显示调试坐标",
transform: "变换",
viewbox: "视图框",
cursor_coordinates: "光标坐标",
coordinate_space: "坐标空间",
coordinate_space_screen: "屏幕",
coordinate_space_diagram: "图表",
table_width: "表格宽度",
language: "语言",
export_saved_data: "导出保存的数据",
flush_storage: "清除存储",
are_you_sure_flush_storage:
"您确定要清除存储吗?此操作将无法恢复地删除您所有的图表和自定义模板。",
storage_flushed: "存储已清空",
help: "帮助",
docs: "文档",
shortcuts: "快捷键",
ask_on_discord: "在 Discord 联系我们",
feedback: "反馈",
Expand Down Expand Up @@ -207,6 +218,33 @@ const zh = {
edit_relationship: "{{extra}} 编辑关系 {{refName}}",
delete_relationship: "删除关系 {{refName}}",
not_found: "未找到",
pick_db: "选择数据库",
generic: "通用",
generic_description:
"通用图表可以导出为任何 SQL 格式,但仅支持有限的数据类型。",
enums: "枚举",
add_enum: "添加枚举",
edit_enum: "{{extra}} 编辑枚举 {{enumName}}",
delete_enum: "删除枚举",
enum_w_no_name: "声明了一个没有名称的枚举",
enum_w_no_values: "声明了一个没有值的枚举 '{{enumName}}'",
duplicate_enums: "重复声明了名为 '{{enumName}}' 的枚举",
no_enums: "没有枚举",
no_enums_text: "在此定义您的枚举",
declare_array: "声明数组",
empty_index_name: "在表 '{{tableName}}' 中声明了一个没有名称的索引",
didnt_find_diagram: "哎呀!找不到图表。",
unsigned: "无符号",
share: "分享",
unshare: "取消分享",
copy_link: "复制链接",
readme: "说明文档",
failed_to_load: "加载失败。请确认链接是否正确。",
share_info:
"* 分享此链接不会创建实时协作会话。",
supported_types: "支持的文件类型:",
bulk_update: "批量更新",
multiselect: "多选",
},
};

Expand Down