diff options
| author | Georg Bauer <gb@hugo.westfalen.de> | 2005-11-23 16:14:24 +0000 |
|---|---|---|
| committer | Georg Bauer <gb@hugo.westfalen.de> | 2005-11-23 16:14:24 +0000 |
| commit | 6d6d90ce3350c52861e9ead920b5edee319a55c8 (patch) | |
| tree | e569bc8bae2c743a641bfce26ca2fe59f5827602 | |
| parent | d215cbd63ab4325cb632b7d570ae6827a0f139d3 (diff) | |
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
| -rwxr-xr-x | django/bin/make-messages.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/django/bin/make-messages.py b/django/bin/make-messages.py index ea4f76b4aa..c989034c0b 100755 --- a/django/bin/make-messages.py +++ b/django/bin/make-messages.py @@ -14,7 +14,12 @@ if os.path.isdir(os.path.join('conf', 'locale')): elif os.path.isdir('locale'): localedir = os.path.abspath('locale') else: - print "this script should be run from the django svn tree or your project or app tree" + print "This script should be run from the django svn tree or your project or app tree." + print "If you did indeed run it from the svn checkout or your project or application," + print "maybe you are just missing the conf/locale (in the django tree) or locale (for project" + print "and application) directory?" + print "make-messages.py doesn't create it automatically, you have to create it by hand if" + print "you want to enable i18n for your project or application." sys.exit(1) (opts, args) = getopt.getopt(sys.argv[1:], 'l:d:va') |
