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

Update messages.po

This commit is contained in:
Daniel Molina 2013-03-27 13:57:29 +01:00
parent 40565fabfd
commit 12faca7d16
14 changed files with 3021 additions and 2927 deletions

File diff suppressed because it is too large Load Diff

View File

@ -41,7 +41,7 @@ var acls_tab_content = '\
</div>\
</div>\
<div class="three columns">\
<input id="acl_search" type="text" placeholder="Search" />\
<input id="acl_search" type="text" placeholder="'+tr("Search")+'" />\
</div>\
<br>\
<br>\
@ -64,12 +64,6 @@ var acls_tab_content = '\
<tbody id="tbodyaclss">\
</tbody>\
</table>\
<div class="legend_div">\
<span>?</span>\
<p class="legend_p">\
'+tr("This table shows the ACLs rules broken down to easier the reading and meaning of each one. You can show the ACL original string by clicking on Show/Hide columns.")+'\
</p>\
</div>\
</form>';
var create_acl_tmpl =

View File

@ -107,7 +107,7 @@ var create_cluster_tmpl ='<div id="cluster_create_tabs">\
<button id="refresh_host_table_button_class" class="button small radius secondary action_button" value="ClusterHost.list"><i class="icon-refresh" /></button>\
</div>\
<div class="five columns">\
<input id="cluster_hosts_search" type="text" placeholder="Search"/>\
<input id="cluster_hosts_search" type="text" placeholder="'+tr("Search")+'"/>\
</div>\
</div>\
<div id="datatable_cluster_hosts_div">\
@ -124,7 +124,7 @@ var create_cluster_tmpl ='<div id="cluster_create_tabs">\
<button id="refresh_vnet_table_button_class" class="button small radius secondary action_button" value="ClusterVN.list"><i class="icon-refresh" /></button>\
</div>\
<div class="five columns">\
<input id="cluster_vnets_search" type="text" placeholder="Search"/>\
<input id="cluster_vnets_search" type="text" placeholder="'+tr("Search")+'"/>\
</div>\
</div>\
<div id="datatable_cluster_vnets_div">\
@ -141,7 +141,7 @@ var create_cluster_tmpl ='<div id="cluster_create_tabs">\
<button id="refresh_datastore_table_button_class" class="button small radius secondary action_button" value="ClusterDS.list"><i class="icon-refresh" /></button>\
</div>\
<div class="five columns">\
<input id="cluster_datastores_search" type="text" placeholder="Search"/>\
<input id="cluster_datastores_search" type="text" placeholder="'+tr("Search")+'"/>\
</div>\
</div>\
<div id="datatable_cluster_datastores_div">\
@ -506,7 +506,7 @@ function popUpUpdateClusterDialog(){
if ( selected_nodes.length != 1 )
{
alert("Please select one (and just one) cluster to update.");
notifyError(tr("Please select one (and just one) cluster to update."));
return false;
}
@ -877,7 +877,7 @@ var clusters_tab_content = '\
</div>\
</div>\
<div class="three columns">\
<input id="cluster_search" type="text" placeholder="Search" />\
<input id="cluster_search" type="text" placeholder="'+tr("Search")+'" />\
</div>\
</div>\
</div>\
@ -1345,8 +1345,6 @@ function updateClustersView (request,list){
updateView(list_array,dataTable_clusters);
updateClusterSelect();
//dependency with the infraestructure dashboard plugin
//updateInfraDashboard("clusters",list);
};

View File

