]> git.ipfire.org Git - thirdparty/babel.git/log
thirdparty/babel.git
9 years agoTypo 406/head
Sébastien Fievet [Fri, 20 May 2016 12:58:24 +0000 (14:58 +0200)] 
Typo

9 years agoMerge pull request #399 from asottile/default_source_encoding
Aarni Koskela [Thu, 28 Apr 2016 17:09:27 +0000 (20:09 +0300)] 
Merge pull request #399 from asottile/default_source_encoding

Default to UTF-8 source encoding (PEP8: python3)

9 years agoDefault to UTF-8 source encoding (PEP8: python3) 399/head
Anthony Sottile [Wed, 27 Apr 2016 19:26:29 +0000 (12:26 -0700)] 
Default to UTF-8 source encoding (PEP8: python3)

9 years agoMerge pull request #392 from karloskar/feature/evolve-jsx-extraction
Aarni Koskela [Sat, 23 Apr 2016 21:16:18 +0000 (00:16 +0300)] 
Merge pull request #392 from karloskar/feature/evolve-jsx-extraction

jslexer.py: Change jsx_tag regex

9 years agoMerge pull request #389 from akx/fix-388
Aarni Koskela [Tue, 19 Apr 2016 19:05:15 +0000 (22:05 +0300)] 
Merge pull request #389 from akx/fix-388

Re-harmonize argument parsing between distutils and optparse CLIs

9 years agoTeach the optparse CLI about the parameter aliases it had forgotten in #311 389/head
Aarni Koskela [Sun, 17 Apr 2016 15:20:10 +0000 (18:20 +0300)] 
Teach the optparse CLI about the parameter aliases it had forgotten in #311

Vaguely refs #390

9 years agoRemind the optparse CLI about `extract -s` (a shorthand for `--strip-comments`)
Aarni Koskela [Sun, 17 Apr 2016 15:06:03 +0000 (18:06 +0300)] 
Remind the optparse CLI about `extract -s` (a shorthand for `--strip-comments`)

Fixes #390

9 years agoextract: don't die badly when no input paths are specified in optparse mode
Aarni Koskela [Sun, 17 Apr 2016 15:16:01 +0000 (18:16 +0300)] 
extract: don't die badly when no input paths are specified in optparse mode

9 years agofrontend: don't use unicode-variant %r for logging
Aarni Koskela [Thu, 14 Apr 2016 08:41:27 +0000 (11:41 +0300)] 
frontend: don't use unicode-variant %r for logging

Now that arguments are more likely to be unicode than bytestrings, %r is not a good idea between Python versions.

9 years agoHarmonize extraction keyword parsing between distutils and standalone CLI
Aarni Koskela [Thu, 14 Apr 2016 08:23:01 +0000 (11:23 +0300)] 
Harmonize extraction keyword parsing between distutils and standalone CLI

Fixes #388

Refs #384

Refs #311

9 years agoMerge pull request #393 from jtwang/391_jtwang_revert_lxml_optimization
Aarni Koskela [Tue, 19 Apr 2016 16:07:54 +0000 (19:07 +0300)] 
Merge pull request #393 from jtwang/391_jtwang_revert_lxml_optimization

Revert "import_cldr: if lxml is installed, use it"

9 years agoRevert "import_cldr: if lxml is installed, use it" 393/head
Jennifer Wang [Mon, 18 Apr 2016 22:30:54 +0000 (15:30 -0700)] 
Revert "import_cldr: if lxml is installed, use it"

This reverts commit 9b5c7f3678167f03ec39fd1c25f98d0e0d41621f.

9 years agojslexer.py: Change jsx_tag regex 392/head
KO. Mattsson [Mon, 18 Apr 2016 16:33:11 +0000 (18:33 +0200)] 
jslexer.py: Change jsx_tag regex

A less greedy jsx_tag regex. Can handle translatable strings both as
children or as props to a component.

9 years agoMerge pull request #386 from akx/fix-384
Aarni Koskela [Tue, 12 Apr 2016 06:31:33 +0000 (09:31 +0300)] 
Merge pull request #386 from akx/fix-384

Fix CLI command usage regressions

9 years agoTest that `update` actually accepts those boolean parameters 386/head
Aarni Koskela [Mon, 11 Apr 2016 10:45:59 +0000 (13:45 +0300)] 
Test that `update` actually accepts those boolean parameters

