Django

Code

Changeset 1366

Show
Ignore:
Timestamp:
11/23/05 10:14:24 (3 years ago)
Author:
hugo
Message:

made the message when locale/ or conf/locale/ could not be found a bit more clear

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/bin/make-messages.py

    r1120 r1366  
    1515    localedir = os.path.abspath('locale') 
    1616else: 
    17     print "this script should be run from the django svn tree or your project or app tree" 
     17    print "This script should be run from the django svn tree or your project or app tree." 
     18    print "If you did indeed run it from the svn checkout or your project or application," 
     19    print "maybe you are just missing the conf/locale (in the django tree) or locale (for project" 
     20    print "and application) directory?" 
     21    print "make-messages.py doesn't create it automatically, you have to create it by hand if" 
     22    print "you want to enable i18n for your project or application." 
    1823    sys.exit(1) 
    1924