WIP: Install wizard localization

This commit is contained in:
Brian Federle 2012-02-15 10:16:08 -08:00
parent 4b728abedb
commit 18bfc4090a
4 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,7 @@
label.installWizard.title=Hello and Welcome to CloudStack&#8482.
label.agree=Agree
label.license.agreement=License Agreement
label.license.agreement.subtitle=Please accept the CloudStack&#8482 EULA before installing.
label.manage.resources=Manage Resources
label.port.forwarding.policies=Port forwarding policies
label.load.balancing.policies=Load balancing policies

View File

@ -1,4 +1,7 @@
#cloudstack 3.0 (begin) ********************************************************************************************
label.installWizard.title=こんにちは、CloudStack&#8482 へようこそ。
label.agree=同意する
label.license.agreement=ライセンス契約
label.license.agreement.subtitle=インストールする前に、CloudStack&#8482 ライセンスに同意してください。
label.manage.resources=リソースを管理する
label.port.forwarding.policies=ポートフォワーディングのポリシー
label.load.balancing.policies=バランサポリシーをロードする

View File

@ -1592,6 +1592,10 @@
<script language="javascript">
dictionary = {
'label.installWizard.title': '<fmt:message key="label.installWizard.title"/>',
'label.agree': '<fmt:message key="label.agree"/>',
'label.license.agreement.subtitle': '<fmt:message key="label.license.agreement.subtitle"/>',
'label.license.agreement': '<fmt:message key="label.license.agreement"/>',
'label.port.forwarding.policies': '<fmt:message key="label.port.forwarding.policies"/>',
'label.load.balancing.policies': '<fmt:message key="label.load.balancing.policies"/>',
'label.networking.and.security': '<fmt:message key="label.networking.and.security"/>',

View File

@ -202,7 +202,7 @@
return $('<div></div>').addClass('header')
.append(
$.merge(
$('<h2></h2>').html('Hello and Welcome to CloudStack.'),
$('<h2></h2>').html(_l('label.installWizard.title')),
$('<h3></h3>').html('This tour will aid you in setting up your CloudStack installation')
)
);
@ -285,10 +285,10 @@
var steps = {
eula: function(args) {
var $intro = $('<div></div>').addClass('intro eula');
var $title = $('<div></div>').addClass('title').html('License Agreement');
var $subtitle = $('<div></div>').addClass('subtitle').html('Please accept the CloudStack&#8482 EULA before installing.');
var $title = $('<div></div>').addClass('title').html(_l('label.license.agreement'));
var $subtitle = $('<div></div>').addClass('subtitle').html(_l('label.license.agreement.subtitle'));
var $copy = getCopy('eula', $('<div></div>').addClass('eula-copy'));
var $continue = elems.nextButton('Agree');
var $continue = elems.nextButton(_l('label.agree'));
$continue.click(function() {
goTo('intro');