9 years agoRefactor out `configure_cli_command`
Aarni Koskela [Mon, 11 Apr 2016 10:44:39 +0000 (13:44 +0300)] 
Refactor out `configure_cli_command`

9 years agofix typos in messages frontend
Sébastien Diemer [Fri, 8 Apr 2016 14:46:48 +0000 (16:46 +0200)] 
fix typos in messages frontend

The 'no-wrap', 'ignore-obsolete', 'no-fuzzy-matching', 'previous' and
'update-header-comment' were not correctly parsed in the update_catalog
command.

9 years agoMake the CLI extraction command support multiple `-k`s again
Aarni Koskela [Mon, 11 Apr 2016 10:35:49 +0000 (13:35 +0300)] 
Make the CLI extraction command support multiple `-k`s again

Fixes #384 (https://github.com/python-babel/babel/issues/384)

Thanks to @ajaeger for the bug report.

9 years agoMake the command-line frontend easier to test
Aarni Koskela [Mon, 11 Apr 2016 10:28:37 +0000 (13:28 +0300)] 
Make the command-line frontend easier to test

9 years agoMerge pull request #382 from python-babel/sils/ci
Aarni Koskela [Fri, 8 Apr 2016 09:10:20 +0000 (12:10 +0300)] 
Merge pull request #382 from python-babel/sils/ci

Sils/ci

9 years agoREADME: Rename to rst 382/head
Lasse Schuirmann [Fri, 8 Apr 2016 08:07:44 +0000 (10:07 +0200)] 
README: Rename to rst

Converted with pandoc. This way it should be shown on PyPI correctly
too.

Fixes https://github.com/python-babel/babel/issues/376

9 years agotravis: Don't build on mac for all versions
Lasse Schuirmann [Fri, 8 Apr 2016 08:05:21 +0000 (10:05 +0200)] 
travis: Don't build on mac for all versions

That's pretty redundant.

Fixes https://github.com/python-babel/babel/issues/377

9 years agoAppVeyor: Remove unneeded builds
Lasse Schuirmann [Fri, 8 Apr 2016 08:03:27 +0000 (10:03 +0200)] 
AppVeyor: Remove unneeded builds

Related to https://github.com/python-babel/babel/issues/377

9 years agoMerge pull request #379 from akx/fix-378
Aarni Koskela [Fri, 8 Apr 2016 07:44:43 +0000 (10:44 +0300)] 
Merge pull request #379 from akx/fix-378

