diff hgext/gpg.py @ 29239:ecf296652080

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.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Thu, 26 May 2016 01:57:34 +0900
parents a0939666b836
children d5883fd055c6
line wrap: on
line diff
--- 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))