@ -14,172 +14,6 @@
/* limitations under the License. */
/* -------------------------------------------------------------------------- */
/*
var dashboard_tab_content =
'<table class="dashboard_table">\
<tr>\
<td>\
<table style="width:100%">\
<tr>\
<td>\
<div class="panel">\
<h4 class="subheader">' + tr("Hosts") + '<i class="icon-refresh action_button" value="Host.refresh" style="float:right;cursor:pointer"></i></h4>\
<div class="panel_info">\
<table class="info_table">\
\
<tr>\
<td class="key_td">' + tr("Total Hosts") + '</td>\
<td class="key_td">' + tr("State") + '</td>\
</tr>\
<tr>\
<td colspan="2"><div id="totalHosts" class="big_text" style="float:left;width:50%;padding-top:12px;"></div>\
<div id="statePie" style="float:right;width:50%;height:100px;"></div></td>\
</tr>\
\
<tr>\
<td class="key_td">' + tr("Global CPU Usage") + '</td>\
<td></td>\
</tr>\
<tr>\
<td colspan="2"><div id="globalCpuUsage" style="width:100%;height:100px;"></div></td>\
</tr>\
\
<tr>\
<td class="key_td">' + tr("Used vs. Max CPU") + '</td>\
<td><div id="cpuUsageBar_legend"></div></td>\
</tr>\
<tr>\
<td colspan="2">\
<div id="cpuUsageBar" style="width:95%;height:50px"></div>\
</td>\
</tr>\
\
<tr>\
<td class="key_td">' + tr("Used vs. Max Memory") + '</td>\
<td><div id="memoryUsageBar_legend"></div></td>\
</tr>\
<tr>\
<td colspan="2">\
<div id="memoryUsageBar" style="width:95%;height:50px"></div>\
</td>\
</tr>\
\
</table>\
\
</div>\
</div>\
</td>\
</tr>\
<tr>\
<td>\
<div class="panel">\
<h3>' + tr("Clusters") + '<i class="icon-refresh action_button" value="Host.refresh" style="float:right;cursor:pointer"></i></h3>\
<div class="panel_info">\
\
<table class="info_table">\
\
<tr>\
<td class="key_td">' + tr("Allocated CPU per cluster") + '</td>\
<td class="value_td"></td>\
</tr>\
<tr>\
<td colspan="2"><div id="cpuPerCluster" style="width:100%;height:100px;overflow:hidden;"></div></td>\
</tr>\
\
<tr>\
<td class="key_td">' + tr("Allocated Memory per cluster") + '</td>\
<td class="value_td"></td>\
</tr>\
<tr>\
<td colspan="2"><div id="memoryPerCluster" style="width:100%;height:100px;overflow:hidden;"></div></td>\
</tr>\
\
</table>\
\
</div>\
</div>\
</td>\
</tr>\
</table>\
</td>\
<td>\
<table style="width:100%">\
<tr>\
<td>\
<div class="panel">\
<h3>' + tr("Virtual Machines") + '<i class="icon-refresh action_button" value="VM.refresh" style="float:right;cursor:pointer"></i></h3>\
<div class="panel_info">\
<table class="info_table">\
\
<tr>\
<td class="key_td">' + tr("Total VMs") + '</td>\
<td class="key_td">' + tr("State") + '</td>\
</tr>\
\
<tr>\
<td colspan="2"><div id="totalVMs" class="big_text" style="float:left;width:50%;padding-top:12px;"></div>\
<div id="vmStatePie" style="float:right;width:50%;height:100px"></div></td>\
</tr>\
\
<tr>\
<td class="key_td">' + tr("Bandwidth - Upload") + '</td>\
<td class="key_td">' + tr("Bandwidth - Download") + '</td>\
</tr>\
<tr>\
<td id="bandwidth_up" class="big_text"></td>\
<td id="bandwidth_down" class="big_text"></td>\
</tr>\
\
<tr>\
<td class="key_td">' + tr("Global transfer rates") + '</td>\
<td colspan="2"><div id="netUsageBar_legend" style="float:right;"></div></td>\
</tr>\
<tr>\
<td colspan="3">\
<div id="netUsageBar" style="float:left;width:92%;height:50px"></div>\
</td>\
</tr>\
\
</table>\
</div>\
</div>\
</td>\
</tr>\
<tr>\
<td>\
<div class="panel">\
<h3>' + tr("System Information") + '</h3>\
<div class="panel_info">\
<table class="info_table">\
\
<tr>\
<td class="key_td">' + tr("Total Users") + '</td>\
<td class="key_td">' + tr("Total Groups") + '</td>\
</tr>\
\
<tr>\
<td class="big_text" id="totalUsers"></td>\
<td class="big_text" id="totalGroups"></td>\
</tr>\
\
<tr>\
<td class="key_td">' + tr("Users per group") + '</td>\
<td class="value_td"><i class="icon-refresh action_button" value="User.refresh" style="float:right;cursor:pointer"></i></td>\
</tr>\
<tr>\
<td colspan="2"><div id="usersPerGroup" style="width:100%;height:100px;overflow:hidden;"></div></td>\
</tr>\
\
</table>\
</div>\
</div>\
</td>\
</tr>\
</table>\
</td>\
</tr></table>';
*/
var dashboard_tab_content = '\
<div class="dashboard">\
<div class="panel">\

View File

