Fixed missing Gallery i18n, and some Dashboard i18n.

This commit is contained in:
Colin Kuskie 2008-12-29 20:08:51 +00:00
parent 47eb1998dd
commit 78cd604176
24 changed files with 64 additions and 12 deletions

View file

@ -14,6 +14,7 @@
- fixed #9349: CS archival broken after update (Bernd Kalbfuß-Zimmermann)
- fixed Display of Interval form control in Thingy and User profiling did not show units, only seconds.
- fixed #9374: Subscription Asset: Redeem subscription template not documented, or user selectable
- fixed #9366: Gallery: Missing i18n
7.6.7
- fixed #9263: Thingy possibleValues processing, and List type autodetection.

View file

@ -141,10 +141,11 @@ sub appendTemplateVarsCommentForm {
value => $comment->{ bodyText },
});
my $i18n = WebGUI::International->new($session, 'Asset_Photo');
$var->{ commentForm_submit }
= WebGUI::Form::submit( $session, {
name => "submit",
value => "Save Comment",
value => $i18n->get('form comment save comment'),
});
return $var;

View file

@ -881,6 +881,8 @@ sub www_addArchive {
my $form = $self->session->form;
my $var = $self->getTemplateVars;
my $i18n = WebGUI::International->new($session);
$var->{ error } = $params->{ error };
$var->{ form_start }
@ -893,7 +895,7 @@ sub www_addArchive {
$var->{ form_submit }
= WebGUI::Form::submit( $session, {
name => "submit",
value => "Submit",
value => $i18n->get("submit",'WebGUI'),
});
$var->{ form_archive }

View file

@ -671,11 +671,17 @@ our $I18N = {
},
'template listFilesForUser albums title' => {
message => q{Albums},
lastUpdated => 0,
message => q{My Albums},
lastUpdated => 1230576660,
context => q{Title for list of user's Albums},
},
'template listFilesForUser pictures title' => {
message => q{My Pictures},
lastUpdated => 1230576660,
context => q{Title for list of user's Pictures},
},
'template listFilesForUser albums files' => {
message => q{files},
lastUpdated => 0,

View file

@ -366,15 +366,15 @@ our $I18N = {
},
'template add' => {
message => "Add",
lastUpdated => 0,
context => 'Verb shown in title when adding a new Album',
message => "Add Album",
lastUpdated => 1230581051,
context => 'To add a new album',
},
'template edit' => {
message => "Edit",
lastUpdated => 0,
context => 'Verb shown in title when editing an existing Album',
message => "Edit Album",
lastUpdated => 1230581053,
context => 'To edit an existing album',
},
'template assetName' => {
@ -562,6 +562,12 @@ our $I18N = {
context => q{Description of asset property to allow people besides the owner to add files to the album},
},
'template use as thumbnail' => {
message => q{Use as Album Thumbnail},
lastUpdated => 0,
context => q{template label in the Edit Album template. To pick a thumbnail to use to represent the Album.},
},
};
1;

View file

@ -312,7 +312,31 @@ our $I18N = {
lastUpdated => 0,
context => 'The title of the default view of Photo assets',
},
'template view details' => {
message => 'Details',
lastUpdated => 0,
context => 'List of information about the photo',
},
'more details' => {
message => 'More Details',
lastUpdated => 0,
context => 'List of more information about the photo',
},
'hide' => {
message => 'Hide',
lastUpdated => 0,
context => 'To make hidden',
},
'template view available resolutions' => {
message => 'Available Resolutions',
lastUpdated => 0,
context => 'List of resolutions, in pixels, that this photo is available in',
},
'template url_edit' => {
message => 'Edit Photo',
lastUpdated => 0,
@ -510,7 +534,7 @@ our $I18N = {
lastUpdated => 0,
context => q{Error message for Photo comments},
},
'helpvar keywords' => {
message => q{A loop over the keywords associated with this photo},
lastUpdated => 0,
@ -667,6 +691,18 @@ our $I18N = {
context => q{Title for the edit comment screen.},
},
'template comment edit comment' => {
message => q{Edit Comment},
lastUpdated => 0,
context => q{Title for the edit comment screen.},
},
'form comment save comment' => {
message => q{Save Comment.},
lastUpdated => 0,
context => q{Title for the edit comment screen.},
},
};
1;