| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This file is needed to install babel from source, but babel
tries to fetch it from internet if it's not present.
|
|\ |
|
| |
| |
| |
| | |
as pointed out in #52
|
| |
| |
| |
| | |
fixes #57
|
| |
| |
| |
| | |
fixes #75
|
| |
| |
| |
| | |
Apparently jython doesn't understand "utf_8". Fixes #46.
|
| |
| |
| |
| |
| | |
otherwise, running tests in another locale fails
fixes #45, thanks @Arfrever!
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | | |
fixes #56
|
| | | |
|
| |/ |
|
| |
| |
| |
| | |
fixes #69
|
| |\
| | |
| | | |
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.
|
| |\ \
| | | |
| | | | |
Fixed typos on cli errors.
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
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``).
|
| |\ \ \
| | | | |
| | | | | |
Update classifiers to give more detailed information about babel's versi...
|
| | |/ /
| | | |
| | | |
| | | | |
compatibility
|
| |\ \ \
| | | | |
| | | | | |
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>
|
| |\ \ \
| | |/ /
| |/| | |
fix `pybabel update` on py3
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
| |
| |
| |
| | |
Re-using the pickled data across 2.x and 3.x causes errors when running
the tests.
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
When building the CLDR data from scratch the process would break on
windows because the timezone mapping is not available yet.
This fixes #43.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/ |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
This fixes some locales not loading correctly (like zh_CN) that
are defined through simplified rules in the likely-subtag mapping.
|
| | |
|