Skip to content

Commit

Permalink
Fixes french ordinal
Browse files Browse the repository at this point in the history
Fixes #25
  • Loading branch information
BenjaminVanRyseghem committed Apr 25, 2015
1 parent b306940 commit f47858a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion languages/fr-CA.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
trillion: 'T'
},
ordinal : function (number) {
return number === 1 ? 'er' : 'e';
return number === 1 ? 'er' : 'ème';
},
currency: {
symbol: '$',
Expand Down
2 changes: 1 addition & 1 deletion languages/fr-CH.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
trillion: 't'
},
ordinal : function (number) {
return number === 1 ? 'er' : 'e';
return number === 1 ? 'er' : 'ème';
},
currency: {
symbol: 'CHF',
Expand Down
2 changes: 1 addition & 1 deletion languages/fr-FR.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
trillion: 't'
},
ordinal : function (number) {
return number === 1 ? 'er' : 'e';
return number === 1 ? 'er' : 'ème';
},
currency: {
symbol: '€',
Expand Down
6 changes: 3 additions & 3 deletions tests/languages/fr-CA.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ exports['language:fr'] = {
[1460,'0 a','1 k'],
[-104000,'0 a','-104 k'],
[1,'0o','1er'],
[52,'0o','52e'],
[23,'0o','23e'],
[100,'0o','100e'],
[52,'0o','52ème'],
[23,'0o','23ème'],
[100,'0o','100ème'],
[1,'0[.]0','1']
];

Expand Down
6 changes: 3 additions & 3 deletions tests/languages/fr-ch.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ exports['language:fr-ch'] = {
[1460,'0a','1k'],
[-104000,'0a','-104k'],
[1,'0o','1er'],
[52,'0o','52e'],
[23,'0o','23e'],
[100,'0o','100e'],
[52,'0o','52ème'],
[23,'0o','23ème'],
[100,'0o','100ème'],
[1,'0[.]0','1']
];

Expand Down
6 changes: 3 additions & 3 deletions tests/languages/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ exports['language:fr'] = {
[1460,'0a','1k'],
[-104000,'0a','-104k'],
[1,'0o','1er'],
[52,'0o','52e'],
[23,'0o','23e'],
[100,'0o','100e'],
[52,'0o','52ème'],
[23,'0o','23ème'],
[100,'0o','100ème'],
[1,'0[.]0','1']
];

Expand Down

0 comments on commit f47858a

Please sign in to comment.