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

@@ -31,8 +31,6 @@ import ipalib
from ipalib.plugable import Plugin
from ipalib.request import context
class TempDir(object):
def __init__(self):
self.__path = tempfile.mkdtemp(prefix='ipa.tests.')