From 310e46452c41223afa0b1b318c503574567df105 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Thu, 13 Nov 2014 14:02:02 +0100 Subject: Fix warning message should not contain CLI commands Message is now universal for both CLI and WebUI Ticket: https://fedorahosted.org/freeipa/ticket/4647 Reviewed-By: Petr Vobornik --- ipalib/plugins/dns.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'ipalib/plugins/dns.py') diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index dd1e640f4..c5d96a8c4 100644 --- a/ipalib/plugins/dns.py +++ b/ipalib/plugins/dns.py @@ -2369,11 +2369,10 @@ class dnszone(DNSZoneBase): messages.add_message( options['version'], result, messages.OptionSemanticChangedWarning( - option=u"--name-server", - current_behavior=_(u"the option is used only for " - u"setting up the SOA MNAME attribute"), - hint=_(u"To edit NS record(s) in zone apex, use command " - u"'dnsrecord-mod [zone] @ --ns-rec=nameserver'.") + label=_(u"setting Authoritative nameserver"), + current_behavior=_(u"It is used only for setting the " + u"SOA MNAME attribute."), + hint=_(u"NS record(s) can be edited in zone apex - '@'. ") ) ) -- cgit