changeset 20004:06e118c097ff stable

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.
author Wagner Bruna <wbruna@softwareexpress.com.br>
date Wed, 13 Nov 2013 16:46:46 -0200
parents dcd3c47e464b
children 22154ec6fb8b
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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):