Commit Graph

30 Commits

Author SHA1 Message Date
David Baumgold
d93238d8de create_dir_if_necessary() is unnecessary
We already have makedirs_p()
2014-03-18 16:10:03 -04:00
David Baumgold
380d2177f5 pep8/pyflakes 2014-03-18 16:09:59 -04:00
David Baumgold
35f41b7ddd allow stderr if verbosity is off 2014-03-18 15:01:08 -04:00
David Baumgold
337a012c1c Make all i18n scripts use argparse, handle --verbose flag 2014-03-18 13:33:55 -04:00
David Baumgold
c08a73f015 pep8 2014-03-13 16:21:20 -04:00
Calen Pennington
561ecc7682 Make i18n tests quieter 2014-03-13 16:18:22 -04:00
Ned Batchelder
eb4d5f1cbd Also clean up the 3rd-party po files. 2014-02-25 13:58:47 -05:00
Ned Batchelder
dd6b72382c Include the third-party wiki app into the i18n toolchain
We use pybabel to extract strings from third-party apps, put them on
Transifex, then merge them into django.po.

[LMS-1681]
2014-02-10 15:23:13 -05:00
Calen Pennington
f5ffc94d16 Prep for initial language release 2014-02-03 13:35:56 -05:00
Calen Pennington
788ed13b76 Rename djangojs.po to djangojs-partial.po in transifex, to prevent header creep 2014-02-03 13:35:56 -05:00
Ned Batchelder
79e137c8bd Fix pathological po growth 2014-01-30 16:44:04 -05:00
Ned Batchelder
1e8a0cb7e0 Tighten up the extraction I/O
We were writing the main file twice.  No need.
2014-01-24 16:18:43 -05:00
Ned Batchelder
9ea21dd9c7 i18n: extract and generate properly handle segments 2014-01-23 17:39:36 -05:00
Ned Batchelder
058569035f A few improvements to extract.
Use the configuration more, and we don't need to delete files we're
about to create.
2014-01-23 17:11:38 -05:00
Ned Batchelder
f76a5e174c I18n segmenting tool.
Messages can be segmented into different .po files based on the location
of their occurrences.  This is so Studio strings can go into different
.po files so we can direct Transifex workers to the LMS strings we
really need done.
2014-01-23 17:11:38 -05:00
Sarina Canelake
2b45ebc82f Change i18n contact address 2014-01-21 08:38:41 -05:00
Sarina Canelake
fffa4f36da Change i18n contact address 2014-01-20 16:01:45 -05:00
Ned Batchelder
cab1c04e5e Make i18n a real package. 2014-01-20 11:34:54 -05:00
Ned Batchelder
c329270f43 Dont extract test_root strings 2014-01-10 07:18:17 -05:00
Ned Batchelder
6d5e13e245 Use the same marker everywhere for translator comments. 2014-01-07 09:43:46 -05:00
Ned Batchelder
5e244b1c3b Minor style changes to the i18n directory. 2013-12-20 10:24:33 -05:00
Steve Strassmann
1f7bf1f00a use global LOG instead of local log 2013-05-12 21:52:07 -04:00
Steve Strassmann
beb4b39b73 fix logging 2013-05-08 14:25:31 -04:00
Steve Strassmann
d05ba84f13 /usr/bin/env in shebang line 2013-05-08 13:49:42 -04:00
Steve Strassmann
cf8d6b8965 factor logging out of library calls 2013-05-07 14:10:59 -04:00
Steve Strassmann
4620f50fb1 addressed Cale's comments; switched to path.py paths 2013-05-07 13:24:38 -04:00
Steve Strassmann
c0278d0ff1 refactor config file; fix duplicate merge 2013-05-06 11:29:27 -04:00
Steve Strassmann
55dd0fc8bc workaround for gettext parser bug 2013-05-03 12:45:55 -04:00
Steve Strassmann
8358e866cf more robust cleanup of default po files 2013-04-29 12:45:07 -04:00
Steve Strassmann
d9381eccf2 test_generate and test_extract
both tests work
2013-04-26 15:01:59 -04:00