mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-11-26 07:26:18 +01:00
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:
co-authored by
Igor Galloway
wang13zhe
parent
0eec316edb
commit
87761a1621
@@ -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' {
|
||||
|
||||
Reference in New Issue
Block a user