more Content/Setup i18n

This commit is contained in:
Colin Kuskie 2008-08-28 19:38:18 +00:00
parent c59b48a3db
commit addc026387
2 changed files with 26 additions and 8 deletions

View file

@ -118,7 +118,7 @@ sub handler {
my $i18n = WebGUI::International->new($session, "WebGUI"); my $i18n = WebGUI::International->new($session, "WebGUI");
my ($output,$legend) = ""; my ($output,$legend) = "";
if ($session->form->process("step") eq "2") { if ($session->form->process("step") eq "2") {
$legend = 'Company Information'; $legend = $i18n->get('company information');
my $u = WebGUI::User->new($session,"3"); my $u = WebGUI::User->new($session,"3");
$u->username($session->form->process("username","text","Admin")); $u->username($session->form->process("username","text","Admin"));
$u->profileField("email",$session->form->email("email")); $u->profileField("email",$session->form->email("email"));
@ -200,7 +200,7 @@ sub handler {
$legend = $i18n->get("style designer"); $legend = $i18n->get("style designer");
$output .= ' $output .= '
<form method="post"> <form method="post">
<input type="submit" value="Save"> <input type="submit" value="'.$i18n->get('save').'">
<input type="hidden" name="step" value="6" /> <input type="hidden" name="step" value="6" />
<input type="hidden" name="logoUrl" value="'.$logoUrl.'" /> <input type="hidden" name="logoUrl" value="'.$logoUrl.'" />
<script type="text/javascript"> <script type="text/javascript">
@ -478,7 +478,7 @@ a:visited { color: '.$form->get("visitedLinkColor").'; }
return undef; return undef;
} }
else { else {
$legend = "Admin Acccount"; $legend = $i18n->get('admin account');
my $u = WebGUI::User->new($session,'3'); my $u = WebGUI::User->new($session,'3');
my $f = WebGUI::HTMLForm->new($session,action=>$session->url->gateway()); my $f = WebGUI::HTMLForm->new($session,action=>$session->url->gateway());
$f->hidden( -name=>"step", -value=>"2"); $f->hidden( -name=>"step", -value=>"2");

View file

@ -3019,11 +3019,11 @@ or are under your current version tag.</p>
context => q|Title of a tab in the global settings.| context => q|Title of a tab in the global settings.|
}, },
'company' => { 'company' => {
message => q|Company|, message => q|Company|,
lastUpdated =>1092930637, lastUpdated =>1092930637,
context => q|Title of a tab in the global settings.| context => q|Title of a tab in the global settings.|
}, },
'misc' => { 'misc' => {
message => q|Miscellaneous|, message => q|Miscellaneous|,
@ -3980,6 +3980,24 @@ LongTruncOk=1</p>
context => q{General purpose, similar to submit.}, context => q{General purpose, similar to submit.},
}, },
'save' => {
message => q{Save},
lastUpdated => 0,
context => q{General purpose, similar to submit.},
},
'company information' => {
message => q{Company Information},
lastUpdated => 0,
context => q{Title for the company information screen in the site starter.},
},
'admin account' => {
message => q{Admin Account},
lastUpdated => 0,
context => q{Title for the company information screen in the site starter.},
},
}; };
1; 1;