Add Russian language pack (imgusev.russian-language-pack) - #6
Open
imgusev wants to merge 2 commits into
Open
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
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 the Russian language pack I maintain: imgusev/orca-plugin-ru, MIT, pinned to
v1.4.197.Coverage. 13 791 of 13 980 strings (98%) of the 1.4.197 catalog. What stays English is deliberate: 180 keys the loader protects under
auto.components.settings.plugin*, 7 context overrides, and 2 CSS blocks past the 8192-character value limit. The build reports zero uncovered strings.Kept in sync with releases. The English catalog is fetched at the tag of the installed version rather than from
main— a key that exists only inmainis unknown to the installed validator, which rejects the whole catalog and silently disables the language. The package version equals the Orca version its catalog came from, so1.4.197is the pack for 1.4.197.Plural forms. Russian needs four forms where English has two. Of the 71
translate(...)call sites that passcount, 6 bake the suffix into the key (the form is fixed in JS, see #12106), but 65 do not — there i18next appends the suffix itself and asks for_few/_many. The pack ships those for 48 keys, so counters read «1 навык», «2 навыка», «5 навыков», «21 навык» rather than a single neutral form.Version range.
engines.orcais>=1.4.169, and the protected-zone allowlist is built as the intersection of that floor and the installed version. Before 1.4.169 the wholesettings.plugin*space was closed, so a pack that translates those 34 paths while claiming>=1.4.0installs on older builds and then silently falls back to English.Happy to adjust the id, description, or categories if you'd prefer something different.