From 2a389966f0621b1e0e1ac47d2bc3c8dec447eab6 Mon Sep 17 00:00:00 2001
From: Adam Young <ayo...@redhat.com>
Date: Fri, 22 Jul 2011 17:35:06 -0400
Subject: [PATCH] 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 da96ee10750399fa75e88ae5ec287956ddd34215..12c5ff69bbbcc6d362501ff15c4c57ca54030d4f 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 10d3ad519bb88932900587e0a8978c9a6811afcf..5c0fb8fc876b8c78338a11c8f0a097d58e27dc57 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 4bb63cffd6de56f06d69dba82e4fd698374dd2db..798d98da8b4df8f47ba4e6a16a7df71b81ceae0b 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"),
-- 
1.7.6

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to