Add Russian (ru-RU) GUI translation (#857)

Co-authored-by: Igor Galloway <346784590+galloway-igor@users.noreply.github.com>
Co-authored-by: wang13zhe <3516637747@qq.com>
This commit is contained in:
Jeffrey
2026-10-24 14:28:25 +02:00
committed by GitHub
co-authored by Igor Galloway wang13zhe
parent 0eec316edb
commit 87761a1621
6 changed files with 1728 additions and 0 deletions
+19
View File
@@ -147,6 +147,25 @@ Describe 'Get-PluralCategory' {
) {
Get-PluralCategory -LanguageCode 'pt-BR' -Count $Count | Should -Be $Expected
}
It 'returns <Expected> for a Russian count of <Count>' -ForEach @(
@{ Count = 0; Expected = 'many' }
@{ Count = 1; Expected = 'one' }
@{ Count = 2; Expected = 'few' }
@{ Count = 4; Expected = 'few' }
@{ Count = 5; Expected = 'many' }
@{ Count = 11; Expected = 'many' }
@{ Count = 12; Expected = 'many' }
@{ Count = 14; Expected = 'many' }
@{ Count = 21; Expected = 'one' }
@{ Count = 22; Expected = 'few' }
@{ Count = 25; Expected = 'many' }
@{ Count = 101; Expected = 'one' }
@{ Count = 111; Expected = 'many' }
@{ Count = 122; Expected = 'few' }
) {
Get-PluralCategory -LanguageCode 'ru-RU' -Count $Count | Should -Be $Expected
}
}
Describe 'Get-Translation' {