summaryrefslogtreecommitdiff
path: root/django/bin/make-messages.py
AgeCommit message (Collapse)Author
2011-01-25Fixed #14419 -- Enhanced the help text of the makemessages management ↵Ramiro Morales
command. Thanks lsaffre for the report and suggestions and gruszczy for the patch. Also, removed the sterile make-messages.py, compile-messages.py scripts and dead compatibility code in makemessages. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-06Fixed #5522 -- Moved make-messages, compile-messages and daily-cleanup into ↵Malcolm Tredinnick
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-04-26Fixed #7030 -- Handle extraction of UTF-8 messages from Javascript files.Malcolm Tredinnick
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
2007-10-03Fixed #5491 -- Changed PO file generation to sort the filenames we scan priorMalcolm Tredinnick
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-08-11Fixed #4899 -- Fixed a problem on Windows when generating message catalogs ↵Malcolm Tredinnick
(caused by [5722]). Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-17Fixed #4899 -- Fixed a problem with PO file header generation caused by [5708].Malcolm Tredinnick
Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15Fixed #4734 -- Changed message extraction to permit non-ACSII msgid strings.Malcolm Tredinnick
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-04Merged Unicode branch into trunk (r4952:5608). This should be fullyMalcolm Tredinnick
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-04-26Told xgettext that ngettext_lazy is a pluralising function, so that strings areMalcolm Tredinnick
extracted correctly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12Fixed #3410 -- Edited a few i18n markups for completeness and to remove someMalcolm Tredinnick
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
2006-07-19Fixed #2323 -- Made it possible to run make-messages without needing aMalcolm Tredinnick
DJANGO_SETTINGS_FILE setting. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18Fixed #1369 -- Changed shebang lines in unique-messages.py, ↵Adrian Holovaty
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-01-27Fixed #1244 -- Renamed templateize to templatize in django.utils.translation.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19Changed unique-messages.py, compile-messages.py and make-messages.py to use ↵Adrian Holovaty
'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-03fixes #1161 - spaces in filenames should now be handled better (filename ↵Georg Bauer
parameters are enclosed in "") git-svn-id: http://code.djangoproject.com/svn/django/trunk@1814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04added infrastructure code for later javascript translating (currently not ↵Georg Bauer
active) git-svn-id: http://code.djangoproject.com/svn/django/trunk@1529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-03again fix for the popen3 calls in make-messages.py - thx. OlivierGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-03added 'b' modifier to popen3 calls in make-messages.py to help getting it to ↵Georg Bauer
run with windows git-svn-id: http://code.djangoproject.com/svn/django/trunk@1527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23made the message when locale/ or conf/locale/ could not be found a bit more ↵Georg Bauer
clear git-svn-id: http://code.djangoproject.com/svn/django/trunk@1366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07Fixed #748 -- Improved error handling in make-messages.py. It no longer ↵Adrian Holovaty
clobbers files on error. Thanks, Hugo git-svn-id: http://code.djangoproject.com/svn/django/trunk@1120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: ↵Jacob Kaplan-Moss
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