1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-19 06:50:07 +03:00

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 2012-08-30 13:45:45 +02:00 committed by Ruben S. Montero
parent b578879c70
commit 3487f20ade
4 changed files with 6 additions and 5 deletions

View File

@ -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">\

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 {

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>\

View File

@ -633,7 +633,7 @@ function updateVNetworkInfo(request,vn){
};
var leases_tab = {
title: "Lease management",
title: tr("Lease management"),
content: printLeases(vn_info)
};