Repository navigation
Conversation
Generalize the display-layer dictionary from English-only to a set of dictionaries (en, ru), add src/i18n/ru.json (985 entries, same keys and placeholders as en.json), pick Russian automatically for ru/ru-* system locales, accept uiLanguage 'ru', and add Русский to the language selector.
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.
Adds Russian on top of this PR's display-layer i18n.
src/core/i18n.js: the English-only dictionary becomes a small set of dictionaries (en,ru);ru/ru-*system locales pick Russian automatically,uiLanguage: 'ru'is accepted; English-only plural fix-ups stay English-only.src/i18n/ru.json: 985 entries with the same keys and placeholders asen.json(based on the Russian translation from feat(i18n): add Russian UI language (auto-detected) RoutineMiku/apkstart#113, the rest translated fresh).src/ui/i18n-dom.js: punctuation mapping for every non-Chinese language,<html lang>follows the current language.src/core/store.jsand the language selector:ru/ Русский.en/ruentries for the DNS server selector proposed upstream in feat(network): 网络加速可选 DNS 服务器(国内 / Cloudflare / Google) RoutineMiku/apkstart#150, so it is translated once both land.node test/i18n-test.js(17/17) andnode tools/check-i18n.jspass.