> # Command categories. > +CATEGORY_REPO_CREATION = _('Repository creation') > +CATEGORY_REMOTE_REPO_MANAGEMENT = _('Remote repository management') > +CATEGORY_COMMITTING = _('Change creation') > +CATEGORY_CHANGE_NAVIGATION = _('Change navigation') > +CATEGORY_CHANGE_MANAGEMENT = _('Change manipulation') > +CATEGORY_CHANGE_ORGANIZATION = _('Change organization') > +CATEGORY_WORKING_DIRECTORY = _('Working directory management') > +CATEGORY_FILE_CONTENTS = _('File content management') > +CATEGORY_IMPORT_EXPORT = _('Change import/export') > +CATEGORY_MAINTENANCE = _('Repository maintenance') > +CATEGORY_HELP = _('Help') > +CATEGORY_MISC = _('Miscellaneous commands') > CATEGORY_NONE = _('Uncategorized commands')
Can you make these constants untranslated (e.g. 'help' instead of _('Help')) and map them to corresponding translation later? And, perhaps they can be moved to `registrar.command` so we can avoid importing help.py everywhere. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel