Skip to content

Commit

Permalink
Remove fr pluralization rules. (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineBecquet authored Apr 19, 2023
1 parent 75a6928 commit dea76c7
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 42 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Drop support for Ruby 2.5. \[[#180](https://github.com/kslazarev/numbers_and_words/pull/180)\]
* Drop support for Ruby 2.6. \[[#190](https://github.com/kslazarev/numbers_and_words/pull/190)\]
* Add support for Ruby 3.2. \[[#193](https://github.com/kslazarev/numbers_and_words/pull/193)\]
* Remove pluralization rules for French. \[[#195](https://github.com/kslazarev/numbers_and_words/pull/195)\]
* Your contribution here.

### Bugs
Expand Down
1 change: 0 additions & 1 deletion lib/numbers_and_words/i18n/pluralization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
require 'numbers_and_words/i18n/plurals/cs'
require 'numbers_and_words/i18n/plurals/ru'
require 'numbers_and_words/i18n/plurals/ua'
require 'numbers_and_words/i18n/plurals/fr'
require 'numbers_and_words/i18n/plurals/lv'
require 'numbers_and_words/i18n/plurals/lt'

Expand Down
17 changes: 0 additions & 17 deletions lib/numbers_and_words/i18n/plurals/fr.rb

This file was deleted.

1 change: 0 additions & 1 deletion numbers_and_words.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ Gem::Specification.new do |s|
"lib/numbers_and_words/i18n/locales/numbers.vi.yml",
"lib/numbers_and_words/i18n/pluralization.rb",
"lib/numbers_and_words/i18n/plurals/cs.rb",
"lib/numbers_and_words/i18n/plurals/fr.rb",
"lib/numbers_and_words/i18n/plurals/lt.rb",
"lib/numbers_and_words/i18n/plurals/lv.rb",
"lib/numbers_and_words/i18n/plurals/plurals.rb",
Expand Down
23 changes: 0 additions & 23 deletions spec/numbers_and_words/i18n/pluralization/fr_spec.rb

This file was deleted.

2 changes: 2 additions & 0 deletions spec/numbers_and_words/integer/fixture_examples/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ to_words:
2000000: deux millions
4000000: quatre millions
5000000: cinq millions
21000000: vingt et un millions
999000000: neuf cent quatre-vingt-dix-neuf millions
999000999: neuf cent quatre-vingt-dix-neuf millions neuf cent quatre-vingt-dix-neuf
999999000: neuf cent quatre-vingt-dix-neuf millions neuf cent quatre-vingt-dix-neuf mille
999999999: neuf cent quatre-vingt-dix-neuf millions neuf cent quatre-vingt-dix-neuf mille neuf cent quatre-vingt-dix-neuf
billions:
1174315110: un milliard cent soixante-quatorze millions trois cent quinze mille cent dix
1174315119: un milliard cent soixante-quatorze millions trois cent quinze mille cent dix-neuf
31151315119: trente et un milliards cent cinquante et un millions trois cent quinze mille cent dix-neuf
15174315119: quinze milliards cent soixante-quatorze millions trois cent quinze mille cent dix-neuf
35174315119: trente-cinq milliards cent soixante-quatorze millions trois cent quinze mille cent dix-neuf
935174315119: neuf cent trente-cinq milliards cent soixante-quatorze millions trois cent quinze mille cent dix-neuf
Expand Down

0 comments on commit dea76c7

Please sign in to comment.