Sat, 27 Feb 2010 11:15:18 +0000 |
jruigrok |
Fix some more typos.
|
Sat, 27 Feb 2010 10:32:54 +0000 |
palgarvio |
Typo correction.
|
Wed, 24 Feb 2010 13:01:47 +0000 |
jruigrok |
Document the square bracket and CLDR 1.7 work.
|
Wed, 24 Feb 2010 12:59:35 +0000 |
jruigrok |
Backport r483. This fixes messages containing square brackets from failing
stable-0.9.x
|
Wed, 24 Feb 2010 12:27:32 +0000 |
jruigrok |
Forgot to bump the copyright line.
|
Fri, 19 Feb 2010 14:15:56 +0000 |
jruigrok |
Actually make the msgid_plural be a plural as per typical use case.
|
Fri, 19 Feb 2010 14:12:41 +0000 |
jruigrok |
More than two plural forms work nowadays. Adjust the test.
|
Fri, 19 Feb 2010 13:45:25 +0000 |
jruigrok |
Put the square brackets test after all the normal plural tests. It's more
|
Fri, 19 Feb 2010 13:38:24 +0000 |
jruigrok |
Add a test for a locale with one plural form.
|
Fri, 19 Feb 2010 13:16:08 +0000 |
jruigrok |
Fix testcase name typo.
|
Fri, 19 Feb 2010 13:08:56 +0000 |
jruigrok |
Make sure to only strip on the first occurence of ].
|
Fri, 25 Sep 2009 20:29:11 +0000 |
pjenvey |
remove sorted and don't assume dict ordering (Python 2.3 & Jython compat)
|
Sat, 22 Aug 2009 12:53:45 +0000 |
jruigrok |
Current CDLR has implemented the full type specifiers on the dateTimeFormats,
|
Sat, 22 Aug 2009 12:13:40 +0000 |
jruigrok |
The date now returns 52 with the current data, adjust the test accordingly.
|
Sat, 22 Aug 2009 12:09:29 +0000 |
jruigrok |
Revert part of the commits with relation to the de locale's use of \xa0 as
|
Sat, 22 Aug 2009 12:03:44 +0000 |
jruigrok |
Fix the import script to skip alt or draft items in the numbers/symbols
|
Fri, 21 Aug 2009 12:51:17 +0000 |
jruigrok |
Add extra doctest for formatting a number in de_DE since it uses a
|
Fri, 21 Aug 2009 12:26:00 +0000 |
jruigrok |
Adjust tests to match the data in CLDR: German doesn't use a . as thousands
|
Fri, 21 Aug 2009 12:11:39 +0000 |
jruigrok |
Mark up two docstrings as raw (r""") in order to get the escaped characters
|
Wed, 19 Aug 2009 12:15:13 +0000 |
jruigrok |
Add a __ne__ method for the Locale class.
|
Wed, 29 Jul 2009 10:05:01 +0000 |
jruigrok |
Make sure to note CLDR 1.7 in installation details.
|
Wed, 29 Jul 2009 10:00:32 +0000 |
jruigrok |
First changes to accomodate CLDR 1.7's changes.
|
Fri, 08 May 2009 08:05:03 +0000 |
dfraser |
add `--project` and `--version` options for commandline (fixes #173)
|
Tue, 17 Mar 2009 22:26:03 +0000 |
cmlenz |
Fix for msgctxt parsing in PO files. Thanks to Asheesh Laroia for the patch. Closes #159.
|
Mon, 16 Mar 2009 17:49:48 +0000 |
jruigrok |
Fix Catalog._set_mime_headers' handing of negative offsets.
|
Thu, 12 Mar 2009 15:58:33 +0000 |
palgarvio |
Typo.
|
Sat, 10 Jan 2009 22:42:01 +0000 |
palgarvio |
Fuzzy matching regarding plurals should *NOT* be checked against `len(message.id)` because this is always 2, instead, it's should be checked against `catalog.num_plurals`.
|
Tue, 23 Dec 2008 01:12:59 +0000 |
palgarvio |
Use a more explicit error message if no option or argument(command) is passed to `pybabel`. Fixes #81.
|
Tue, 23 Dec 2008 01:03:40 +0000 |
palgarvio |
Now, the `--width` option, although with a default value of 76, it's not set to any value initially so that the `--no-wrap` option can be passed without throwing an error. Fixes #145.
|
Thu, 18 Dec 2008 01:36:14 +0000 |
palgarvio |
Final and complete fix for #148.
|
Thu, 18 Dec 2008 00:19:47 +0000 |
palgarvio |
Include patch from Asheesh Laroia. Fixes #45.
|
Thu, 18 Dec 2008 00:14:40 +0000 |
palgarvio |
Add support for `msgctxt`. See #54.
|
Tue, 16 Dec 2008 13:35:23 +0000 |
palgarvio |
Testcase for fix of #148.
|
Mon, 15 Dec 2008 23:47:54 +0000 |
palgarvio |
Make the `POT-Creation-Date` of the catalog being updated equal to `POT-Creation-Date` of the template used to update. Fixes #148.
|
Mon, 15 Dec 2008 23:14:50 +0000 |
palgarvio |
Typo's and sorted output of `list-locales`.
|
Fri, 31 Oct 2008 16:13:59 +0000 |
aronacher |
Removed `ValueError` raising for string formatting message checkers if the string does not contain any string formattings. The new behavior is undefined. This fixes at least one of the problems of the #150 ticket.
|
Thu, 09 Oct 2008 17:13:26 +0000 |
pjenvey |
2.3 compat: fix another usage of set
|
Wed, 08 Oct 2008 22:42:55 +0000 |
pjenvey |
fix Python 2.3 compat: rearrange set/itemgetter/rsplit/sorted/unicode.decode
|
Mon, 25 Aug 2008 11:52:58 +0000 |
cmlenz |
Ported [448] and [449] to 0.9.x branch.
stable-0.9.x 0.9.4
|
Mon, 25 Aug 2008 11:51:51 +0000 |
cmlenz |
Mark revs that should not be backported to stable branch.
stable-0.9.x
|
Mon, 25 Aug 2008 11:49:19 +0000 |
cmlenz |
More plural module cleanup and fixes.
|
Mon, 25 Aug 2008 11:33:35 +0000 |
cmlenz |
Fix some epydoc usage in the `plural` module.
|
Mon, 25 Aug 2008 11:32:56 +0000 |
cmlenz |
Fix type in ChangeLog.
|
Mon, 25 Aug 2008 11:24:28 +0000 |
cmlenz |
Add message domain support to the `Translations` class. Closes #137.
|
Mon, 25 Aug 2008 10:08:22 +0000 |
cmlenz |
Ported [442:446/trunk] to 0.9.x branch.
stable-0.9.x
|
Mon, 25 Aug 2008 10:06:40 +0000 |
cmlenz |
Added [444] and [445] to ChangeLog.
|
Sun, 24 Aug 2008 14:36:18 +0000 |
aronacher |
Added support for string concatenation to javascript lexer. _("foo" + "bar") is now equivalent to _("foobar")
|
Sat, 16 Aug 2008 22:30:35 +0000 |
aronacher |
JavaScript lexer is now handling escapes in regular expression literals properly. This closes #138.
|
Wed, 06 Aug 2008 10:20:49 +0000 |
cmlenz |
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
|
Tue, 05 Aug 2008 23:30:50 +0000 |
palgarvio |
Fix `babel.support.Translations.__repr__` and make it less stupid; Include the project name and version defined on the catalog loaded.
|
Fri, 18 Jul 2008 13:38:02 +0000 |
cmlenz |
Add `timedelta` function to the `Format` support class.
|
Fri, 18 Jul 2008 13:10:46 +0000 |
cmlenz |
Ported [438] and [439] back to 0.9.x branch.
stable-0.9.x
|
Fri, 18 Jul 2008 13:09:21 +0000 |
cmlenz |
Fix for memory leak reported in #128. Thanks to Manlio Perillo for reporting the problem.
|
Wed, 16 Jul 2008 16:28:21 +0000 |
cmlenz |
Make the dependency on pytz for the tests explicit in `setup.py`.
|
Tue, 15 Jul 2008 16:48:02 +0000 |
cmlenz |
Ported [436] to 0.9.x branch.
stable-0.9.x
|
Tue, 15 Jul 2008 16:34:18 +0000 |
cmlenz |
Fixed quarters in date formatting.
|
Tue, 15 Jul 2008 16:02:17 +0000 |
cmlenz |
The `format_timedelta` function now returns, for example, ?1 day? instead of ?0 days? if the granularity is `day` and the delta is less than a day but greater than zero.
|
Tue, 15 Jul 2008 12:53:52 +0000 |
cmlenz |
Doc improvements for the new `format_timedelta` function.
|
Tue, 15 Jul 2008 10:22:33 +0000 |
aronacher |
alternative repr for plural rules
|
Tue, 15 Jul 2008 10:13:55 +0000 |
aronacher |
Fixed not in plural rules
|
Mon, 14 Jul 2008 22:18:39 +0000 |
aronacher |
Fixed a bug in plural.py that caused a traceback for some locales, changed the `__mod__` DateTimePattern to not raise exceptions but return NotImplemented.
|
Mon, 14 Jul 2008 22:13:44 +0000 |
cmlenz |
Preliminary support for timedelta formatting (see #126), and import/expose the locale plural rules from the CLDR.
|
Mon, 14 Jul 2008 19:46:19 +0000 |
cmlenz |
Ported [424], [425], and [428] back to 0.9.x branch.
stable-0.9.x
|
Mon, 14 Jul 2008 13:02:16 +0000 |
cmlenz |
More graceful `__version__` initialization when Babel is not installed in a way Setuptools knows about it.
|
Mon, 14 Jul 2008 12:48:21 +0000 |
aronacher |
Some refactoring in plural.py
|
Fri, 11 Jul 2008 13:51:20 +0000 |
aronacher |
Added pluralization support module for the plural definitions from the latest CLDR
|
Fri, 11 Jul 2008 13:47:28 +0000 |
cmlenz |
Improve CLDR import of currency-related data to ignore unsupported features such as symbol choice patterns and pluralized display names. See #93.
|
Fri, 11 Jul 2008 08:58:04 +0000 |
jruigrok |
Clarify first_week_day, weekend_start, and weekend_end to point out that
|
Thu, 10 Jul 2008 09:44:38 +0000 |
cmlenz |
Bump up version number on 0.9.x branch.
stable-0.9.x
|
Wed, 09 Jul 2008 16:39:06 +0000 |
cmlenz |
Bump up version number on 0.9.x branch.
stable-0.9.x 0.9.3
|
Wed, 09 Jul 2008 16:38:20 +0000 |
cmlenz |
Ported [417] to 0.9.x branch.
stable-0.9.x
|
Wed, 09 Jul 2008 16:36:54 +0000 |
cmlenz |
Fix dates in ChangeLog.
|
Tue, 08 Jul 2008 21:01:28 +0000 |
cmlenz |
Ported [407:415/trunk] back to 0.9.x branch.
stable-0.9.x
|
Tue, 08 Jul 2008 20:58:02 +0000 |
cmlenz |
Use item access to catalog messages in tests, so that they can be easily ported back to the 0.9.x branch.
|
Tue, 08 Jul 2008 20:50:07 +0000 |
cmlenz |
Use item access to catalog messages in tests, so that they can be easily ported back to the 0.9.x branch.
|
Mon, 07 Jul 2008 20:55:15 +0000 |
cmlenz |
Fix conversion of timestamp to `datetime` in `format_datetime()`
|
Mon, 07 Jul 2008 14:49:16 +0000 |
cmlenz |
Implement support for aliases in the CLDR data. Closes #68. Also, update to CLDR 1.6, and a much improved `dump_data` script.
|
Tue, 01 Jul 2008 09:17:34 +0000 |
aronacher |
Added changelog entry for new `get_plural` function.
|
Tue, 01 Jul 2008 09:16:30 +0000 |
aronacher |
Added babel.messages.plurals.get_plural which returns a special tuple with the plural information.
|
Mon, 30 Jun 2008 16:37:29 +0000 |
palgarvio |
Remove some unused imports.
|
Mon, 30 Jun 2008 16:35:50 +0000 |
palgarvio |
Include fix of [407] in `pybabel`.
|
Mon, 30 Jun 2008 12:23:28 +0000 |
palgarvio |
We no longer neglect `catalog.plurals`. Added tests for it. Fixes #120.
|
Fri, 27 Jun 2008 15:22:12 +0000 |
cmlenz |
Ported [388:405/trunk] to 0.9.x branch.
stable-0.9.x
|
Fri, 27 Jun 2008 15:11:06 +0000 |
cmlenz |
Block [387] from being backported to 0.9.x.
stable-0.9.x
|
Thu, 26 Jun 2008 21:16:42 +0000 |
palgarvio |
Make sure the fix also works for multiple translator comments. Refs #119.
|
Thu, 26 Jun 2008 21:02:20 +0000 |
palgarvio |
Test and respective fix for gettext calls that spawn multiple lines. Fixes #119.
|
Thu, 26 Jun 2008 16:39:21 +0000 |
palgarvio |
Fix typo and add a test for translator comments with leading spaces.
|
Wed, 25 Jun 2008 17:56:19 +0000 |
aronacher |
Fixed a typo in the message checkers (tests will follow)
|
Wed, 18 Jun 2008 12:39:01 +0000 |
aronacher |
Added documentation to format method in babel.js
|
Wed, 18 Jun 2008 12:29:00 +0000 |
aronacher |
Added contrib folder with a JavaScript support file for babel.
|
Wed, 18 Jun 2008 10:42:07 +0000 |
aronacher |
Fixed logic error in the python format checker.
|
Tue, 17 Jun 2008 22:11:09 +0000 |
aronacher |
Convert format strings to str for nicer error messages (no u prefix) in the python_format checker.
|
Tue, 17 Jun 2008 21:56:50 +0000 |
aronacher |
Updated catalog test case for last commit, flags are now tested too in the clone test case.
|
Tue, 17 Jun 2008 21:55:14 +0000 |
aronacher |
Message.clone doesn't return a shallow copy any longer. This fixes a bug with update where flags where shared.
|
Tue, 17 Jun 2008 21:17:44 +0000 |
aronacher |
Fix scientific notation for 0. closes #99
|
Tue, 17 Jun 2008 20:40:36 +0000 |
aronacher |
Fixed #59 by falling back silently on invalid location comments.
|
Tue, 17 Jun 2008 20:30:02 +0000 |
aronacher |
Refactored the checker system. It's now possible to partially validate translations on a per-message level.
|
Tue, 17 Jun 2008 20:07:08 +0000 |
aronacher |
Moved PYTHON_FORMAT back to catalog.
|
Tue, 17 Jun 2008 19:59:02 +0000 |
aronacher |
Fixed a small bug in the python format string checker that caused the wrong exception to be thrown.
|
Tue, 17 Jun 2008 19:54:34 +0000 |
aronacher |
The builtin checkers don't require setuptools any longer, validate_format and python_format from the checkers module are merged into one now.
|
Tue, 17 Jun 2008 19:32:09 +0000 |
aronacher |
Added `validate_format helper function to `babel.support`.
|
Mon, 16 Jun 2008 16:49:56 +0000 |
cmlenz |
More work on msgctxt support (#54).
|
Mon, 16 Jun 2008 16:07:52 +0000 |
cmlenz |
Ported [385] to 0.9.x branch.
stable-0.9.x
|
Mon, 16 Jun 2008 16:05:35 +0000 |
cmlenz |
Fixes for timezone calculations in time formatting (#83).
|
Mon, 16 Jun 2008 12:50:42 +0000 |
cmlenz |
Blocked some changes from being backported to 0.9.x.
stable-0.9.x
|
Mon, 16 Jun 2008 12:48:43 +0000 |
cmlenz |
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
stable-0.9.x
|
Mon, 16 Jun 2008 12:24:04 +0000 |
cmlenz |
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
|
Mon, 16 Jun 2008 11:37:52 +0000 |
cmlenz |
Fix for incorrect month context lookup in date formatting. Closes #75. Thanks to Andrew Stromnov for reporting the problem and providing a patch.
|
Mon, 16 Jun 2008 10:14:38 +0000 |
cmlenz |
Remove leftover unused code from [365].
|
Mon, 16 Jun 2008 09:53:44 +0000 |
aronacher |
Fixed a bug in pofile (in_msgctxt was not defined). Test follows.
|
Sat, 14 Jun 2008 22:07:41 +0000 |
aronacher |
JavaScript lexer falls back silently now on syntax errors and tries to recover.
|
Sat, 14 Jun 2008 19:00:35 +0000 |
aronacher |
added some newlines to extract and jslexer to stay consistent with the rest of the sourcecode.
|