generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 305
feat: Chinese translation of Settings and related areas #3285
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
Conversation
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
This reverts commit 4f013e01be447b27f26da142f2065f0e8feaf466.
…DisplayName() This will prevent the plugin crashing during starting when TASK_FORMATS is initialised before translation is set up. But it also has the advantage that if the language is changed during a program session, the latest translation would be displayed. (I've no idea if changing language in an Obsidian session is even possible, though...)
Copied from zenozero-dev/obsidian-i18n@58940f9. MIT licence
…fter DONE - line 2
…fter DONE - line 3
Copied from zenozero-dev/obsidian-i18n@58940f9. MIT licence
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
scope: internationalisation
Translations - Making the plugin work well for non-English-language users - also known as i18n
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.



Types of changes
Changes visible to users:
feat- non-breaking change which adds functionality)contrib- any improvements to documentation content for contributors - see Contributing to Tasks)Internal changes:
chore- examples include GitHub Actions, issue templates)Description
This is the first of a series of PRs to translate much of the Tasks plugin in to Chinese, and enable future support of other languages.
Chinese translation
It adds almost-complete Chinese translation of the following areas of the Tasks plugin:
Where possible, I copied the Chinese translations in from @0011000000110010's i18n plugin.
Specifically from this version of its translations for Tasks 7.14.0:
https://github.com/0011000000110010/obsidian-i18n/blob/9ef339a2475c2096a88acf87307363d300a25247/translation/dict/obsidian-tasks-plugin/zh-cn/7.14.0.json
The following Chinese translation strings need to be added - I was not confident about extracting them from the above:
Later work:
Motivation and Context
How has this been tested?
Screenshots (if appropriate)
Settings
'Review and check your Statuses' report
Edit Status
Checklist
yarn run lint.Terms