Commit 1aa11f12 authored by Bartek Górny's avatar Bartek Górny

improved translateability

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20258 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b6851534
...@@ -101,8 +101,7 @@ def getSearchDialog(self, REQUEST=None): ...@@ -101,8 +101,7 @@ def getSearchDialog(self, REQUEST=None):
field.manage_edit_xmlrpc(dict( field.manage_edit_xmlrpc(dict(
form_id='Base_viewDialogFieldLibrary', form_id='Base_viewDialogFieldLibrary',
field_id='your_category')) field_id='your_category'))
field._surcharged_edit(dict(title=N_('${title} Usage', field._surcharged_edit(dict(title=N_('${key} ${usage}', mapping=dict(key=N_(column_title), usage=N_('Usage'))),
mapping=dict(title=column_title)),
items=[(N_('Equals To'), ''), items=[(N_('Equals To'), ''),
(N_('Greater Than'), 'min'), (N_('Greater Than'), 'min'),
(N_('Lower Than'),'max'), (N_('Lower Than'),'max'),
...@@ -137,8 +136,7 @@ def getSearchDialog(self, REQUEST=None): ...@@ -137,8 +136,7 @@ def getSearchDialog(self, REQUEST=None):
field.manage_edit_xmlrpc(dict( field.manage_edit_xmlrpc(dict(
form_id='Base_viewDialogFieldLibrary', form_id='Base_viewDialogFieldLibrary',
field_id='your_category')) field_id='your_category'))
field._surcharged_edit(dict(title=N_('${title} Usage', field._surcharged_edit(dict(title=N_('${key} ${usage}', mapping=dict(key=N_(column_title), usage=N_('Usage'))),
mapping=dict(title=column_title)),
items=[(N_('Equals To'), ''), items=[(N_('Equals To'), ''),
(N_('Greater Than'), 'min'), (N_('Greater Than'), 'min'),
(N_('Lower Than'),'max'), (N_('Lower Than'),'max'),
...@@ -184,8 +182,7 @@ def getSearchDialog(self, REQUEST=None): ...@@ -184,8 +182,7 @@ def getSearchDialog(self, REQUEST=None):
field.manage_edit_xmlrpc(dict( field.manage_edit_xmlrpc(dict(
form_id='Base_viewDialogFieldLibrary', form_id='Base_viewDialogFieldLibrary',
field_id='your_category')) field_id='your_category'))
field._surcharged_edit(dict(title=str(N_('${title} Search Mode', field._surcharged_edit(dict(title=N_('${key} ${usage}', mapping=dict(key=N_(title), usage=N_('Search Mode')))))
mapping=dict(title=field_title)))), ['title'])
field._surcharged_tales( field._surcharged_tales(
dict( dict(
default=TALESMethod( default=TALESMethod(
...@@ -204,8 +201,7 @@ def getSearchDialog(self, REQUEST=None): ...@@ -204,8 +201,7 @@ def getSearchDialog(self, REQUEST=None):
field.manage_edit_xmlrpc(dict( field.manage_edit_xmlrpc(dict(
form_id='Base_viewDialogFieldLibrary', form_id='Base_viewDialogFieldLibrary',
field_id='your_category')) field_id='your_category'))
field._surcharged_edit(dict(title=N_('${title} Key', field._surcharged_edit(dict(title=N_('${key} ${usage}', mapping=dict(key=N_(column_title), usage=N_('Search Key'))),
mapping=dict(title=column_title)),
description='', description='',
items=[(N_('Default (${search_key})', items=[(N_('Default (${search_key})',
mapping=dict(search_key= mapping=dict(search_key=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment