mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-11-25 23:16:15 +01:00
Add French (fr-FR) GUI translation (#841)
Co-authored-by: Jeffrey <9938813+Raphire@users.noreply.github.com>
This commit is contained in:
@@ -149,6 +149,18 @@ function Get-PluralCategory {
|
||||
|
||||
return 'other'
|
||||
}
|
||||
# French CLDR rule: 'one' covers 0 and 1, 'other' every remaining count. CLDR also
|
||||
# defines 'many' for whole multiples of 1,000,000, but it is deliberately not
|
||||
# returned here: the catalogs ship no '_many' variants, and a category with no
|
||||
# matching key falls through to the bare key (which does not exist) rather than
|
||||
# to '_other', so returning 'many' would print the raw key name at that count.
|
||||
'fr' {
|
||||
if ($Count -le 1) {
|
||||
return 'one'
|
||||
}
|
||||
|
||||
return 'other'
|
||||
}
|
||||
# Japanese CLDR rule: no grammatical plural, every count is 'other'.
|
||||
'ja' {
|
||||
return 'other'
|
||||
|
||||
Reference in New Issue
Block a user