Ticket #14419: 14419.patch

File 14419.patch, 2.2 KB (added by Filip Gruszczyński, 14 years ago)
  • django/core/management/commands/makemessages.py

     
    275275class Command(BaseCommand):
    276276    option_list = BaseCommand.option_list + (
    277277        make_option('--locale', '-l', default=None, dest='locale',
    278             help='Creates or updates the message files only for the given locale (e.g. pt_BR).'),
     278            help='Creates or updates the message files for the given locale (e.g. pt_BR).'),
    279279        make_option('--domain', '-d', default='django', dest='domain',
    280280            help='The domain of the message files (default: "django").'),
    281281        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.'),
    283283        make_option('--extension', '-e', dest='extensions',
    284284            help='The file extension(s) to examine (default: ".html", separate multiple extensions with commas, or use -e multiple times)',
    285285            action='append'),
     
    290290        make_option('--no-default-ignore', action='store_false', dest='use_default_ignore_patterns',
    291291            default=True, help="Don't ignore the common glob-style patterns 'CVS', '.*' and '*~'."),
    292292    )
    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.")
    294298
    295299    requires_model_validation = False
    296300    can_import_settings = False
Back to Top