Fix Hebrew support

- Correct gender of 1 and 2 (and 11 and 12) to match remainder of numbers
- Fix spelling of 8 (and 18 and 80)
- Add cases for thousands 3-9 and support in the logic
- Fix placement of "and" conjunction to match Academy of Hebrew Language position
- Add tests
This commit is contained in:
Ariel Allon
2019-10-27 23:46:02 -05:00
committed by Ernesto Rodriguez Ortiz
parent 4f116228b5
commit 28c304c2f4
3 changed files with 98 additions and 16 deletions

View File

@@ -102,7 +102,7 @@ class CliTestCase(unittest.TestCase):
)
def test_cli_with_lang_to(self):
"""You should be able to specify a language
"""You should be able to specify a language and currency
"""
output = self.cli.run_cmd(150.55, '--lang', 'es', '--to', 'currency')
self.assertEqual(output.return_code, 0)