Add a few more missing localization labels

reviewed-by: jessica
This commit is contained in:
Brian Federle 2012-02-17 14:12:49 -08:00
parent d9ba8feb31
commit 7fb09673fb
6 changed files with 33 additions and 12 deletions

View File

@ -1,4 +1,11 @@
#new labels (begin) **********************************************************************************************
message.add.load.balancer.under.ip=The load balancer rule has been added under IP:
message.select.instance=Please select an instance.
label.select=Select
label.select.vm.for.static.nat=Select VM for static NAT
label.select.instance=Select instance
label.nat.port.range=NAT Port Range
label.static.nat.vm.details=Static NAT VM Details
label.edit.lb.rule=Edit LB rule
message.migrate.instance.to.host=Please confirm that you want to migrate instance to another host.
label.migrate.instance.to.host=Migrate instance to another host

View File

@ -1,4 +1,11 @@
#new labels (begin) **********************************************************************************************
message.add.load.balancer.under.ip=ロードバランサのルールは、IPの下に追加されました。
message.select.instance=インスタンスを選択してください。
label.select=選択する
label.select.vm.for.static.nat=スタティックNATのためにVMを選択します。
label.select.instance=インスタンスを選択します。
label.nat.port.range=NATのポート範囲
label.static.nat.vm.details=スタティックNAT仮想マシンの詳細
label.edit.lb.rule=LBルールを編集する
message.migrate.instance.to.host=別のホストにインスタンスを移行することを確認してください。
label.migrate.instance.to.host=別のホストにインスタンスを移行する
@ -432,7 +439,7 @@ message.desc.secondary.storage=Each zone must have at lease one NFS or secondary
label.launch.zone=Launch zone
message.please.wait.while.zone.is.being.created=Please wait while your zone is being created; this may take a while...
label.load.balancing=Load Balancing
label.load.balancing=ロード·バランシング;
label.static.nat.enabled=Static NAT Enabled
label.zones=Zones
label.view.more=View more

View File

@ -1614,6 +1614,13 @@
<script language="javascript">
dictionary = {
'message.add.load.balancer.under.ip': '<fmt:message key="message.add.load.balancer.under.ip"/>',
'message.select.instance': '<fmt:message key="message.select.instance"/>',
'label.select': '<fmt:message key="label.select"/>',
'label.select.vm.for.static.nat': '<fmt:message key="label.select.vm.for.static.nat"/>',
'label.select.instance': '<fmt:message key="label.select.instance"/>',
'label.nat.port.range': '<fmt:message key="label.nat.port.range"/>',
'label.static.nat.vm.details': '<fmt:message key="label.static.nat.vm.details"/>',
'label.edit.lb.rule': '<fmt:message key="label.edit.lb.rule"/>',
'message.migrate.instance.to.host': '<fmt:message key="message.migrate.instance.to.host"/>',
'label.migrate.instance.to.host': '<fmt:message key="label.migrate.instance.to.host"/>',

View File

@ -805,7 +805,7 @@
jobId: jobID
},
notification: {
label: 'Add load balancer rule',
label: 'label.add.load.balancer',
poll: function(args) {
var complete = args.complete;
var error = args.error;
@ -819,7 +819,7 @@
lbCreationComplete = true;
cloudStack.dialog.notice({
message: "The load balancer rule has been added under IP " +
message: _l('message.add.load.balancer.under.ip') +
args.data.loadbalancer.publicip
});
@ -1312,7 +1312,7 @@
},
tabs: {
details: {
title: 'Details',
title: 'label.details',
fields: [
{
ipaddress: { label: 'IP' }

View File

@ -18,7 +18,7 @@
instances.listView.actions = {
select: {
label: 'Select instance',
label: _l('label.select.instance'),
type: 'radio',
action: {
uiCustom: function(args) {
@ -42,7 +42,7 @@
$listView = $('<div>').listView(instances);
// Change action label
$listView.find('th.actions').html('Select');
$listView.find('th.actions').html(_l('label.select'));
return $listView;
};
@ -52,16 +52,16 @@
}).dialog({
dialogClass: 'multi-edit-add-list panel',
width: 825,
title: 'Select VM for Static NAT',
title: _l('label.select.vm.for.static.nat'),
buttons: [
{
text: 'Apply',
text: _l('label.apply'),
'class': 'ok',
click: function() {
if (!$dataList.find(
'input[type=radio]:checked, input[type=checkbox]:checked'
).size()) {
cloudStack.dialog.notice({ message: 'Please select an instance '});
cloudStack.dialog.notice({ message: _l('message.select.instance')});
return false;
}
@ -95,7 +95,7 @@
}
},
{
text: 'Cancel',
text: _l('label.cancel'),
'class': 'cancel',
click: function() {
$dataList.fadeOut(function() {

View File

@ -62,7 +62,7 @@
$vmName.click(function() {
$browser.cloudBrowser('addPanel', {
title: 'Static NAT VM Details',
title: _l('label.static.nat.vm.details'),
complete: function($newPanel) {
vmDataProvider({
context: context,
@ -94,7 +94,7 @@
if(includingFirewall == true) {
$chart.find('li.firewall .view-details').click(function() {
makeMultiEditPanel($(this), { title: 'NAT Port Range'});
makeMultiEditPanel($(this), { title: _l('label.nat.port.range')});
});
}
else {