3.0 UI - localize Add network offering dialog.

This commit is contained in:
Jessica Wang 2012-02-13 17:40:26 -08:00
parent 06ac144e34
commit 012be834b5
5 changed files with 28 additions and 11 deletions

View File

@ -1014,3 +1014,9 @@ conserve.mode=Conserve mode
created.by.system=Created by system created.by.system=Created by system
label.menu.system.service.offerings=System Service Offerings label.menu.system.service.offerings=System Service Offerings
label.add.system.service.offering=Add System Service Offering label.add.system.service.offering=Add System Service Offering
redundant.router.capability=Redundant router capability
supported.source.NAT.type=Supported Source NAT type
elastic.LB=Elastic LB
LB.isolation=LB isolation
elastic.IP=Elastic IP

View File

@ -882,3 +882,9 @@ conserve.mode=モードを節約
created.by.system=システムによって作成され created.by.system=システムによって作成され
label.menu.system.service.offerings=システムサービスの提供 label.menu.system.service.offerings=システムサービスの提供
label.add.system.service.offering=システムサービスの提供を追加します。 label.add.system.service.offering=システムサービスの提供を追加します。
redundant.router.capability=Redundant router capability
supported.source.NAT.type=Supported Source NAT type
elastic.LB=Elastic LB
LB.isolation=LB isolation
elastic.IP=Elastic IP

View File

@ -2573,6 +2573,11 @@ dictionary = {
'conserve.mode': '<fmt:message key="conserve.mode" />', 'conserve.mode': '<fmt:message key="conserve.mode" />',
'created.by.system': '<fmt:message key="created.by.system" />', 'created.by.system': '<fmt:message key="created.by.system" />',
'label.menu.system.service.offerings': '<fmt:message key="label.menu.system.service.offerings" />', 'label.menu.system.service.offerings': '<fmt:message key="label.menu.system.service.offerings" />',
'label.add.system.service.offering': '<fmt:message key="label.add.system.service.offering" />' 'label.add.system.service.offering': '<fmt:message key="label.add.system.service.offering" />',
'redundant.router.capability': '<fmt:message key="redundant.router.capability" />',
'supported.source.NAT.type': '<fmt:message key="supported.source.NAT.type" />',
'elastic.LB': '<fmt:message key="elastic.LB" />',
'LB.isolation': '<fmt:message key="LB.isolation" />',
'elastic.IP': '<fmt:message key="elastic.IP" />'
}; };
</script> </script>

View File

@ -1248,7 +1248,7 @@
//show or hide upon checked services and selected providers above (begin) //show or hide upon checked services and selected providers above (begin)
serviceOfferingId: { serviceOfferingId: {
label: 'Service Offering', label: 'label.service.offering',
select: function(args) { select: function(args) {
$.ajax({ $.ajax({
url: createURL('listServiceOfferings&issystem=true'), url: createURL('listServiceOfferings&issystem=true'),
@ -1280,14 +1280,14 @@
}, },
"service.SourceNat.redundantRouterCapabilityCheckbox" : { "service.SourceNat.redundantRouterCapabilityCheckbox" : {
label: "Redundant router capability", label: "redundant.router.capability",
isHidden: true, isHidden: true,
dependsOn: 'service.SourceNat.isEnabled', dependsOn: 'service.SourceNat.isEnabled',
isBoolean: true isBoolean: true
}, },
"service.SourceNat.sourceNatTypeDropdown": { "service.SourceNat.sourceNatTypeDropdown": {
label: 'Supported Source NAT type', label: 'supported.source.NAT.type',
isHidden: true, isHidden: true,
dependsOn: 'service.SourceNat.isEnabled', dependsOn: 'service.SourceNat.isEnabled',
select: function(args) { select: function(args) {
@ -1300,13 +1300,13 @@
} }
}, },
"service.Lb.elasticLbCheckbox" : { "service.Lb.elasticLbCheckbox" : {
label: "Elastic LB", label: "elastic.LB",
isHidden: true, isHidden: true,
dependsOn: 'service.Lb.isEnabled', dependsOn: 'service.Lb.isEnabled',
isBoolean: true isBoolean: true
}, },
"service.Lb.lbIsolationDropdown": { "service.Lb.lbIsolationDropdown": {
label: 'LB isolation', label: 'LB.isolation',
isHidden: true, isHidden: true,
dependsOn: 'service.Lb.isEnabled', dependsOn: 'service.Lb.isEnabled',
select: function(args) { select: function(args) {
@ -1319,7 +1319,7 @@
} }
}, },
"service.StaticNat.elasticIpCheckbox" : { "service.StaticNat.elasticIpCheckbox" : {
label: "Elastic IP", label: "elastic.IP",
isHidden: true, isHidden: true,
dependsOn: 'service.StaticNat.isEnabled', dependsOn: 'service.StaticNat.isEnabled',
isBoolean: true isBoolean: true

View File

@ -2123,7 +2123,7 @@
desc: '', desc: '',
fields: { fields: {
serviceOfferingId: { serviceOfferingId: {
label: 'Service offering', label: 'label.service.offering',
select: function(args) { select: function(args) {
$.ajax({ $.ajax({
url: createURL("listServiceOfferings&issystem=true&systemvmtype=domainrouter"), url: createURL("listServiceOfferings&issystem=true&systemvmtype=domainrouter"),
@ -2279,7 +2279,7 @@
guestipaddress: { label: 'Guest IP' }, guestipaddress: { label: 'Guest IP' },
linklocalip: { label: 'Link local IP' }, linklocalip: { label: 'Link local IP' },
hostname: { label: 'Host' }, hostname: { label: 'Host' },
serviceofferingname: { label: 'Service offering' }, serviceofferingname: { label: 'label.service.offering' },
networkdomain: { label: 'Network domain' }, networkdomain: { label: 'Network domain' },
domain: { label: 'Domain' }, domain: { label: 'Domain' },
account: { label: 'Account' }, account: { label: 'Account' },