Several small i18n-related bugfixes in Sunstone and Selfservice.

Pointed out by ViVOSS i OI
(cherry picked from commit aab60b83204fe6afca28e4c9e62db77947a46d39)
This commit is contained in:
Hector Sanjuan authored and Ruben S. Montero committed 2012-08-31 19:23:24 +02:00
1 parent b578879c70
commit 3487f20ade
4 files changed
+6 -5

No files matched your search

@@ -96,7 +96,7 @@ var create_vm_tmpl ='<form id="create_vm_form" action="">\
<div>\
<label for="vm_n_times">'+tr("Create # VMs")+':</label>\
<input type="text" name="vm_n_times" id="vm_n_times" value="1">\
<div class="tip">'+tr("You can use the wildcard &#37;. When creating several VMs, &#37; will be replaced with a different number starting from 0 in each of them")+'.</div>\
<div class="tip">'+tr("You can use the wildcard &#37;i. When creating several VMs, &#37;i will be replaced with a different number starting from 0 in each of them")+'.</div>\
</div>\
</fieldset>\
<div class="form_buttons">\
+2 -1
View File
@@ -336,7 +336,8 @@ textarea:focus{
.add_button {
margin-left:148px;
width:58px !important;
/* In some languages the word add is longer */
width:58px !important;*/
}
.remove_button {
+2 -2
View File
@@ -112,7 +112,7 @@ var create_vm_tmpl ='<form id="create_vm_form" action="">\
<div>\
<label for="vm_n_times">'+tr("Deploy # VMs")+':</label>\
<input type="text" name="vm_n_times" id="vm_n_times" value="1">\
<div class="tip">'+tr("You can use the wildcard &#37;. When creating several VMs, %i will be replaced with a different number starting from 0 in each of them")+'.</div>\
<div class="tip">'+tr("You can use the wildcard &#37;i. When creating several VMs, &#37;i will be replaced with a different number starting from 0 in each of them")+'.</div>\
</div>\
</div>\
</fieldset>\
@@ -1202,7 +1202,7 @@ function printDisks(vm_info){
-->\
<tr><td class="key_td"></td>\
<td class="value_td">\
<button type="submit" value="VM.attachdisk">Attach</button>\
<button type="submit" value="VM.attachdisk">'+tr("Attach")+'</button>\
</td>\
</tr>\
</tbody>\
+1 -1
View File
@@ -633,7 +633,7 @@ function updateVNetworkInfo(request,vn){
};
var leases_tab = {
title: "Lease management",
title: tr("Lease management"),
content: printLeases(vn_info)
};