gpg: make a message translatable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Thu, 26 May 2016 01:57:34 +0900
changeset 29239 ecf296652080
parent 29238 e150c1d5f262
child 29240 48afcaadf70e
gpg: make a message translatable This message has been overlooked by check-code, because it starts with non-alphabet character ('%'). This is also a part of preparation for making "missing _() in ui message" detection of check-code more exact.
hgext/gpg.py
--- a/hgext/gpg.py	Mon May 23 14:09:50 2016 -0700
+++ b/hgext/gpg.py	Thu May 26 01:57:34 2016 +0900
@@ -198,7 +198,7 @@
         return
 
     # print summary
-    ui.write("%s is signed by:\n" % hgnode.short(rev))
+    ui.write(_("%s is signed by:\n") % hgnode.short(rev))
     for key in keys:
         ui.write(" %s\n" % keystr(ui, key))