changeset 1749:90c2680398bb

+lookup view: do not translate field names
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 26 Aug 2012 22:20:14 +0200
parents 251312541a35
children fe84cb8be67e
files MoinMoin/apps/frontend/views.py
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/frontend/views.py	Sun Aug 26 22:11:42 2012 +0200
+++ b/MoinMoin/apps/frontend/views.py	Sun Aug 26 22:20:14 2012 +0200
@@ -126,16 +126,16 @@
 
 
 class LookupForm(Form):
-    name = OptionalText.using(label=L_('name'))
-    name_exact = OptionalText.using(label=L_('name_exact'))
-    itemid = OptionalText.using(label=L_('itemid'))
-    revid = OptionalText.using(label=L_('revid'))
-    userid = OptionalText.using(label=L_('userid'))
-    language = OptionalText.using(label=L_('language'))
-    itemlinks = OptionalText.using(label=L_('itemlinks'))
-    itemtransclusions = OptionalText.using(label=L_('itemtransclusions'))
-    refs = OptionalText.using(label=L_('refs'))
-    tags = Tags.using(optional=True)
+    name = OptionalText.using(label='name')
+    name_exact = OptionalText.using(label='name_exact')
+    itemid = OptionalText.using(label='itemid')
+    revid = OptionalText.using(label='revid')
+    userid = OptionalText.using(label='userid')
+    language = OptionalText.using(label='language')
+    itemlinks = OptionalText.using(label='itemlinks')
+    itemtransclusions = OptionalText.using(label='itemtransclusions')
+    refs = OptionalText.using(label='refs')
+    tags = Tags.using(optional=True).using(label='tags')
     history = InlineCheckbox.using(label=L_('search also in non-current revisions'))
     submit = Submit.using(default=L_('Lookup'))