Fixed missing Gallery i18n, and some Dashboard i18n.
This commit is contained in:
parent
47eb1998dd
commit
78cd604176
24 changed files with 64 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 }
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue