summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-07-22 17:35:06 -0400
committerEndi S. Dewata <edewata@redhat.com>2011-07-28 19:11:17 +0000
commit970018f206121919b714ab78a265a65593f42f6a (patch)
tree207a26bc5cd7102b79624564c174331a89e52105
parentab35f38e57576b1a7ba054a9260399af0d4223ed (diff)
downloadfreeipa-970018f206121919b714ab78a265a65593f42f6a.tar.gz
freeipa-970018f206121919b714ab78a265a65593f42f6a.tar.xz
freeipa-970018f206121919b714ab78a265a65593f42f6a.zip
dns section header i18n.
https://fedorahosted.org/freeipa/ticket/1493
-rw-r--r--install/ui/dns.js4
-rw-r--r--install/ui/test/data/ipa_init.json4
-rw-r--r--ipalib/plugins/internal.py2
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"),