localize doc strings

A number of doc strings were not localized, wrap them in _().
Some messages were not localized, wrap them in _()

Fix a couple of failing tests:
The method name in RPC should not be unicode.
The doc attribute must use the .msg attribute for comparison.

Also clean up imports of _() The import should come from
ipalib or ipalib.text, not ugettext from request.
This commit is contained in:
John Dennis
2010-03-05 16:11:21 -05:00
committed by Jason Gerard DeRose
parent b9df4f7f29
commit b75d06e189
20 changed files with 61 additions and 56 deletions

View File

@@ -85,7 +85,7 @@ class config(LDAPObject):
Str('ipagroupsearchfields?',
cli_name='groupsearch',
label='Group search fields',
doc='A comma-separated list of fields to search when searching for groups',
doc=_('A comma-separated list of fields to search when searching for groups'),
),
Bool('ipamigrationenabled?',
cli_name='enable_migration',