]>
git.ipfire.org Git - thirdparty/babel.git/log
benselme [Sun, 11 Jan 2015 23:28:53 +0000 (18:28 -0500)]
Merge branch 'cldr-24' into cldr-26
benselme [Sun, 11 Jan 2015 23:27:20 +0000 (18:27 -0500)]
Fixed doctest failing randomly
benselme [Sun, 11 Jan 2015 23:18:12 +0000 (18:18 -0500)]
Fixed 2.6 bug (Decimal cannot convert floats)
benselme [Sun, 11 Jan 2015 22:12:47 +0000 (17:12 -0500)]
Fix doctests
benselme [Sun, 11 Jan 2015 21:00:10 +0000 (16:00 -0500)]
Merge branch 'cldr-25' into cldr-26
benselme [Sun, 11 Jan 2015 20:59:15 +0000 (15:59 -0500)]
Merge branch 'cldr-24' into cldr-25
benselme [Sun, 11 Jan 2015 20:58:53 +0000 (15:58 -0500)]
Fixed doctests
benselme [Sun, 11 Jan 2015 20:21:16 +0000 (15:21 -0500)]
CLDR-26 support: Minor adjustments to tests. URL, filename and filehash.
benselme [Sun, 11 Jan 2015 16:55:24 +0000 (11:55 -0500)]
Don't try and import deprecated BCP-47 timezones
benselme [Sun, 11 Jan 2015 16:54:28 +0000 (11:54 -0500)]
File name and checksum for CLDR-25
benselme [Fri, 9 Jan 2015 20:35:21 +0000 (15:35 -0500)]
Make sure extract_operands is always called when using plural.to_python, add tests to check operands eval works
benselme [Fri, 9 Jan 2015 19:56:31 +0000 (14:56 -0500)]
Fixed import and format_timedelta to handle new time unit patterns in cldr-24.
Fixed tests to account for various minor changes in cldr-24.
benselme [Fri, 9 Jan 2015 16:17:07 +0000 (11:17 -0500)]
Fix to_python when i is not provided to evaluate function
benselme [Fri, 9 Jan 2015 15:33:24 +0000 (10:33 -0500)]
plural.extract_operands function and tests
benselme [Fri, 9 Jan 2015 13:51:54 +0000 (08:51 -0500)]
PEP8
benselme [Fri, 9 Jan 2015 00:40:28 +0000 (19:40 -0500)]
More stuff merged from mitsuhiko's cldr-24 branch
benselme [Fri, 9 Jan 2015 00:22:20 +0000 (19:22 -0500)]
More plural._Parser tests
benselme [Fri, 9 Jan 2015 00:03:25 +0000 (19:03 -0500)]
Improved _Parser doc
benselme [Fri, 9 Jan 2015 00:01:48 +0000 (19:01 -0500)]
More extraction in _Parser, more tests
benselme [Thu, 8 Jan 2015 22:57:07 +0000 (17:57 -0500)]
Extract PluralRule.skip
benselme [Thu, 8 Jan 2015 22:53:16 +0000 (17:53 -0500)]
Extract PluralRule.test and add tests
benselme [Thu, 8 Jan 2015 22:29:24 +0000 (17:29 -0500)]
Include Armin Ronacher's work on PluralRule mitsuhiko/babel@
774047a
benselme [Thu, 8 Jan 2015 22:07:11 +0000 (17:07 -0500)]
Extract plural rule tokenization function and add tests
benselme [Thu, 8 Jan 2015 19:49:14 +0000 (14:49 -0500)]
Add link to rules spec in PluralRule doc
benselme [Thu, 8 Jan 2015 16:34:21 +0000 (11:34 -0500)]
Some language aliases, which we do not want now use _ instead of -
benselme [Thu, 8 Jan 2015 16:03:52 +0000 (11:03 -0500)]
Update CLDR URL for v24, filename and MD5
Armin Ronacher [Mon, 7 Apr 2014 21:30:28 +0000 (23:30 +0200)]
Merge branch 'master' of github.com:mitsuhiko/babel
Alex Morega [Wed, 15 Jan 2014 20:12:19 +0000 (22:12 +0200)]
read/write all PO files in binary mode
as pointed out in #52
Alex Morega [Wed, 8 Jan 2014 11:24:40 +0000 (13:24 +0200)]
correctly handle 'C.UTF-8' locale
fixes #57
Alex Morega [Tue, 7 Jan 2014 06:16:16 +0000 (08:16 +0200)]
fix warning for deprecated array.tostring
fixes #75
Alex Morega [Mon, 6 Jan 2014 21:15:45 +0000 (23:15 +0200)]
change spelling of the encoding
Apparently jython doesn't understand "utf_8". Fixes #46.
Alex Morega [Mon, 6 Jan 2014 20:48:15 +0000 (22:48 +0200)]
specify locale
otherwise, running tests in another locale fails
fixes #45, thanks @Arfrever!
Alex Morega [Mon, 6 Jan 2014 20:39:22 +0000 (22:39 +0200)]
re-enable doctests
Alex Morega [Mon, 6 Jan 2014 19:56:17 +0000 (21:56 +0200)]
Merge branch 'fix-time-parsing'
Alex Morega [Mon, 6 Jan 2014 19:55:27 +0000 (21:55 +0200)]
parse datetime values with no timezone info
fixes #56
Alex Morega [Mon, 6 Jan 2014 19:43:33 +0000 (21:43 +0200)]
rewrite regexp parsing
Alex Morega [Mon, 6 Jan 2014 19:41:25 +0000 (21:41 +0200)]
extract _parse_datetime_header function
Alex Morega [Mon, 6 Jan 2014 19:19:47 +0000 (21:19 +0200)]
use fallback plural if none is defined in CLDR
fixes #69
Alex Morega [Mon, 6 Jan 2014 18:28:51 +0000 (10:28 -0800)]
Merge pull request #66 from Sjord/master
Correctly parse number pattern with '-' on the end
Alex Morega [Mon, 6 Jan 2014 17:12:22 +0000 (09:12 -0800)]
Merge pull request #48 from yoloseem/patch-1
Fixed typos on cli errors.
Alex Morega [Mon, 6 Jan 2014 17:08:02 +0000 (09:08 -0800)]
Merge pull request #68 from masklinn/master
Add links from changelog entries to their ticket via extlink
Alex Morega [Mon, 6 Jan 2014 17:02:15 +0000 (09:02 -0800)]
Merge pull request #64 from Ivoz/patch-1
Update classifiers to give more detailed information about babel's versi...
Alex Morega [Mon, 6 Jan 2014 16:50:30 +0000 (08:50 -0800)]
Merge pull request #73 from javacruft/wip-currency-name-test
Fixup get_currency_name test
Alex Morega [Mon, 6 Jan 2014 16:47:05 +0000 (08:47 -0800)]
Merge pull request #52 from adyshev/patch-1
fix `pybabel update` on py3
James Page [Fri, 6 Dec 2013 11:49:26 +0000 (11:49 +0000)]
Fixup get_currency_name test
This test failed in environments where no default locale
can be determined; make the test deterministic and add
additional test for plurality.
Signed-off-by: James Page <james.page@ubuntu.com>
masklinn [Tue, 26 Nov 2013 18:45:35 +0000 (19:45 +0100)]
Add links from changelog entries to their ticket via extlink
Supports links to the new github (``:gh:``) and the old trac
(``:trac:``). The prefixes are used to keep the same reference style
as pre-extlinks in the final output (aside from a few entries at the
bottom of 1.0, trac references were all in the form ``ticket #42``).
Armin Ronacher [Wed, 20 Nov 2013 17:38:25 +0000 (17:38 +0000)]
Reformatted import script
Sjoerd Langkemper [Wed, 6 Nov 2013 10:32:28 +0000 (11:32 +0100)]
Correctly parse number pattern with '-' on the end
For the nl_NL locale, negative numbers would be formatted just like
positive numbers by format_currency. By changing NUMBER_TOKEN to
no longer have a minus sign in it, the minus sign on the end
of the negative pattern for nl_NL is correctly parsed.
Matt Iversen [Sat, 19 Oct 2013 11:27:38 +0000 (22:27 +1100)]
Update classifiers to give more detailed information about babel's version compatibility
Alexander A. Dyshev [Fri, 23 Aug 2013 14:06:21 +0000 (17:06 +0300)]
Python3
Without 'b' option, using python3 everybody will get during update:
bash-3.2$ pybabel update -i messages.pot -d translations
updating catalog 'translations/en/LC_MESSAGES/messages.po' based on 'messages.pot'
Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.3.2/bin/pybabel", line 9, in <module>
load_entry_point('Babel==1.3', 'console_scripts', 'pybabel')()
File "/home/user/.pyenv/versions/3.3.2/lib/python3.3/site-packages/babel/messages/frontend.py", line 1151, in main
return CommandLineInterface().run(sys.argv)
File "/home/user/.pyenv/versions/3.3.2/lib/python3.3/site-packages/babel/messages/frontend.py", line 665, in run
return getattr(self, cmdname)(args[1:])
File "/home/user/.pyenv/versions/3.3.2/lib/python3.3/site-packages/babel/messages/frontend.py", line 1130, in update
width=options.width)
File "/home/user/.pyenv/versions/3.3.2/lib/python3.3/site-packages/babel/messages/pofile.py", line 444, in write_po
_write(comment_header + u'\n')
File "/home/user/.pyenv/versions/3.3.2/lib/python3.3/site-packages/babel/messages/pofile.py", line 388, in _write
fileobj.write(text)
TypeError: must be str, not bytes
Daniel Neuhäuser [Thu, 22 Aug 2013 17:40:55 +0000 (19:40 +0200)]
Fix tox configuration
Re-using the pickled data across 2.x and 3.x causes errors when running
the tests.
Hyunjun Kim [Fri, 16 Aug 2013 11:40:31 +0000 (20:40 +0900)]
Fixed a typo on description for setuptools command option.
Hyunjun Kim [Fri, 16 Aug 2013 11:08:23 +0000 (20:08 +0900)]
Fixed typos on cli errors.
Armin Ronacher [Wed, 31 Jul 2013 20:50:13 +0000 (22:50 +0200)]
Merge branch '1.x-maintenance'
Armin Ronacher [Wed, 31 Jul 2013 20:48:52 +0000 (22:48 +0200)]
Fixed a CLDR import error on windows.
When building the CLDR data from scratch the process would break on
windows because the timezone mapping is not available yet.
This fixes #43.
Armin Ronacher [Tue, 30 Jul 2013 00:32:35 +0000 (02:32 +0200)]
Fixed a typo
Armin Ronacher [Tue, 30 Jul 2013 00:17:03 +0000 (02:17 +0200)]
Renamed a chapter in the docs
Armin Ronacher [Tue, 30 Jul 2013 00:13:45 +0000 (02:13 +0200)]
Added support for territory currency lookups.
The main usecase of this is to figure out at what point in time did
a country use a certain currency. The default behavior is to use
the current date.
This fixes #42
Armin Ronacher [Mon, 29 Jul 2013 17:09:31 +0000 (19:09 +0200)]
Merge branch '1.x-maintenance'
Armin Ronacher [Mon, 29 Jul 2013 17:09:07 +0000 (19:09 +0200)]
Fixed territory aliases not working properly
Armin Ronacher [Mon, 29 Jul 2013 17:08:04 +0000 (19:08 +0200)]
Added changelog line for 1.4
Armin Ronacher [Mon, 29 Jul 2013 17:04:44 +0000 (19:04 +0200)]
Merge branch '1.x-maintenance'
Armin Ronacher [Mon, 29 Jul 2013 11:33:55 +0000 (13:33 +0200)]
Ready for 1.4
Armin Ronacher [Mon, 29 Jul 2013 11:33:20 +0000 (13:33 +0200)]
Bump version number to 1.3
Armin Ronacher [Mon, 29 Jul 2013 11:33:11 +0000 (13:33 +0200)]
Release is today
Armin Ronacher [Mon, 29 Jul 2013 09:34:37 +0000 (11:34 +0200)]
Added a missing changelog entry
Armin Ronacher [Mon, 29 Jul 2013 09:26:19 +0000 (11:26 +0200)]
Fixed a bug on Python 3 when writing to stdout
Armin Ronacher [Sun, 28 Jul 2013 21:35:30 +0000 (23:35 +0200)]
Added another testcase for subtag expansion.
Armin Ronacher [Mon, 29 Jul 2013 09:34:37 +0000 (11:34 +0200)]
Added a missing changelog entry
Armin Ronacher [Mon, 29 Jul 2013 09:26:19 +0000 (11:26 +0200)]
Fixed a bug on Python 3 when writing to stdout
Armin Ronacher [Sun, 28 Jul 2013 21:35:30 +0000 (23:35 +0200)]
Added another testcase for subtag expansion.
Armin Ronacher [Sun, 28 Jul 2013 21:15:59 +0000 (23:15 +0200)]
Merge branch '1.x-maintenance'
Armin Ronacher [Sun, 28 Jul 2013 21:13:21 +0000 (23:13 +0200)]
Fixed #37 (likely subtag resolving)
This fixes some locales not loading correctly (like zh_CN) that
are defined through simplified rules in the likely-subtag mapping.
Armin Ronacher [Sun, 28 Jul 2013 21:12:19 +0000 (23:12 +0200)]
Prepare 1.3
Armin Ronacher [Sat, 27 Jul 2013 11:00:09 +0000 (13:00 +0200)]
Merge branch '1.x-maintenance'
Armin Ronacher [Sat, 27 Jul 2013 10:59:47 +0000 (12:59 +0200)]
If we need a 1.3
Armin Ronacher [Sat, 27 Jul 2013 10:58:38 +0000 (12:58 +0200)]
Bump version number to 1.2
Armin Ronacher [Sat, 27 Jul 2013 10:58:07 +0000 (12:58 +0200)]
1.2 is today as well
Armin Ronacher [Sat, 27 Jul 2013 10:57:27 +0000 (12:57 +0200)]
Make sure release script runs cldr importing
Armin Ronacher [Sat, 27 Jul 2013 10:56:43 +0000 (12:56 +0200)]
Added changelog entry
Armin Ronacher [Sat, 27 Jul 2013 10:55:41 +0000 (12:55 +0200)]
Fixed make tox-test on new pip versions
Armin Ronacher [Sat, 27 Jul 2013 10:44:31 +0000 (12:44 +0200)]
Invoke download_import_cldr.py through python
Armin Ronacher [Sat, 27 Jul 2013 10:43:13 +0000 (12:43 +0200)]
Make tests work without installation
Armin Ronacher [Sat, 27 Jul 2013 10:40:26 +0000 (12:40 +0200)]
Improved standalone test command
Armin Ronacher [Sat, 27 Jul 2013 10:36:23 +0000 (12:36 +0200)]
Added standalone test command
Armin Ronacher [Sat, 27 Jul 2013 10:14:22 +0000 (12:14 +0200)]
Added tox.ini to MANIFEST
Armin Ronacher [Sat, 27 Jul 2013 10:07:47 +0000 (12:07 +0200)]
Fixed MANIFEST.in to not work for the tests and docs properly
Armin Ronacher [Sat, 27 Jul 2013 10:02:46 +0000 (12:02 +0200)]
Make sure data files are included as well
Armin Ronacher [Sat, 27 Jul 2013 10:00:04 +0000 (12:00 +0200)]
-dev is now explicitly in the version, no need for setup.cfg to add it
Armin Ronacher [Sat, 27 Jul 2013 09:59:38 +0000 (11:59 +0200)]
Fixed MANIFEST.in recursive include
Armin Ronacher [Sat, 27 Jul 2013 09:56:34 +0000 (11:56 +0200)]
Added 2.0 to the changelog
Armin Ronacher [Sat, 27 Jul 2013 09:56:00 +0000 (11:56 +0200)]
Merge branch '1.x-maintenance'
Armin Ronacher [Sat, 27 Jul 2013 09:55:41 +0000 (11:55 +0200)]
Fixed not all tests being included
Armin Ronacher [Sat, 27 Jul 2013 09:39:53 +0000 (11:39 +0200)]
Merge branch '1.0-maintenance'
Armin Ronacher [Sat, 27 Jul 2013 09:39:02 +0000 (11:39 +0200)]
Ready for 1.2 if we need it
Armin Ronacher [Sat, 27 Jul 2013 09:37:59 +0000 (11:37 +0200)]
Bump version number to 1.1
Armin Ronacher [Sat, 27 Jul 2013 09:37:34 +0000 (11:37 +0200)]
Fixed a changelog entry
Armin Ronacher [Sat, 27 Jul 2013 09:34:33 +0000 (11:34 +0200)]
Changed logic for bumping version numbers in release script
Armin Ronacher [Sat, 27 Jul 2013 09:27:51 +0000 (11:27 +0200)]
Added __pycache__ to clean-pyc
Armin Ronacher [Sat, 27 Jul 2013 09:21:50 +0000 (11:21 +0200)]
Added a changelog entry for the tests