path: root/ipalib
diff options
authorJohn Dennis <>2011-08-17 18:51:38 -0400
committerMartin Kosek <>2011-08-18 13:19:22 +0200
commit302bbb9eead13a7a63d7a380ebe01253cc3d4f5e (patch)
tree40305bf1fe24844069deac91c98efb900927efe1 /ipalib
parent821fa37cb2079606995d36b3b195df9096d4cb8a (diff)
ticket 1659 - invalid i18n string in at line 976 has an invalid i18n string and cannot be processed during message extraction causing message catalog generation to fail. The format parameters are trapped inside the i18n string. Also it's not necessary to promote the i18n string literal to unicode via the u prefix because the _() function returns unicode.
Diffstat (limited to 'ipalib')
1 files changed, 2 insertions, 3 deletions
diff --git a/ipalib/plugins/ b/ipalib/plugins/
index e967c5c..b4eee11 100644
--- a/ipalib/plugins/
+++ b/ipalib/plugins/
@@ -71,7 +71,7 @@ EXAMPLES:
A record:,
- Delete A record ''? Yes/No (default No):
+ Delete A record ''? Yes/No (default No):
Delete A record ''? Yes/No (default No): y
Record name: www
A record: (A record has been deleted)
@@ -974,8 +974,7 @@ class dnsrecord_del(dnsrecord_mod_record):
deleted_values = []
for rec_value in dns_record[]:
user_del_value = self.Backend.textui.prompt_yesno(
- _(u"Delete %s '%s'?"
- % (param.label, rec_value)), default=False)
+ _("Delete %s '%s'?") % (param.label, rec_value), default=False)
if user_del_value is True:
if deleted_values: