From 970018f206121919b714ab78a265a65593f42f6a Mon Sep 17 00:00:00 2001 From: Adam Young Date: Fri, 22 Jul 2011 17:35:06 -0400 Subject: dns section header i18n. https://fedorahosted.org/freeipa/ticket/1493 --- install/ui/dns.js | 4 ++-- install/ui/test/data/ipa_init.json | 4 +++- ipalib/plugins/internal.py | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/install/ui/dns.js b/install/ui/dns.js index da96ee107..12c5ff69b 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -212,7 +212,7 @@ IPA.entity_factories.dnsrecord = function() { }, { name:'standard', - label:'Standard Records', + label:IPA.messages.objects.dnsrecord.standard, fields:[ { factory: IPA.multivalued_text_widget, name: 'arecord', @@ -259,7 +259,7 @@ IPA.entity_factories.dnsrecord = function() { }, { name:'unusual', - label:'Other Record Types', + label:IPA.messages.objects.dnsrecord.other, fields:[ { factory: IPA.multivalued_text_widget, label:'AFSDB', diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index 10d3ad519..5c0fb8fc8 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -15962,6 +15962,8 @@ "delegation": {}, "dnsrecord": { "data": "Data", + "other": "Other Record Types", + "standard": "Standard Record Types", "title": "Records for DNS Zone", "type": "Record Type" }, @@ -16181,7 +16183,7 @@ ], "krbextradata": [ { - "__base64__": "AAgBAA==" + "__base64__": "AALU0ylOcm9vdC9hZG1pbkBTRVJWRVIxNS5BWU9VTkcuQk9TVE9OLkRFVkVMLlJFREhBVC5DT00A" }, { "__base64__": "AALU0ylOcm9vdC9hZG1pbkBTRVJWRVIxNS5BWU9VTkcuQk9TVE9OLkRFVkVMLlJFREhBVC5DT00A" diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index 4bb63cffd..798d98da8 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -165,6 +165,8 @@ class i18n_messages(Command): "deleted_no_data":_("DNS record was deleted because it contained no data."), "redirection_dnszone":_("You will be redirected to DNS Zone."), "title":_("Records for DNS Zone"), + "standard":_("Standard Record Types"), + "other":_("Other Record Types"), }, "entitle": { "account":_("Account"), -- cgit