ContribDoc: i18n guidelines(zh)#15397
Open
shrinktofit wants to merge 11 commits intococos:developfrom
Open
Conversation
pandamicro
reviewed
Jun 9, 2023
docs/contribution/i18n-zh.md
Outdated
| }, | ||
| 'sub': { | ||
| properties: { | ||
| __extends__: 'classes.base.properties', // 注意,这里要填入的是基类字典的 `properties` 属性的完整路径。 |
Contributor
There was a problem hiding this comment.
Need more understandable example
Interface Check ReportThis pull request does not change any public interfaces ! |
Contributor
|
After reading the doc, i don't see what it has to do with internationalization. |
jareguo
approved these changes
Jun 9, 2023
minggo
reviewed
Jun 9, 2023
|
|
||
| 'sub': { // 子类字典 | ||
| properties: { | ||
| __extends__: 'classes.base.properties', // 继承基类字典的所有属性。注意,这里要填入的是基类字典的 `properties` 属性的完整路径。 |
Contributor
There was a problem hiding this comment.
It is not convenient to add it for every sub class.
pandamicro
reviewed
Jun 9, 2023
| } | ||
| ``` | ||
|
|
||
| 为了在编辑器中多语言展示属性 `clips` 和 `defaultClip` 的显示名称或工具提示,只需在 **各个语言字典** 的 `classes.cc` 对象里面,加入以下数据: |
Contributor
There was a problem hiding this comment.
Please add the link to the actual example file in engine repo, so that user can see where it is
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Re: #
Changelog
Continuous Integration
This pull request:
Compatibility Check
This pull request: