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

@ -1013,4 +1013,10 @@ specify.IP.ranges=Specify IP ranges
conserve.mode=Conserve mode
created.by.system=Created by system
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

@ -881,4 +881,10 @@ specify.IP.ranges=指定したIPの範囲
conserve.mode=モードを節約
created.by.system=システムによって作成され
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" />',
'created.by.system': '<fmt:message key="created.by.system" />',
'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>

View File

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

View File

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