i18n: omit redundant translatable synopsis text to avoid xgettext warning
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Mon, 11 Jun 2018 12:32:16 +0900
changeset 38814 96b2e66dfa74
parent 38813 4ca5932065ca
child 38815 617ae7e33a65
i18n: omit redundant translatable synopsis text to avoid xgettext warning This empty translatable synopsis text causes xgettext warning below: Empty msgid. It is reserved by GNU gettext: gettext("") returns the header entry with meta information, not the empty string. This "synopsis" argument of @command annotation is omitable.
mercurial/debugcommands.py
--- a/mercurial/debugcommands.py	Thu Aug 02 21:07:30 2018 +0900
+++ b/mercurial/debugcommands.py	Mon Jun 11 12:32:16 2018 +0900
@@ -949,8 +949,7 @@
         ui.write("%s\n" % f)
 
 @command('debugformat',
-         [] + cmdutil.formatteropts,
-        _(''))
+         [] + cmdutil.formatteropts)
 def debugformat(ui, repo, **opts):
     """display format information about the current repository