Skip to content

Commit 56bec80

Browse files
committed
[fr] fix 1100, add new prefix "informal" for 1100–1900
and move "onze-cents" to there, so 1100 is "mille-cent" now, as preferred in the written language, and in particular in a legal, administrative or scientific text, according to Dictionnaire de l’Académie française, 9ᵉ édition: https://www.dictionnaire-academie.fr/article/A9M2155#:~:text=Dans%20l'usage%20courant%2C%20au,cents%20francs%2C%20seize%20cents%20euros. Note: 1200 was already mille-deux-cents, but now with "informal", "douze-cents", etc. up to "dix-neuf-cents". Reported by "arena94" in GitHub issue #90.
1 parent 35fd565 commit 56bec80

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

data/fr.sor

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
1(\d\d) cent[-$1]
4343
(\d)00$ $1-cents
4444
(\d)(\d\d) $1-cent[-$2]
45-
1100 onze-cents
46-
11(\d\d) onze-cent[-$1]
4745
1(\d{3}) mille[-$1]
4846
(\d{1,3})(\d{3}) $1-mille[-$2]
4947
1(\d{6}) un-million[-$1]
@@ -133,6 +131,12 @@ XPF:(\D+) $(\1: franc Pacifique, francs Pacifique, de francs Pacifique, centime,
133131
"(([A-Z]{3}) [-−]?\d+)[.,](\d)" $1 et |$(\30)$(\2:sp)
134132
"(([A-Z]{3}) [-−]?\d+)[.,](\d\d)" $1 et |$3$(\2:sp)
135133

134+
== informal ==
135+
136+
(1\d)00 $1-cents
137+
(1\d)(\d\d) $1-cent[-$1]
138+
(.*) $1
139+
136140
== feminine ==
137141

138142
1 une
@@ -167,5 +171,6 @@ XPF:(\D+) $(\1: franc Pacifique, francs Pacifique, de francs Pacifique, centime,
167171

168172
== help ==
169173

170-
"" $(1), $(2), $(3)\n$(help feminine)$(help masculine)$(help ordinal)$(help ordinal-feminine)$(help ordinal-masculine)$(help ordinal-number-feminine)$(help ordinal-number-masculine)
174+
"" $(1), $(2), $(3)\n$(help feminine)$(help masculine)$(help ordinal)$(help ordinal-feminine)$(help ordinal-masculine)$(help ordinal-number-feminine)$(help ordinal-number-masculine)$(help informal)
175+
(informal) \1: $(\1 1100), $(\1 1200), $(\1 1300)\n
171176
(feminine|masculine|ordinal(-feminine|-masculine|-number)?) \1: $(\1 1), $(\1 2), $(\1 3)\n

0 commit comments

Comments
 (0)