mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -14,7 +14,12 @@ if os.path.isdir(os.path.join('conf', 'locale')): | |||||||
| elif os.path.isdir('locale'): | elif os.path.isdir('locale'): | ||||||
|     localedir = os.path.abspath('locale') |     localedir = os.path.abspath('locale') | ||||||
| else: | 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) |     sys.exit(1) | ||||||
|  |  | ||||||
| (opts, args) = getopt.getopt(sys.argv[1:], 'l:d:va') | (opts, args) = getopt.getopt(sys.argv[1:], 'l:d:va') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user