Malcolm Tredinnick
3cfa3cbd07
Fixed #5522 -- Moved make-messages, compile-messages and daily-cleanup into django-admin.py.
...
They are now called "makemessages", "compilemessages" and "cleanup". This is
backwards incompatible for make-messages.py and compile-messages.py, although
the old executables still exist for now and print an error pointing the caller
to the right command to call.
This reduces the number of binaries and man pages Django needs to install.
Patch from Janis Leidel.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-06 06:39:44 +00:00
Malcolm Tredinnick
2945a057c3
Fixed #7030 -- Handle extraction of UTF-8 messages from Javascript files.
...
This leads to more duplicated code in make-messages.py, but this is just a
holdover for the immediate problem until we merge make-messages into
management/.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-26 13:25:30 +00:00
Malcolm Tredinnick
10466470c0
Fixed #5491 -- Changed PO file generation to sort the filenames we scan prior
...
to passing them to gettext. This should help reduce the changes in line
orderings caused by different translators using different operating systems and
locales. Based on a patch from Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-03 01:41:04 +00:00
Malcolm Tredinnick
8b128dddd1
Fixed #4899 -- Fixed a problem on Windows when generating message catalogs (caused by [5722]). Thanks, Ramiro Morales.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 07:01:46 +00:00
Malcolm Tredinnick
23404cdec4
Fixed #4899 -- Fixed a problem with PO file header generation caused by [5708].
...
Thanks, Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-17 10:25:43 +00:00
Malcolm Tredinnick
0dbc0ab338
Fixed #4734 -- Changed message extraction to permit non-ACSII msgid strings.
...
Thanks, krzysiek.pawlik@silvermedia.pl .
This is slightly backwards-incompatible for translators: PO files are now
assumed to be in UTF-8 encoding.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 10:10:44 +00:00
Malcolm Tredinnick
953badbea5
Merged Unicode branch into trunk (r4952:5608). This should be fully
...
backwards compatible for all practical purposes.
Fixed #2391 , #2489 , #2996 , #3322 , #3344 , #3370 , #3406 , #3432 , #3454 , #3492 , #3582 , #3690 , #3878 , #3891 , #3937 , #4039 , #4141 , #4227 , #4286 , #4291 , #4300 , #4452 , #4702
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:11:04 +00:00
Malcolm Tredinnick
decc230d19
Told xgettext that ngettext_lazy is a pluralising function, so that strings are
...
extracted correctly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 10:27:21 +00:00
Malcolm Tredinnick
b1eea1af40
Fixed #3410 -- Edited a few i18n markups for completeness and to remove some
...
warnings from recent gettext versions. Refs #3704 . Thanks, Michael Radziej,
mirrorballu2@gmail.com and baptiste.goupil@gmail.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12 08:35:15 +00:00
Malcolm Tredinnick
271093d3b3
Fixed #2323 -- Made it possible to run make-messages without needing a
...
DJANGO_SETTINGS_FILE setting.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 12:09:53 +00:00
Adrian Holovaty
72a83f872c
Fixed #1369 -- Changed shebang lines in unique-messages.py, compile-messages.py and make-message.py to use /usr/bin/env
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 22:21:31 +00:00
Adrian Holovaty
e35655081f
Fixed #1244 -- Renamed templateize to templatize in django.utils.translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-27 15:49:50 +00:00
Adrian Holovaty
ce40c4a9e2
Changed unique-messages.py, compile-messages.py and make-messages.py to use 'if name == main' so they can be imported and won't mess up utilities such as pychecker
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 00:54:15 +00:00
Georg Bauer
839bcfe330
fixes #1161 - spaces in filenames should now be handled better (filename parameters are enclosed in "")
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-03 22:29:56 +00:00
Georg Bauer
5917fdcf2d
added infrastructure code for later javascript translating (currently not active)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 12:06:16 +00:00
Georg Bauer
946bd1e370
again fix for the popen3 calls in make-messages.py - thx. Olivier
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-03 22:53:33 +00:00
Georg Bauer
90ff261fbc
added 'b' modifier to popen3 calls in make-messages.py to help getting it to run with windows
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-03 19:04:31 +00:00
Georg Bauer
6d6d90ce33
made the message when locale/ or conf/locale/ could not be found a bit more clear
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 16:14:24 +00:00
Adrian Holovaty
290040f7fe
Fixed #748 -- Improved error handling in make-messages.py. It no longer clobbers files on error. Thanks, Hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:21:31 +00:00
Jacob Kaplan-Moss
5cf8f68423
Merged i18n branch into the trunk! Fixes #65 , and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 04:59:46 +00:00