@ -40,7 +40,7 @@ var datastores_tab_content = '\
</div>\
</div>\
<div class="three columns">\
<input id="datastore_search" type="text" placeholder="Search" />\
<input id="datastore_search" type="text" placeholder="'+tr("Search")+'" />\
</div>\
<br>\
<br>\
@ -66,12 +66,6 @@ var datastores_tab_content = '\
<tbody id="tbodydatastores">\
</tbody>\
</table>\
<div class="legend_div">\
<span>?</span>\
<p class="legend_p">\
'+tr("Datatables are sets of images which share a common transfer driver. i.e. Images in a SSH datastore will be copied to the hosts using SSH when deploying a Virtual Machine.")+'\
</p>\
</div>\
</form>';
var create_datastore_tmpl =

View File

@ -40,7 +40,7 @@ var files_tab_content = '\
</div>\
</div>\
<div class="three columns">\
<input id="file_search" type="text" placeholder="Search" />\
<input id="file_search" type="text" placeholder="'+tr("Search")+'" />\
</div>\
</div>\
</div>\
@ -67,12 +67,6 @@ var files_tab_content = '\
<tbody id="tbodyfiles">\
</tbody>\
</table>\
<div class="legend_div">\
<span>?</span>\
<p class="legend_p">\
'+tr("Size and registration time are hidden colums. Note that persistent files can only be used by 1 VM. To change file datastore, please re-register the file.")+'\
</p>\
</div>\
</form>';
var create_file_tmpl =

View File

@ -61,7 +61,7 @@ var groups_tab_content = '\
</div>\
</div>\
<div class="three columns">\
<input id="group_search" type="text" placeholder="Search" />\
<input id="group_search" type="text" placeholder="'+tr("Search")+'" />\
</div>\
<br>\
<br>\
@ -84,12 +84,6 @@ var groups_tab_content = '\
<tbody id="tbodygroups">\
</tbody>\
</table>\
<div class="legend_div">\
<span>?</span>\
<p class="legend_p">\
'+tr("Tip: Refresh the list if it only shows user ids in the Users column.")+'\
</p>\
</div>\
</form>';
var create_group_tmpl =

View File

