Fix titles for disks/interfaces configuration screens

Change-Id: Id9b87fdce7e12eee44e1b11d9391804bfa3aadad
Closes-Bug: 1249328
This commit is contained in:
Vitaly Kramskikh 2013-11-15 15:29:40 +04:00
parent 8157d5f8b3
commit 24b5c2be0a
3 changed files with 13 additions and 13 deletions

View File

@ -100,6 +100,14 @@
}, },
"cluster_page": { "cluster_page": {
"nodes_tab": { "nodes_tab": {
"configure_interfaces": {
"title": "Configure interfaces on __name__",
"title_plural": "Configure interfaces on __count__ nodes"
},
"configure_disks": {
"title": "Configure disks on __name__",
"title_plural": "Configure disks on __count__ nodes"
},
"back_to_nodes_button": "Back To Node List", "back_to_nodes_button": "Back To Node List",
"discovered": "Discovered", "discovered": "Discovered",
"offline": "Offline", "offline": "Offline",
@ -118,17 +126,7 @@
"unallocated_nodes": "Unallocated Nodes", "unallocated_nodes": "Unallocated Nodes",
"disk_information": "Disk Information", "disk_information": "Disk Information",
"volume_groups": "Volume Groups", "volume_groups": "Volume Groups",
"use_all_allowed_space": "Use All Allowed Space", "use_all_allowed_space": "Use All Allowed Space"
"configure_interfaces": {
"configure_interfaces_on_node": "Configure interfaces on __count__ node",
"configure_interfaces_on_node_plural": "Configure interfaces on __count__ nodes"
},
"configure_disks": "Configure disks on __count__ node",
"configure_disks_plural": "Configure disks on __count__ nodes",
"return_button": "Back To Node List",
"load_defaults_button": "Load Defaults",
"cancel_changes_button": "Cancel Changes",
"apply_button": "Apply"
}, },
"settings_tab": { "settings_tab": {
"title": "OpenStack Settings" "title": "OpenStack Settings"

View File

@ -1,6 +1,6 @@
<div class="edit-node-disks wrapper"> <div class="edit-node-disks wrapper">
<h3 class="span12"> <h3 class="span12">
<%- $.t('cluster_page.nodes_tab.edit_node_disks.configure_disks', {count: nodes.length}) %> <%- $.t('cluster_page.nodes_tab.configure_disks.title', {count: nodes.length, name: nodes.length && nodes.at(0).get('name')}) %>
</h3> </h3>
<div class="row node-disks"> <div class="row node-disks">

View File

@ -1,5 +1,7 @@
<div class="edit-node-interfaces wrapper <%= locked ? 'changes-locked' : '' %>"> <div class="edit-node-interfaces wrapper <%= locked ? 'changes-locked' : '' %>">
<h3 class="span12"> <%- $.t('cluster_page.nodes_tab.configure_interfaces.configure_interfaces_on_node', {count: nodes.length}) %></h3> <h3 class="span12">
<%- $.t('cluster_page.nodes_tab.configure_interfaces.title', {count: nodes.length, name: nodes.length && nodes.at(0).get('name')}) %>
</h3>
<div class="row node-networks"> <div class="row node-networks">
<div class="span4"></div> <div class="span4"></div>