Ticket #14419: 14419.patch
File 14419.patch, 2.2 KB (added by , 14 years ago) |
---|
-
django/core/management/commands/makemessages.py
275 275 class Command(BaseCommand): 276 276 option_list = BaseCommand.option_list + ( 277 277 make_option('--locale', '-l', default=None, dest='locale', 278 help='Creates or updates the message files onlyfor the given locale (e.g. pt_BR).'),278 help='Creates or updates the message files for the given locale (e.g. pt_BR).'), 279 279 make_option('--domain', '-d', default='django', dest='domain', 280 280 help='The domain of the message files (default: "django").'), 281 281 make_option('--all', '-a', action='store_true', dest='all', 282 default=False, help=' Reexamines all source code and templates for new translation strings and updates all message files for all available languages.'),282 default=False, help='Updates the message files for all existing locales.'), 283 283 make_option('--extension', '-e', dest='extensions', 284 284 help='The file extension(s) to examine (default: ".html", separate multiple extensions with commas, or use -e multiple times)', 285 285 action='append'), … … 290 290 make_option('--no-default-ignore', action='store_false', dest='use_default_ignore_patterns', 291 291 default=True, help="Don't ignore the common glob-style patterns 'CVS', '.*' and '*~'."), 292 292 ) 293 help = "Runs over the entire source tree of the current directory and pulls out all strings marked for translation. It creates (or updates) a message file in the conf/locale (in the django tree) or locale (for project and application) directory." 293 help = ("Runs over the entire source tree of the current directory and " 294 "pulls out all strings marked for translation. It creates (or " 295 "updates) a message file in the conf/locale (in the django tree) " 296 "or locale (for project and application) directory. You must run " 297 "this command with either -a or -l option.") 294 298 295 299 requires_model_validation = False 296 300 can_import_settings = False