mirror of https://github.com/apache/cloudstack.git
CS-13739: localize more labels
This commit is contained in:
parent
a48a3bbfbd
commit
219bbb4324
|
|
@ -944,7 +944,7 @@
|
|||
</div>
|
||||
<div id="update_ssl_button" class="button action main-action reduced-hide lock">
|
||||
<span class="icon"> </span>
|
||||
<span>Update SSL Certificate</span>
|
||||
<span><fmt:message key="label.update.ssl.cert"/></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -1190,12 +1190,12 @@
|
|||
|
||||
<div class="selects" style="display:none;">
|
||||
<div class="select">
|
||||
<label>Zone:</label>
|
||||
<label><fmt:message key="label.zone"/>:</label>
|
||||
<select>
|
||||
</select>
|
||||
</div>
|
||||
<div class="select">
|
||||
<label>Pods:</label>
|
||||
<label><fmt:message key="label.pods"/>:</label>
|
||||
<select>
|
||||
</select>
|
||||
</div>
|
||||
|
|
@ -1207,7 +1207,7 @@
|
|||
<ul data-item="zoneCapacities">
|
||||
<li concat-value="25">
|
||||
<div class="label">
|
||||
Zone: <span data-list-item="zoneName"></span>
|
||||
<fmt:message key="label.zone"/>: <span data-list-item="zoneName"></span>
|
||||
</div>
|
||||
<div class="pie-chart-container">
|
||||
<div class="percent-label"><span data-list-item="percent"></span>%</div>
|
||||
|
|
|
|||
|
|
@ -553,13 +553,9 @@
|
|||
})
|
||||
},
|
||||
|
||||
messages: {
|
||||
confirm: function(args) { //never being called
|
||||
return 'Are you sure you want to deploy an instance?';
|
||||
},
|
||||
notification: function(args) {
|
||||
//return 'Creating new VM: ' + args.name; //args.name is not available
|
||||
return 'Creating new VM';
|
||||
messages: {
|
||||
notification: function(args) {
|
||||
return 'label.vm.add';
|
||||
}
|
||||
},
|
||||
notification: {
|
||||
|
|
|
|||
|
|
@ -358,13 +358,13 @@ cloudStack.converters = {
|
|||
toAlertType: function(alertCode) {
|
||||
switch (alertCode) {
|
||||
case 0 : return _l('label.memory');
|
||||
case 1 : return 'CPU';
|
||||
case 1 : return _l('label.cpu');
|
||||
case 2 : return _l('label.storage');
|
||||
case 3 : return _l('label.primary.storage');
|
||||
case 4 : return _l('label.public.ips');
|
||||
case 5 : return _l('label.management.ips');
|
||||
case 6 : return _l('label.secondary.storage');
|
||||
case 7 : return 'VLAN';
|
||||
case 7 : return _l('label.vlan');
|
||||
case 8 : return _l('label.direct.ips');
|
||||
case 9 : return _l('label.local.storage');
|
||||
|
||||
|
|
|
|||
|
|
@ -339,7 +339,7 @@
|
|||
var chartItems = {
|
||||
// The keys are based on the internal type ID associated with each capacity
|
||||
0: { name: _l('label.memory') },
|
||||
1: { name: 'CPU' },
|
||||
1: { name: _l('label.cpu') },
|
||||
2: { name: _l('label.storage') },
|
||||
3: { name: _l('label.primary.allocated') },
|
||||
6: { name: _l('label.secondary.storage') },
|
||||
|
|
@ -347,7 +347,7 @@
|
|||
4: { name: _l('label.public.ips') },
|
||||
5: { name: _l('label.management.ips') },
|
||||
8: { name: _l('label.direct.ips') },
|
||||
7: { name: 'VLAN' }
|
||||
7: { name: _l('label.vlan') }
|
||||
};
|
||||
|
||||
$top.append($title);
|
||||
|
|
|
|||
Loading…
Reference in New Issue