hgweb, i18n: do not translate search mode description
The search mode description can't be translated by itself, since
it's displayed as part of a template phrase (the "Assuming ..."
/ "Use ... instead" bits). Just drop the translation markers for
now, since the templates themselves currently do not support
translations.
--- a/mercurial/hgweb/webcommands.py Sun Nov 10 16:48:24 2013 +0900
+++ b/mercurial/hgweb/webcommands.py Wed Nov 13 16:46:46 2013 -0200
@@ -151,9 +151,9 @@
yield web.repo[r]
searchfuncs = {
- MODE_REVISION: (revsearch, _('exact revision search')),
- MODE_KEYWORD: (keywordsearch, _('literal keyword search')),
- MODE_REVSET: (revsetsearch, _('revset expression search')),
+ MODE_REVISION: (revsearch, 'exact revision search'),
+ MODE_KEYWORD: (keywordsearch, 'literal keyword search'),
+ MODE_REVSET: (revsetsearch, 'revset expression search'),
}
def getsearchmode(query):