Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
29238:e150c1d5f262 | 29239:ecf296652080 |
---|---|
196 if not keys: | 196 if not keys: |
197 ui.write(_("no valid signature for %s\n") % hgnode.short(rev)) | 197 ui.write(_("no valid signature for %s\n") % hgnode.short(rev)) |
198 return | 198 return |
199 | 199 |
200 # print summary | 200 # print summary |
201 ui.write("%s is signed by:\n" % hgnode.short(rev)) | 201 ui.write(_("%s is signed by:\n") % hgnode.short(rev)) |
202 for key in keys: | 202 for key in keys: |
203 ui.write(" %s\n" % keystr(ui, key)) | 203 ui.write(" %s\n" % keystr(ui, key)) |
204 | 204 |
205 def keystr(ui, key): | 205 def keystr(ui, key): |
206 """associate a string to a key (username, comment)""" | 206 """associate a string to a key (username, comment)""" |