-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Configure i18n and add simplified Chinese (#99) #110
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
They look mostly fine, except these may be ambiguous:
More explicit translation would be: Actually I think the original English text is a little bit ambiguous. It's not clear what "source" is on a first look. Personally I would prefer "Import from SQL" and "Export as SQL", thus "导入 SQL 源代码" and "导出为 SQL 源代码" |
I believe the following translation may be superior
I suspect there may be errors in the translation below
In the Chinese context, "基数" typically refers to mathematics. However, if referring to the relationship between two fields in a database, the term "关系映射" can be used. |
src/i18n/locales/zh.js
Outdated
import: "导入", | ||
file: "文件", | ||
new: "新建", | ||
new_window: "新窗口", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a more accurate description of the feature "New Window" is "在新标签中打开" meaning to open it in a new browser tab.
src/i18n/locales/zh.js
Outdated
exit: "退出", | ||
edit: "编辑", | ||
undo: "撤销", | ||
redo: "重做", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/i18n/locales/zh.js
Outdated
cut: "剪切", | ||
copy: "复制", | ||
paste: "粘贴", | ||
duplicate: "复制", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a more accurate description of the feature "Duplicate is "克隆" meaning to clone
Because when we use the Duplicate, it directly clones a selectedElement.
src/i18n/locales/zh.js
Outdated
paste: "粘贴", | ||
duplicate: "复制", | ||
delete: "删除", | ||
copy_as_image: "复制为图像", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a more accurate description of the feature "Copy As Image" is "复制画布为图片" meaning to copy the canvas as an image.
src/i18n/locales/zh.js
Outdated
delete: "删除", | ||
copy_as_image: "复制为图像", | ||
view: "视图", | ||
header: "标题", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"header" translated as "菜单栏" might be more appropriate.
This component is translated as "菜单栏" in VSCode, but they write its English name as "menuBar".
src/i18n/locales/zh.js
Outdated
language: "语言", | ||
flush_storage: "清除存储", | ||
are_you_sure_flush_storage: | ||
"确定要清除存储吗?这将不可逆地删除所有您的图表和自定义模板。", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"确定要清除存储吗?这将不可逆地删除所有您的图表和自定义模板。", | |
"您确定要清除存储吗?此操作将无法恢复地删除您所有的图表和自定义模板。", |
src/i18n/locales/zh.js
Outdated
flush_storage: "清除存储", | ||
are_you_sure_flush_storage: | ||
"确定要清除存储吗?这将不可逆地删除所有您的图表和自定义模板。", | ||
storage_flushed: "存储已清除", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
storage_flushed: "存储已清除", | |
storage_flushed: "存储已清空", |
src/i18n/locales/zh.js
Outdated
storage_flushed: "存储已清除", | ||
help: "帮助", | ||
shortcuts: "快捷键", | ||
ask_on_discord: "在 Discord 上问我们", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ask_on_discord: "在 Discord 上问我们", | |
ask_on_discord: "在 Discord 联系我们", |
src/i18n/locales/zh.js
Outdated
notes: "注释", | ||
types: "类型", | ||
search: "搜索...", | ||
no_tables: "没有表", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no_tables: "没有表", | |
no_tables: "空空如也", |
"空空如也" is an idiom meaning completely empty, devoid of anything.
You can change the empty prompts for "relationship," "area," "notes," etc. to this.
src/i18n/locales/zh.js
Outdated
primary: "主键", | ||
unique: "唯一", | ||
autoincrement: "自增", | ||
default_value: "默认", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default_value: "默认", | |
default_value: "默认值", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some small comments to the translation.
src/i18n/locales/zh.js
Outdated
are_you_sure_delete_diagram: "确定要删除此图表吗?此操作不可逆转。", | ||
oops_smth_went_wrong: "糟糕!出了些问题。", | ||
import_diagram: "导入图表", | ||
import_from_source: "从源导入", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import_from_source: "从源文件导入",
src/i18n/locales/zh.js
Outdated
import_diagram: "导入图表", | ||
import_from_source: "从源导入", | ||
export_as: "导出为", | ||
export_source: "导出源", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export_source: "导出为源文件",
src/i18n/locales/zh.js
Outdated
import: "导入", | ||
file: "文件", | ||
new: "新建", | ||
new_window: "新窗口", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new_window: "新建窗口",
Thank you everyone! |
Add danish translation
Spanish translation added
Pc wont turn on |
Hello! I would really appreciate if someone fluent in Chinese could review the automated translations in '/src/i18n/locales/zh.js'