Cluster Actions tab localization

Change-Id: I382e0ecbe69b63179c168f4bbca1ced20ac326ce
Implements: blueprint ui-localization-cluster-actions
This commit is contained in:
Ivan Kolodyazhny 2013-11-06 17:23:25 +02:00
parent d739b57730
commit 843153c5fb
2 changed files with 13 additions and 6 deletions

View File

@ -65,6 +65,14 @@
"bt_load_defaults": "Load Defaults",
"bt_cancel_changes": "Cancel Changes",
"bt_save_settings": "Save Settings"
},
"actions_tab": {
"title": "Actions",
"rename_environment": "Rename Environment",
"delete_environment": "Delete Environment",
"bt_rename": "Rename",
"bt_delete": "Delete",
"alert_delete": "Clean up each node and return it to the pool of unallocated nodes."
}
},
"capacity_page": {

View File

@ -1,12 +1,12 @@
<div class="wrapper">
<h3 class="span12" data-i18n="cluster_page.actions_tab.title">Actions</h3>
<h3 class="span12" data-i18n="cluster_page.actions_tab.title"></h3>
<div class="row-fluid">
<div class="span6 action-item-placeholder">
<form class="rename-cluster-form" onsubmit="return false">
<h4 data-i18n="cluster_page.actions_tab.rename_environment">Rename Environment</h4>
<h4 data-i18n="cluster_page.actions_tab.rename_environment"></h4>
<div class="action-item-controls">
<input type="text" class="input-xlarge" maxlength="50" value="<%- cluster.get('name') %>">
<button class="btn btn-success apply-name-btn" style="margin-top: -10px;"><span data-i18n="cluster_page.actions_tab.bt_rename">Rename</span></button>
<button class="btn btn-success apply-name-btn" style="margin-top: -10px;"><span data-i18n="cluster_page.actions_tab.bt_rename"></span></button>
</div>
<div class="action-item-description">
<div class="alert alert-error hide"></div>
@ -15,12 +15,11 @@
</div>
<div class="span6 action-item-placeholder">
<form class="delete-cluster-form" onsubmit="return false">
<h4 data-i18n="cluster_page.actions_tab.delete_environment">Delete Environment</h4>
<h4 data-i18n="cluster_page.actions_tab.delete_environment"></h4>
<div class="action-item-description important" data-i18n="cluster_page.actions_tab.alert_delete">
Clean up each node and return it to the pool of unallocated nodes.
</div>
<div class="action-item-controls">
<button class="btn btn-danger delete-cluster-btn" data-i18n="cluster_page.actions_tab.bt_delete">Delete</button>
<button class="btn btn-danger delete-cluster-btn" data-i18n="cluster_page.actions_tab.bt_delete"></button>
</div>
</form>
</div>