-
Notifications
You must be signed in to change notification settings - Fork 2k
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
ContribDoc: i18n guidelines(zh) #15397
base: develop
Are you sure you want to change the base?
Conversation
docs/contribution/i18n-zh.md
Outdated
}, | ||
'sub': { | ||
properties: { | ||
__extends__: 'classes.base.properties', // 注意,这里要填入的是基类字典的 `properties` 属性的完整路径。 |
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.
Need more understandable example
Interface Check ReportThis pull request does not change any public interfaces ! |
After reading the doc, i don't see what it has to do with internationalization. |
|
||
'sub': { // 子类字典 | ||
properties: { | ||
__extends__: 'classes.base.properties', // 继承基类字典的所有属性。注意,这里要填入的是基类字典的 `properties` 属性的完整路径。 |
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.
It is not convenient to add it for every sub class.
} | ||
``` | ||
|
||
为了在编辑器中多语言展示属性 `clips` 和 `defaultClip` 的显示名称或工具提示,只需在 **各个语言字典** 的 `classes.cc` 对象里面,加入以下数据: |
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.
Please add the link to the actual example file in engine repo, so that user can see where it is
Re: #
Changelog
Continuous Integration
This pull request:
Compatibility Check
This pull request: