Added new release

This commit is contained in:
Marlon Rodriguez Garcia
2022-08-03 14:49:06 -04:00
parent 4d4ca043f7
commit f89306e32c
5 changed files with 38 additions and 6 deletions

View File

@@ -1,6 +1,34 @@
Changelog Changelog
========= =========
Version 0.5.11 -- 2022/08/03
----------------------------
* Add KZT and UAH currencies to lang RU (#264)
* Add es_NI currency (#276)
* Update .gitignore to add .eggs/ directory (#280)
* Fix Hebrew support (#289)
* Update test_tr.py to increase coverage (#298)
* Add ordinal 12,345 to ES test suite to increase coverage (#287)
* Add simple tests for lang_DK.py (#286)
* Add testcase for lang_EN.py (#288)
* Add more tests to base.py (#283)
* Fixed misspelling of 21 (cardinal and ordinal number) in IT language (#270)
* Romanian issues 259 (#260)
* Adding Language Support for Telugu / Bug Fix in Kannada (#263)
* Add support of Kazakh language (KZ) (#306)
* Update README.rst (#307)
* Added support for Hungarian language (#310)
* [UPD] Readme file (#363)
* [ADD] num2words: add traslation to spanish of several currencies (#356)
* added swedish language including test cases (#352)
* Remove dupplicated line in lang_PT_BR (#355)
* Fix ordinal_num output for Dutch (NL) (#369)
* Polishordinals (#367)
* [tr] return Turkish 0 ordinal and cardinal (#347)
* Improve Ukrainian support and minor fixes in CZ, KZ, LT, LV, PL, RU, SR languages (#400)
* feat: ci: replace travis by github workflows (#448)
* [ES] Added missing accents ("dieciséis", "dólar", "dólares", "veintiún"), improved currency gender handling, fixed pound cent names (#443)
Version 0.5.10 -- 2019/05/12 Version 0.5.10 -- 2019/05/12
---------------------------- ----------------------------

View File

@@ -1,5 +1,5 @@
num2words library - Convert numbers to words in multiple languages num2words library - Convert numbers to words in multiple languages
========================================================== ==================================================================
.. image:: https://img.shields.io/pypi/v/num2words.svg .. image:: https://img.shields.io/pypi/v/num2words.svg
:target: https://pypi.python.org/pypi/num2words :target: https://pypi.python.org/pypi/num2words

View File

@@ -55,7 +55,7 @@ import sys
from docopt import docopt from docopt import docopt
import num2words import num2words
__version__ = "0.5.10" __version__ = "0.5.11"
__license__ = "LGPL" __license__ = "LGPL"

View File

@@ -93,7 +93,7 @@ class Num2Word_KO(Num2Word_Base):
def to_ordinal(self, value): def to_ordinal(self, value):
self.verify_ordinal(value) self.verify_ordinal(value)
if(value == 1): if value == 1:
return "첫 번째" return "첫 번째"
outwords = self.to_cardinal(value).split(" ") outwords = self.to_cardinal(value).split(" ")
lastwords = outwords[-1].split("") lastwords = outwords[-1].split("")

View File

@@ -27,8 +27,11 @@ CLASSIFIERS = [
'Intended Audience :: Developers', 'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License ' 'License :: OSI Approved :: GNU Library or Lesser General Public License '
'(LGPL)', '(LGPL)',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Software Development :: Internationalization', 'Topic :: Software Development :: Internationalization',
'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Localization', 'Topic :: Software Development :: Localization',
@@ -61,11 +64,12 @@ setup(
version=find_version("bin/num2words"), version=find_version("bin/num2words"),
description='Modules to convert numbers to words. Easily extensible.', description='Modules to convert numbers to words. Easily extensible.',
long_description=LONG_DESC, long_description=LONG_DESC,
long_description_content_type="text/markdown",
license='LGPL', license='LGPL',
author='Taro Ogawa <tso at users sourceforge net>', author='Taro Ogawa <tso at users sourceforge net>',
author_email='tos@users.sourceforge.net', author_email='tos@users.sourceforge.net',
maintainer='Savoir-faire Linux inc.', maintainer='Savoir-faire Linux inc.',
maintainer_email='istvan.szalai@savoirfairelinux.com', maintainer_email='support@savoirfairelinux.com',
keywords=' number word numbers words convert conversion i18n ' keywords=' number word numbers words convert conversion i18n '
'localisation localization internationalisation ' 'localisation localization internationalisation '
'internationalization', 'internationalization',