@ -44,7 +44,7 @@ var hosts_tab_content = '\
</div>\
</div>\
<div class="three columns">\
<input id="hosts_search" type="text" placeholder="Search" />\
<input id="hosts_search" type="text" placeholder="'+tr("Search")+'" />\
</div>\
<br>\
<br>\
@ -73,18 +73,6 @@ var hosts_tab_content = '\
<tbody id="tbodyhosts">\
</tbody>\
</table>\
<div class="legend_div">\
<span>?</span>\
<p class="legend_p">\
'+tr("CPU Use is calculated as the minimum between (total CPU - real CPU usage) and (allocated CPU). Real CPU usage is provided by the hosts monitoring driver. Available CPU is calculated using the information from the CPU setting of the VMs running on that host (allocated CPU)")+'\
</p>\
<p class="legend_p">\
'+tr("Memory use is calculated according to the information provided by the host monitoring driver.")+'\
</p>\
<p class="legend_p">\
'+tr("You can get monitoring graphs by clicking in the desired host and visiting the monitoring information tab. Note that oneacctd must be running for this information to be updated/available.")+'\
</p>\
</div>\
</form>';
var create_host_tmpl =
@ -296,14 +284,14 @@ var host_actions = {
var host_graphs = [
{
monitor_resources : "HOST_SHARE/CPU_USAGE,HOST_SHARE/USED_CPU,HOST_SHARE/MAX_CPU",
labels : "Allocated,Real,Total",
labels : tr("Allocated")+","+tr("Real")+","+tr("Total"),
humanize_figures : false,
div_graph : $("#host_cpu_graph"),
div_legend : $("#host_cpu_legend")
},
{
monitor_resources : "HOST_SHARE/MEM_USAGE,HOST_SHARE/USED_MEM,HOST_SHARE/MAX_MEM",
labels : "Allocated,Real,Total",
labels : tr("Allocated")+","+tr("Real")+","+tr("Total"),
humanize_figures : true,
div_graph : $("#host_mem_graph"),
div_legend : $("#host_mem_legend")
@ -327,14 +315,14 @@ var host_actions = {
var host_dashboard_graphs = [
{
monitor_resources : "HOST_SHARE/CPU_USAGE,HOST_SHARE/USED_CPU,HOST_SHARE/MAX_CPU",
labels : "Allocated,Real,Total",
labels : tr("Allocated")+","+tr("Real")+","+tr("Total"),
humanize_figures : false,
div_graph : $("#dash_host_cpu_graph", $dashboard)
//div_legend : $("#dash_host_cpu_legend", $dashboard)
},
{
monitor_resources : "HOST_SHARE/MEM_USAGE,HOST_SHARE/USED_MEM,HOST_SHARE/MAX_MEM",
labels : "Allocated,Real,Total",
labels : tr("Allocated")+","+tr("Real")+","+tr("Total"),
humanize_figures : true,
div_graph : $("#dash_host_mem_graph", $dashboard),
div_legend : $("#dash_host_mem_legend", $dashboard)

View File

@ -40,7 +40,7 @@ var images_tab_content = '\
</div>\
</div>\
<div class="three columns">\
<input id="image_search" type="text" placeholder="Search" />\
<input id="image_search" type="text" placeholder="'+tr("Search")+'" />\
</div>\
</div>\
</div>\
@ -67,12 +67,6 @@ var images_tab_content = '\
<tbody id="tbodyimages">\
</tbody>\
</table>\
<div class="legend_div">\
<span>?</span>\
<p class="legend_p">\
'+tr("Size and registration time are hidden colums. Note that persistent images can only be used by 1 VM. To change image datastore, please re-register the image.")+'\
</p>\
</div>\
</form>';
var create_image_tmpl =

View File

@ -120,7 +120,7 @@ var marketplace_tab_content = '\
</div>\
</div>\
<div class="three columns">\
<input id="marketplace_search" type="text" placeholder="Search" />\
<input id="marketplace_search" type="text" placeholder="'+tr("Search")+'" />\
</div>\
</div>\
</div>\

View File

@ -39,7 +39,7 @@ var templates_tab_content = '\
</div>\
</div>\
<div class="three columns">\
<input id="template_search" type="text" placeholder="Search" />\
<input id="template_search" type="text" placeholder="'+tr("Search")+'" />\
</div>\
<br>\
<br>\
@ -63,15 +63,6 @@ var templates_tab_content = '\
</table>\
</div>\
</div>\
<div class="legend_div">\
<span>?</span>\
<p class="legend_p">\
'+tr("Clicking `instantiate` will create new Virtual Machines from the selected templates and name one-id. You will be able to assign a specific name to a new VM, or launch several instances at once if the template doesn't reference any persistent image.")+'\
</p>\
<p class="legend_p">\
'+tr("You can clone a template to obtain a copy from an existing template. This copy will be owned by you.")+'\
</p>\
</div>\
</form>';
@ -98,8 +89,6 @@ var create_template_tmpl = '<div class="panel">'+
'<button class="button hidden radius" id="template_template_update_button" value="Template.update_template" style="float: right">'+tr("Update")+'</button>'+
'<button class="button secondary radius" id="template_template_reset_button" value="">'+tr("Reset")+'</button>'+
'<button class="close-reveal-modal button secondary radius" type="button" value="close">' + tr("Close") + '</button>'+
//'<button class="button secondary radius" id="wizard_next" type="reset" style="float: right">'+tr("Next")+' <span class=" icon-angle-right"></span> </button>'+
//'<button class="button secondary radius" id="wizard_previous" type="reset" style="float: right"><span class="icon-angle-left"></span> '+tr("Previous")+'</button>'+
'</div>'+
'<a class="close-reveal-modal">&#215;</a>';
@ -755,17 +744,17 @@ function setup_capacity_tab_content(capacity_section) {
function generate_disk_tab_content(str_disk_tab_id, str_datatable_id){
var html = '<div class="row">'+
'<div class="three columns push-three">'+
'<input id="'+str_disk_tab_id+'radioImage" type="radio" name="'+str_disk_tab_id+'" value="image" checked> Image '+
'<input id="'+str_disk_tab_id+'radioImage" type="radio" name="'+str_disk_tab_id+'" value="image" checked> '+tr("Image")+
'</div>'+
'<div class="three columns pull-three">'+
'<input id="'+str_disk_tab_id+'radioVolatile" type="radio" name="'+str_disk_tab_id+'" value="volatile"> Volatile Disk '+
'<input id="'+str_disk_tab_id+'radioVolatile" type="radio" name="'+str_disk_tab_id+'" value="volatile"> '+tr("Volatile Disk")+
'</div>'+
'</div>'+
'<hr>'+
'<div id="disk_type" class="vm_param image">'+
'<div class="row collapse ">'+
'<div class="five columns push-seven">'+
'<input id="'+str_disk_tab_id+'_search" type="text" placeholder="Search"/>'+
'<input id="'+str_disk_tab_id+'_search" type="text" placeholder="'+tr("Search")+'"/>'+
'</div>'+
'</div>'+
'<table id="'+str_datatable_id+'" class="datatable twelve">'+
@ -792,7 +781,7 @@ function generate_disk_tab_content(str_disk_tab_id, str_datatable_id){
'<br>'+
'<div class="vm_param kvm_opt xen_opt vmware_opt">'+
'<span id="select_image" class="radius secondary label">'+tr("Please select an image from the list")+'</span>'+
'<span id="image_selected" class="radius secondary label hidden">You selected the following image: '+
'<span id="image_selected" class="radius secondary label hidden">'+tr("You selected the following image: ")+
'</span>'+
'<span class="radius label" type="text" id="IMAGE" name="image"></span>'+
'<input type="hidden" id="IMAGE_ID" name="image_id" size="2"/>'+
@ -1121,7 +1110,7 @@ function setup_disk_tab_content(disk_section, str_disk_tab_id, str_datatable_id)
function generate_nic_tab_content(str_nic_tab_id, str_datatable_id){
var html = '<div class="row">'+
'<div class="five columns push-seven">'+
'<input id="'+str_nic_tab_id+'_search" type="text" placeholder="Search"/>'+
'<input id="'+str_nic_tab_id+'_search" type="text" placeholder="'+tr("Search")+'"/>'+
'</div>'+
'</div>'+
'<table id="'+str_datatable_id+'" class="datatable twelve">'+
@ -1144,7 +1133,7 @@ function generate_nic_tab_content(str_nic_tab_id, str_datatable_id){
'<br>'+
'<div class="vm_param kvm_opt xen_opt vmware_opt">'+
'<span id="select_network" class="radius secondary label">'+tr("Please select an network from the list")+'</span>'+
'<span id="network_selected" class="radius secondary label hidden">You selected the following image: '+
'<span id="network_selected" class="radius secondary label hidden">'+tr("You selected the following image:")+
'</span>'+
'<span class="radius label" type="text" id="NETWORK" name="network"></span>'+
'<input type="hidden" id="NETWORK_ID" name="network_id" size="2"/>'+
@ -1213,10 +1202,10 @@ function generate_nic_tab_content(str_nic_tab_id, str_datatable_id){
'<legend>'+tr("UDP Firewall")+'</legend>'+
'<div class="row">'+
'<div class="four columns push-two">'+
'<input type="radio" name="udp_type" id="udp_type" value="WHITE_PORTS_UDP"> Whitelist '+
'<input type="radio" name="udp_type" id="udp_type" value="WHITE_PORTS_UDP"> '+tr("Whitelist")+
'</div>'+
'<div class="four columns pull-two">'+
'<input type="radio" name="udp_type" id="udp_type" value="BLACK_PORTS_UDP"> Blacklist'+
'<input type="radio" name="udp_type" id="udp_type" value="BLACK_PORTS_UDP"> '+tr("Blacklist")+
'</div>'+
'</div>'+
'<br>'+
@ -1632,13 +1621,13 @@ function setupCreateTemplateDialog(){
var add_disks_tab = function() {
var html_tab_content = '<li id="storageTab" class="wizard_tab">'+
'<dl class="tabs" id="template_create_storage_tabs">'+
'<dt><button type="button" class="button tiny radius" id="tf_btn_disks"><span class="icon-plus"></span> Add another disk</button></dt>'+
'<dt><button type="button" class="button tiny radius" id="tf_btn_disks"><span class="icon-plus"></span>'+tr("Add another disk")+'</button></dt>'+
'</dl>'+
'<ul class="tabs-content" id="template_create_storage_tabs_content">'+
'</ul>'+
'</li>';
$("<dd><a href='#storage'>Storage</a></dd>").appendTo($("dl#template_create_tabs"));
$("<dd><a href='#storage'>"+tr("Storage")+"</a></dd>").appendTo($("dl#template_create_tabs"));
$(html_tab_content).appendTo($("ul#template_create_tabs_content"));
@ -1677,7 +1666,7 @@ function setupCreateTemplateDialog(){
$(html_tab_content).appendTo($("ul#template_create_storage_tabs_content"));
var a = $("<dd>\
<a href='#"+str_disk_tab_id+"'>DISK <i class='icon-remove-sign remove-tab'></i></a>\
<a href='#"+str_disk_tab_id+"'>"+tr("DISK")+" <i class='icon-remove-sign remove-tab'></i></a>\
</dd>").appendTo($("dl#template_create_storage_tabs"));
$(document).foundationTabs("set_tab", a);
@ -1701,13 +1690,13 @@ function setupCreateTemplateDialog(){
var add_nics_tab = function() {
var html_tab_content = '<li id="networkTab" class="wizard_tab">'+
'<dl class="tabs" id="template_create_network_tabs">'+
'<dt><button type="button" class="button tiny radius" id="tf_btn_nics"><span class="icon-plus"></span> Add another nic</button></dt>'+
'<dt><button type="button" class="button tiny radius" id="tf_btn_nics"><span class="icon-plus"></span> '+tr("Add another nic")+'</button></dt>'+
'</dl>'+
'<ul class="tabs-content" id="template_create_network_tabs_content">'+
'</ul>'+
'</li>';
$("<dd><a href='#network'>Network</a></dd>").appendTo($("dl#template_create_tabs"));
$("<dd><a href='#network'>"+tr("Network")+"</a></dd>").appendTo($("dl#template_create_tabs"));
$(html_tab_content).appendTo($("ul#template_create_tabs_content"));
// close icon: removing the tab on click
@ -1743,7 +1732,7 @@ function setupCreateTemplateDialog(){
'</li>'
// Append the new div containing the tab and add the tab to the list
var a = $("<dd><a href='#"+str_nic_tab_id+"'>NIC <i class='icon-remove-sign remove-tab'></i></a></dd>").appendTo($("dl#template_create_network_tabs"));
var a = $("<dd><a href='#"+str_nic_tab_id+"'>"+tr("NIC")+" <i class='icon-remove-sign remove-tab'></i></a></dd>").appendTo($("dl#template_create_network_tabs"));
$(html_tab_content).appendTo($("ul#template_create_network_tabs_content"));
@ -1847,17 +1836,17 @@ function setupCreateTemplateDialog(){
'<li id="kernelTab" class="wizard_internal_tab">'+
'<div class="row">'+
'<div class="three columns push-three">'+
'<input id="radioKernelDs" type="radio" name="kernel_type" value="kernel_ds" checked> Registered Image'+
'<input id="radioKernelDs" type="radio" name="kernel_type" value="kernel_ds" checked> '+tr("Registered Image")+
'</div>'+
'<div class="three columns pull-three">'+
'<input id="radioKernelPath" type="radio" name="kernel_type" value="kernel_path"> Remote PATH'+
'<input id="radioKernelPath" type="radio" name="kernel_type" value="kernel_path"> '+tr("Remote PATH")+
'</div>'+
'</div>'+
'<hr>'+
'<div class="row kernel_ds">'+
'<div class="row collapse ">'+
'<div class="five columns push-seven">'+
'<input id="kernel_search" type="text" placeholder="Search"/>'+
'<input id="kernel_search" type="text" placeholder="'+tr("Search")+'"/>'+
'</div>'+
'</div>'+
'<table id="datatable_kernel" class="datatable twelve">'+
@ -1883,7 +1872,7 @@ function setupCreateTemplateDialog(){
'</table>'+
'<div id="kernel_ds_inputs" class="vm_param kvm_opt xen_opt vmware_opt">'+
'<span id="select_image" class="radius secondary label">'+tr("Please select a Kernel from the list")+'</span>'+
'<span id="image_selected" class="radius secondary label hidden">You selected the following Kernel: '+
'<span id="image_selected" class="radius secondary label hidden">'+tr("You selected the following Kernel: ")+
'</span>'+
'<span class="radius label" type="text" id="KERNEL" name="kernel""></span>'+
'<input type="hidden" id="KERNEL_DS" name="kernel_ds" s size="2"/>'+
@ -1904,17 +1893,17 @@ function setupCreateTemplateDialog(){
'<li id="ramdiskTab" class="wizard_internal_tab">'+
'<div class="row">'+
'<div class="three columns push-three">'+
'<input id="radioInintrdDs" type="radio" name="initrd_type" value="initrd_ds" checked> Registered Image '+
'<input id="radioInintrdDs" type="radio" name="initrd_type" value="initrd_ds" checked> '+tr("Registered Image ") +
'</div>'+
'<div class="three columns pull-three">'+
'<input id="radioInitrdPath" type="radio" name="initrd_type" value="initrd_path"> Remote PATH'+
'<input id="radioInitrdPath" type="radio" name="initrd_type" value="initrd_path"> '+tr("Remote PATH")+
'</div>'+
'</div>'+
'<hr>'+
'<div class="row initrd_ds">'+
'<div class="row collapse ">'+
'<div class="five columns push-seven">'+
'<input id="initrd_search" type="text" placeholder="Search"/>'+
'<input id="initrd_search" type="text" placeholder="'+tr("Search")+'"/>'+
'</div>'+
'</div>'+
'<table id="datatable_initrd" class="datatable twelve">'+
@ -1940,7 +1929,7 @@ function setupCreateTemplateDialog(){
'</table>'+
'<div class="vm_param kvm_opt xen_opt vmware_opt">'+
'<span id="select_image" class="radius secondary label">'+tr("Please select a Ramdisk from the list")+'</span>'+
'<span id="image_selected" class="radius secondary label hidden">You selected the following Ramdisk: '+
'<span id="image_selected" class="radius secondary label hidden">'+tr("You selected the following Ramdisk: ")+
'</span>'+
'<span class="radius label" type="text" id="INITRD" name="initrd"></span>'+
'<input type="hidden"id="INITRD_DS" name="initrd_id" size="2"/>'+
@ -2368,7 +2357,7 @@ function setupCreateTemplateDialog(){
'<li class="wizard_internal_tab vm_param" id="filesTab">'+
'<div class="row collapse ">'+
'<div class="five columns push-seven">'+
'<input id="files_search" type="text" placeholder="Search"/>'+
'<input id="files_search" type="text" placeholder="'+tr("Search")+'"/>'+
'</div>'+
'</div>'+
'<table id="datatable_context" class="datatable twelve">'+
@ -2394,7 +2383,7 @@ function setupCreateTemplateDialog(){
'</table>'+
'<div class="vm_param kvm_opt xen_opt vmware_opt row" id="selected_files_spans">'+
'<span id="select_files" class="radius secondary label">'+tr("Please select files from the list")+'</span> '+
'<span id="files_selected" class="radius secondary label hidden">You selected the following files:</span> '+
'<span id="files_selected" class="radius secondary label hidden">'+tr("You selected the following files:")+'</span> '+
'<input type="hidden" id="FILES_DS" name="files_ds" size="2"/>'+
'</div>'+
'</li>'+
@ -2608,17 +2597,17 @@ function setupCreateTemplateDialog(){
'<li class="requirements wizard_internal_tab active" id="placementTab">'+
'<div class="row">'+
'<div class="three columns push-three">'+
'<input type="radio" id="hosts_req" name="req_select" value="host_select" checked> Select Hosts '+
'<input type="radio" id="hosts_req" name="req_select" value="host_select" checked> '+tr("Select Hosts ")+
'</div>'+
'<div class="three columns pull-three">'+
'<input type="radio" id="clusters_req" name="req_select" value="cluster_select"> Select Clusters '+
'<input type="radio" id="clusters_req" name="req_select" value="cluster_select"> '+tr("Select Clusters ")+
'</div>'+
'</div>'+
'<hr>'+
'<div id="req_type" class="host_select row">'+
'<div class="row collapse ">'+
'<div class="five columns push-seven">'+
'<input id="hosts_search" type="text" placeholder="Search"/>'+
'<input id="hosts_search" type="text" placeholder="'+tr("Search")+'"/>'+
'</div>'+
'</div>'+
'<table id="datatable_template_hosts" class="datatable twelve">'+
@ -2645,14 +2634,14 @@ function setupCreateTemplateDialog(){
'<br>'+
'<div class="kvm_opt xen_opt vmware_opt" id="selected_hosts_template">'+
'<span id="select_hosts" class="radius secondary label">'+tr("Please select one or more hosts from the list")+'</span> '+
'<span id="hosts_selected" class="radius secondary label hidden">You selected the following hosts:</span> '+
'<span id="hosts_selected" class="radius secondary label hidden">'+tr("You selected the following hosts:")+'</span> '+
'</div>'+
'<br>'+
'</div>'+
'<div id="req_type" class="cluster_select hidden row">'+
'<div class="row collapse ">'+
'<div class="five columns push-seven">'+
'<input id="clusters_search" type="text" placeholder="Search"/>'+
'<input id="clusters_search" type="text" placeholder="'+tr("Search")+'"/>'+
'</div>'+
'</div>'+
'<table id="datatable_template_clusters" class="datatable twelve">'+
@ -2672,7 +2661,7 @@ function setupCreateTemplateDialog(){
'<br>'+
'<div class="kvm_opt xen_opt vmware_opt" id="selected_clusters_template">'+
'<span id="select_clusters" class="radius secondary label">'+tr("Please select one or more clusters from the list")+'</span> '+
'<span id="clusters_selected" class="radius secondary label hidden">You selected the following clusters:</span> '+
'<span id="clusters_selected" class="radius secondary label hidden">'+tr("You selected the following clusters:")+'</span> '+
'</div>'+
'<br>'+
'</div>'+
@ -2692,19 +2681,19 @@ function setupCreateTemplateDialog(){
'<li id="policyTab" class="wizard_internal_tab">'+
'<div class="row">'+
'<div class="two columns push-two">'+
'<input type="radio" id="packingRadio" name="rank_select" value="RUNNING_VMS"> Packing '+
'<input type="radio" id="packingRadio" name="rank_select" value="RUNNING_VMS"> '+tr("Packing")+
'</div>'+
'<div class="one columns push-two">'+
'<div class="tip">'+tr("Pack the VMs in the cluster nodes to reduce VM fragmentation")+'</div>'+
'</div>'+
'<div class="two columns push-two">'+
'<input type="radio" id="stripingRadio" name="rank_select" value="-RUNNING_VMS"> Stripping '+
'<input type="radio" id="stripingRadio" name="rank_select" value="-RUNNING_VMS"> '+tr("Stripping")+
'</div>'+
'<div class="one columns push-two">'+
'<div class="tip">'+tr("Spread the VMs in the cluster nodes")+'</div>'+
'</div>'+
'<div class="two columns push-two">'+
'<input type="radio" id="loadawareRadio" name="rank_select" value="FREECPU"> Load-aware'+
'<input type="radio" id="loadawareRadio" name="rank_select" value="FREECPU"> '+tr("Load-aware")+
'</div>'+
'<div class="two columns">'+
'<div class="tip">'+tr("Maximize the resources available to VMs in a node")+'</div>'+

View File

@ -64,7 +64,7 @@ var users_tab_content = '\
</div>\
</div>\
<div class="three columns">\
<input id="user_search" type="text" placeholder="Search" />\
<input id="user_search" type="text" placeholder="'+tr("Search")+'" />\
</div>\
<br>\
<br>\

View File

@ -61,7 +61,7 @@ var vms_tab_content = '\
</div>\
</div>\
<div class="three columns">\
<input id="vms_search" type="text" placeholder="Search" />\
<input id="vms_search" type="text" placeholder="'+tr("Search")+'" />\
</div>\
</div>\
</div>\
@ -1820,8 +1820,8 @@ function printDisks(vm_info){
( //
disk.SAVE_AS_ACTIVE == "YES")
) {
save_as = "in progress";
actions = 'deferred snapshot in progress'
save_as = tr("in progress");
actions = tr('deferred snapshot in progress');
}
// Snapshot Hot
else if (
@ -1833,7 +1833,7 @@ function printDisks(vm_info){
disk.HOTPLUG_SAVE_AS_ACTIVE == "YES")
) {
save_as = (disk.SAVE_AS ? disk.SAVE_AS : '-');
actions = 'hot snapshot in progress'
actions = tr('hot snapshot in progress');
}
// Attach / Detach
else if (
@ -1845,7 +1845,7 @@ function printDisks(vm_info){
disk.ATTACH = "YES")
) {
save_as = (disk.SAVE_AS ? disk.SAVE_AS : '-');
actions = 'attach/detach in progress'
actions = tr('attach/detach in progress');
}
else {
save_as = (disk.SAVE_AS ? disk.SAVE_AS : '-');
@ -1937,9 +1937,9 @@ function setupSaveAsDialog(){
</select>\
</div>\
<div class="one columns">\
<div class="tip">Sets the specified VM disk to be saved in a new Image.<br><br>\
Deferred: The Image is created immediately, but the contents are saved only if the VM is shut down gracefully (i.e., using Shutdown or Cancel; not Delete)<br><br>\
Life: The Image will be saved immediately.</div>\
<div class="tip">'+tr("Sets the specified VM disk to be saved in a new Image.")+'<br><br>\
'+tr("Deferred: The Image is created immediately, but the contents are saved only if the VM is shut down gracefully (i.e., using Shutdown or Cancel; not Delete)")+'<br><br>\
'+tr("Hot: The Image will be saved immediately.")+'</div>\
</div>\
</div>\
<hr>\
@ -1959,7 +1959,7 @@ function setupSaveAsDialog(){
var snapshot_type = $('#snapshot_type', this).val();
if (!image_name.length){
notifyError('Please provide a name for the new image');
notifyError(tr('Please provide a name for the new image'));
return false;
}

View File

@ -40,7 +40,7 @@ var vnets_tab_content = '\
</div>\
</div>\
<div class="three columns">\
<input id="vnet_search" type="text" placeholder="Search" />\
<input id="vnet_search" type="text" placeholder="'+tr("Search")+'" />\
</div>\
</div>\
</div>\
@ -63,12 +63,6 @@ var vnets_tab_content = '\
<tbody id="tbodyvnetworks">\
</tbody>\
</table>\
<div class="legend_div">\
<span>?</span>\
<p class="legend_p">\
'+tr("Tip: edit the leases of a network by clicking on one and going to the lease management tab.")+'\
</p>\
</div>\
</form>';
var create_vn_tmpl =