Add French (fr-FR) GUI translation (#841)

Co-authored-by: Jeffrey <9938813+Raphire@users.noreply.github.com>
This commit is contained in:
wang13zhe
2026-10-25 01:05:20 +02:00
committed by GitHub
co-authored by Jeffrey
parent 7e179f1001
commit 3596607bc4
7 changed files with 1711 additions and 3 deletions
+12
View File
@@ -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'