Fix day period formatting (#378)

9 years agoAdd smoke tests for basic operations 379/head
Aarni Koskela [Fri, 8 Apr 2016 05:34:31 +0000 (08:34 +0300)] 
Add smoke tests for basic operations

Refs #378

9 years agodates: Use format context and fallback through widths
Aarni Koskela [Fri, 8 Apr 2016 05:14:06 +0000 (08:14 +0300)] 
dates: Use format context and fallback through widths

`zh_Hant` locale data does not have names for the
`am` and `pm` day periods in the `format`/`abbreviated` context,
so fallback logic is added to deal with that eventuality.

Fixes #378

9 years agoMerge pull request #374 from python-babel/sils/release
Aarni Koskela [Fri, 8 Apr 2016 05:12:51 +0000 (08:12 +0300)] 
Merge pull request #374 from python-babel/sils/release

Release 2.3

9 years agoVERSION: Bump to development 374/head
Lasse Schuirmann [Thu, 7 Apr 2016 20:20:01 +0000 (22:20 +0200)] 
VERSION: Bump to development

9 years agoVERSION: Bump to 2.3
Lasse Schuirmann [Thu, 7 Apr 2016 20:14:11 +0000 (22:14 +0200)] 
VERSION: Bump to 2.3

9 years agoUpdate Changelog
Lasse Schuirmann [Thu, 7 Apr 2016 20:07:09 +0000 (22:07 +0200)] 
Update Changelog

9 years agoMerge pull request #369 from akx/unit_format
Aarni Koskela [Thu, 7 Apr 2016 19:28:08 +0000 (22:28 +0300)] 
Merge pull request #369 from akx/unit_format

Add unit and compound unit formatting

9 years agoMake compound unit formatting adhere more closely to the TR-35 spec 369/head
Aarni Koskela [Wed, 6 Apr 2016 13:59:37 +0000 (16:59 +0300)] 
Make compound unit formatting adhere more closely to the TR-35 spec

9 years agoAdd new unit formatting APIs:
Aarni Koskela [Wed, 30 Mar 2016 17:03:53 +0000 (20:03 +0300)] 
Add new unit formatting APIs:

* babel.units.format_unit
* babel.units.format_compound_unit
* babel.units.get_unit_name

9 years agoImport and expose more measurement unit related information
Aarni Koskela [Wed, 30 Mar 2016 16:15:59 +0000 (19:15 +0300)] 
Import and expose more measurement unit related information

9 years agoCLDR: import unit_patterns as nested dicts
Aarni Koskela [Wed, 30 Mar 2016 16:41:52 +0000 (19:41 +0300)] 
CLDR: import unit_patterns as nested dicts

(Instead of colon-separated flat dicts.)

This should not be a breaking change, unless someone has used the private
API `l._data["unit_patterns"]`.

9 years agoMerge pull request #368 from akx/char-order-and-measurement-systems
Aarni Koskela [Tue, 5 Apr 2016 20:52:55 +0000 (23:52 +0300)] 
Merge pull request #368 from akx/char-order-and-measurement-systems

Character order and measurement systems

9 years agoEmbetter measurement system parsing: 368/head
Aarni Koskela [Wed, 30 Mar 2016 14:40:14 +0000 (17:40 +0300)] 
Embetter measurement system parsing:

* Refactor into a separate function
* Use `_import_type_text` when importing measurement systems

9 years agoExpose measurement system names.
alexbodn@gmail.com [Sat, 19 Mar 2016 12:46:28 +0000 (14:46 +0200)] 
Expose measurement system names.

9 years agoRename `Locale.direction` to `Locale.text_direction`.
Aarni Koskela [Wed, 30 Mar 2016 14:32:27 +0000 (17:32 +0300)] 
Rename `Locale.direction` to `Locale.text_direction`.

9 years agoMove character order parsing into a function of its own
Aarni Koskela [Wed, 30 Mar 2016 14:53:09 +0000 (17:53 +0300)] 
Move character order parsing into a function of its own

9 years agoAdd support for character order information
alexbodn@gmail.com [Sun, 13 Mar 2016 11:28:20 +0000 (13:28 +0200)] 
Add support for character order information

9 years agoMerge pull request #332 from akx/improved-js
Aarni Koskela [Wed, 9 Mar 2016 19:30:05 +0000 (21:30 +0200)] 
Merge pull request #332 from akx/improved-js

Improved JavaScript extraction

9 years agoMerge pull request #349 from akx/import-day-periods
Aarni Koskela [Wed, 9 Mar 2016 07:36:31 +0000 (09:36 +0200)] 
Merge pull request #349 from akx/import-day-periods

Day period API

9 years agoMerge pull request #366 from lukas-b/lukas_add_pre_commit_hooks_and_apply_fixes
Aarni Koskela [Wed, 9 Mar 2016 06:54:23 +0000 (08:54 +0200)] 
Merge pull request #366 from lukas-b/lukas_add_pre_commit_hooks_and_apply_fixes

Add `flake8` pre-commit hook and apply fixes

9 years agoAdd flake8 pre-commit hook and apply fixes. 366/head
Lukas Balaga [Tue, 8 Mar 2016 05:15:37 +0000 (21:15 -0800)] 
Add flake8 pre-commit hook and apply fixes.

9 years agoMerge pull request #364 from saurabhiiit/master
Aarni Koskela [Sun, 6 Mar 2016 18:46:51 +0000 (20:46 +0200)] 
Merge pull request #364 from saurabhiiit/master

docs/numbers.rst: Correct line length

9 years agodocs/numbers.rst: Correct line length 364/head
saurabhiiit [Sun, 6 Mar 2016 18:34:07 +0000 (00:04 +0530)] 
docs/numbers.rst: Correct line length

Fixes https://github.com/python-babel/babel/issues/363

9 years agodates: Add day period API 349/head
Aarni Koskela [Sun, 14 Feb 2016 18:56:02 +0000 (20:56 +0200)] 
dates: Add day period API

9 years agodates: refactor `_get_time()` into a helper
Aarni Koskela [Sun, 14 Feb 2016 18:04:45 +0000 (20:04 +0200)] 
dates: refactor `_get_time()` into a helper

9 years agoUse `day_periods` for `get_period_names`
Aarni Koskela [Sun, 14 Feb 2016 17:37:40 +0000 (19:37 +0200)] 
Use `day_periods` for `get_period_names`

9 years agoimport_cldr: improve parsing of day periods
Aarni Koskela [Sun, 14 Feb 2016 17:19:51 +0000 (19:19 +0200)] 
import_cldr: improve parsing of day periods

* Day period rules are now imported
* All periods (not just a single context/width) are imported

9 years agoMerge pull request #355 from lukas-b/lukas_add_pre_commit_and_apply_fixes
Aarni Koskela [Thu, 3 Mar 2016 20:14:25 +0000 (22:14 +0200)] 
Merge pull request #355 from lukas-b/lukas_add_pre_commit_and_apply_fixes

Add pre-commit and apply fixes

9 years agoMerge pull request #347 from sachinpali146/master
Aarni Koskela [Thu, 3 Mar 2016 19:00:41 +0000 (21:00 +0200)] 
Merge pull request #347 from sachinpali146/master

Additional Support for Date Time pattern formats

9 years agoMerge pull request #361 from kdeldycke/mixed_cased_locale_id
Aarni Koskela [Thu, 3 Mar 2016 18:13:42 +0000 (20:13 +0200)] 
Merge pull request #361 from kdeldycke/mixed_cased_locale_id

Parsing of mixed-cased locale ID.

9 years agoOnly attempt a normalization search if filesystem lookup fails. 361/head
Kevin Deldycke [Thu, 3 Mar 2016 17:17:44 +0000 (18:17 +0100)] 
Only attempt a normalization search if filesystem lookup fails.

9 years agoExplicit normalize_locale() documentation.
Kevin Deldycke [Thu, 3 Mar 2016 17:09:05 +0000 (18:09 +0100)] 
Explicit normalize_locale() documentation.

9 years agoMerge pull request #362 from saurabhiiit/master
Lasse Schuirmann [Thu, 3 Mar 2016 10:40:23 +0000 (11:40 +0100)] 
Merge pull request #362 from saurabhiiit/master

license.rst: Fix minor typo

9 years agolicense.rst: Fix typo in General License Defination 362/head
saurabhiiit [Wed, 2 Mar 2016 18:30:03 +0000 (00:00 +0530)] 
license.rst: Fix typo in General License Defination

9 years agoForce normalization of locale ID.
Kevin Deldycke [Wed, 2 Mar 2016 16:04:13 +0000 (17:04 +0100)] 
Force normalization of locale ID.

9 years agoTest locale IDs uniqueness.
Kevin Deldycke [Wed, 2 Mar 2016 12:01:37 +0000 (13:01 +0100)] 
Test locale IDs uniqueness.

9 years agoTest parsing of mixed-cased locale ID.
Kevin Deldycke [Wed, 2 Mar 2016 11:11:51 +0000 (12:11 +0100)] 
Test parsing of mixed-cased locale ID.

9 years agodates: Add additional pattern for week day 347/head
Sachin Paliwal [Tue, 1 Mar 2016 14:21:10 +0000 (19:51 +0530)] 
dates: Add additional pattern for week day

Added test cases and additional pattern for Weekday format

9 years agodates: Add additional pattern for quarter
Sachin Paliwal [Tue, 1 Mar 2016 14:20:16 +0000 (19:50 +0530)] 
dates: Add additional pattern for quarter

Added test cases and additional pattern for quarter format

9 years agoMerge pull request #360 from iamshubh22/master 358/head
Aarni Koskela [Mon, 29 Feb 2016 16:50:51 +0000 (18:50 +0200)] 
Merge pull request #360 from iamshubh22/master

format_datetime: using 'S...S' format is incorrect

9 years agoformat_datetime: using 'S...S' format is incorrect 360/head
iamshubh22 [Mon, 29 Feb 2016 16:20:10 +0000 (21:50 +0530)] 
format_datetime: using 'S...S' format is incorrect

Fixes https://github.com/python-babel/babel/issues/350

9 years agoMerge pull request #359 from srisankethu/master
Aarni Koskela [Mon, 29 Feb 2016 12:58:49 +0000 (14:58 +0200)] 
Merge pull request #359 from srisankethu/master

docs/dates.rst: Correct line length

9 years agodocs/dates.rst: Correct line length 359/head
srisankethu [Mon, 29 Feb 2016 12:37:01 +0000 (18:07 +0530)] 
docs/dates.rst: Correct line length

Fixes https://github.com/python-babel/babel/issues/356

9 years agoApply pre-commit fixes. 355/head
Lukas Balaga [Sun, 28 Feb 2016 00:31:18 +0000 (16:31 -0800)] 
Apply pre-commit fixes.

9 years agoAdd pre-commit.
Lukas Balaga [Sun, 28 Feb 2016 00:30:48 +0000 (16:30 -0800)] 
Add pre-commit.

9 years agoMerge pull request #351 from kdeldycke/locale_identification_unittest
Aarni Koskela [Wed, 17 Feb 2016 16:53:04 +0000 (18:53 +0200)] 
Merge pull request #351 from kdeldycke/locale_identification_unittest

Unittest locale_identifiers() and exists() bijection.

9 years agoUnittest locale_identifiers() and exists() bijection. 351/head
Kevin Deldycke [Wed, 17 Feb 2016 15:30:56 +0000 (16:30 +0100)] 
Unittest locale_identifiers() and exists() bijection.

9 years agoMerge pull request #348 from akx/refactor-cldr-import
Aarni Koskela [Mon, 15 Feb 2016 21:15:19 +0000 (23:15 +0200)] 
Merge pull request #348 from akx/refactor-cldr-import

Refactor CLDR importer script

9 years agoimport_cldr: further DRY out draft/alt skipping 348/head
Aarni Koskela [Mon, 15 Feb 2016 17:54:14 +0000 (19:54 +0200)] 
import_cldr: further DRY out draft/alt skipping

Thanks for the idea, @jtwang!

9 years agoimport_cldr: Use parentheses instead of backslashes to continue lines
Aarni Koskela [Mon, 15 Feb 2016 17:59:29 +0000 (19:59 +0200)] 
import_cldr: Use parentheses instead of backslashes to continue lines

9 years agoimport_cldr: separate argument parsing from processing
Aarni Koskela [Mon, 15 Feb 2016 17:57:46 +0000 (19:57 +0200)] 
import_cldr: separate argument parsing from processing

9 years agoimport_cldr: fix flake8 nits and remove duplicate code
Aarni Koskela [Sun, 14 Feb 2016 20:00:56 +0000 (22:00 +0200)] 
import_cldr: fix flake8 nits and remove duplicate code

9 years agoimport_cldr: refactor locale data parsing into multiple functions
Aarni Koskela [Sun, 14 Feb 2016 19:45:19 +0000 (21:45 +0200)] 
import_cldr: refactor locale data parsing into multiple functions

Special care was taken to order the new functions in the same order as the
original source was; the resulting whitespace-ignoring diff is very
minimal.

9 years agoimport_cldr: Refactor global data parsing into separate function
Aarni Koskela [Sun, 14 Feb 2016 19:45:07 +0000 (21:45 +0200)] 
import_cldr: Refactor global data parsing into separate function

Care was taken to make the `-w` diff as minimal as possible.

9 years agoimport_cldr: if lxml is installed, use it
Aarni Koskela [Sun, 14 Feb 2016 17:19:28 +0000 (19:19 +0200)] 
import_cldr: if lxml is installed, use it

9 years agoMerge pull request #346 from srisankethu/master
Aarni Koskela [Sat, 13 Feb 2016 17:11:35 +0000 (19:11 +0200)] 
Merge pull request #346 from srisankethu/master

Contributing:Change incorrect link

9 years agoContributing:Change incorrect link 346/head
srisankethu [Sat, 13 Feb 2016 11:04:42 +0000 (16:34 +0530)] 
Contributing:Change incorrect link

Fixes https://github.com/python-babel/babel/issues/345

9 years agoMerge pull request #295 from akx/gettext-tr35-ops
Aarni Koskela [Mon, 8 Feb 2016 08:55:46 +0000 (10:55 +0200)] 
Merge pull request #295 from akx/gettext-tr35-ops

Compile noninteger TR35 operands to zeroes when emitting Gettext

9 years agoMerge pull request #343 from akx/pypy3
Aarni Koskela [Mon, 8 Feb 2016 08:18:12 +0000 (10:18 +0200)] 
Merge pull request #343 from akx/pypy3

Set up official support for PyPy 3

9 years agosetup/PyPI: Add PyPy classifier 343/head
Aarni Koskela [Sun, 7 Feb 2016 17:02:04 +0000 (19:02 +0200)] 
setup/PyPI: Add PyPy classifier

9 years agosetup: Use `subprocess.check_call()`
Aarni Koskela [Sun, 7 Feb 2016 13:14:57 +0000 (15:14 +0200)] 
setup: Use `subprocess.check_call()`

It's available since Python 2.5, so it's safe for our use.

9 years agosetup: Remove long-obsolete build_doc/test_doc commands
Aarni Koskela [Sun, 7 Feb 2016 13:13:21 +0000 (15:13 +0200)] 
setup: Remove long-obsolete build_doc/test_doc commands

9 years agosetup: Don't explicitly check for supported versions
Aarni Koskela [Sun, 7 Feb 2016 13:12:33 +0000 (15:12 +0200)] 
setup: Don't explicitly check for supported versions

With pypy3 advertising itself as py3.2, but still behaving like py3.3,
the check started to become awkward.  Plus, it seems to be nicer to
ask for forgiveness rather than permission.

9 years agoTravis: Add pypy3/linux configuration
Aarni Koskela [Sun, 7 Feb 2016 13:11:43 +0000 (15:11 +0200)] 
Travis: Add pypy3/linux configuration

9 years agoJavaScript: support tags as keywords for template strings 332/head
Aarni Koskela [Mon, 18 Jan 2016 17:07:17 +0000 (19:07 +0200)] 
JavaScript: support tags as keywords for template strings

Refs #329

9 years agoJavaScript: add basic support for template strings
Aarni Koskela [Mon, 18 Jan 2016 15:35:05 +0000 (17:35 +0200)] 
JavaScript: add basic support for template strings

Refs #329

9 years agoJavaScript: Support dotted names as keywords
Aarni Koskela [Mon, 18 Jan 2016 15:09:57 +0000 (17:09 +0200)] 
JavaScript: Support dotted names as keywords

Fixes #148

9 years agoJavaScript: Add JSX/E4X tag lexing
Aarni Koskela [Mon, 18 Jan 2016 15:09:08 +0000 (17:09 +0200)] 
JavaScript: Add JSX/E4X tag lexing

Fixes #280

9 years agoJavaScript: Move extraction test cases into separate file
Aarni Koskela [Wed, 30 Dec 2015 17:29:48 +0000 (19:29 +0200)] 
JavaScript: Move extraction test cases into separate file

And remove unittest boilerplate while at it

9 years agoJavaScript: modernize lexer slightly
Aarni Koskela [Mon, 18 Jan 2016 14:54:23 +0000 (16:54 +0200)] 
JavaScript: modernize lexer slightly

9 years agoMerge pull request #338 from sachinpali146/master
Aarni Koskela [Fri, 5 Feb 2016 16:28:21 +0000 (18:28 +0200)] 
Merge pull request #338 from sachinpali146/master

Fix #325 Support more format for timezone

9 years agodates: Add iso8601 pattern timezone Format 338/head
Sachin Paliwal [Fri, 5 Feb 2016 15:47:55 +0000 (21:17 +0530)] 
dates: Add iso8601 pattern timezone Format

https://github.com/python-babel/babel/issues/325

9 years agodates: Add Features in get timezone functions
Sachin Paliwal [Fri, 5 Feb 2016 15:39:34 +0000 (21:09 +0530)] 
dates: Add Features in get timezone functions

Added argument 'return_z'  and two values 'iso8601' and 'iso8601_short'
in argument width in get_timezone_gmt(), 'return_city' argument is add
in get_timezone_location() and 'return_zone' in get_timezone_name() so
we can implement iso8601 timezone patterns.

9 years agoMerge pull request #341 from sudheesh001/patch328
Aarni Koskela [Wed, 3 Feb 2016 21:12:35 +0000 (23:12 +0200)] 
Merge pull request #341 from sudheesh001/patch328

Extract: Add npgettext to default keywords map

9 years agoExtract: Add npgettext to default keywords map 341/head
sudheesh001 [Thu, 28 Jan 2016 03:56:33 +0000 (09:26 +0530)] 
Extract: Add npgettext to default keywords map

Add the npgettext as a default keyword in the keywords map.
Create test_npgettext in test_extract showing the passing tests.

Fixes https://github.com/python-babel/babel/issues/281
Fixes https://github.com/python-babel/babel/issues/328

9 years agoMerge pull request #340 from akx/input-dirs
Aarni Koskela [Wed, 3 Feb 2016 17:56:18 +0000 (19:56 +0200)] 
Merge pull request #340 from akx/input-dirs

Extract CLI: Add `input-dirs` alias for `input-paths`