Added internationalisations in Gallery.pm "Return to Album" and "Add Photo"
This commit is contained in:
parent
f1ea8acdaf
commit
bdfe3b545a
3 changed files with 16 additions and 2 deletions
|
|
@ -1,4 +1,6 @@
|
|||
7.7.6
|
||||
- Added internationalisations in Gallery.pm "Return to Album" and "Add Photo"
|
||||
(Arjan Widlak / United Knowledge)
|
||||
- Reverted using the packed templates and snippets by default. You can re-enable the packed templates and snippets carefully.
|
||||
- Added support for template attachments; scripts and stylesheets that will
|
||||
be included using style->setScript and setLink instead of just using raw
|
||||
|
|
|
|||
|
|
@ -1335,7 +1335,8 @@ sub www_showConfirmation {
|
|||
my $output = '<p>' . sprintf( $i18n->get('save message'), $self->getUrl ) . '</p>'
|
||||
. '<p>' . $i18n->get('what next') . '</p>'
|
||||
. '<ul>'
|
||||
. sprintf( '<li><a href="%s">Add Photo</a></li>', $self->getUrl('func=add;class=WebGUI::Asset::File::GalleryFile::Photo') )
|
||||
. sprintf( $i18n->get('add photo'), $self->getUrl('func=add;class=WebGUI::Asset::File::GalleryFile::Photo') )
|
||||
. sprintf( $i18n->get('return to album'), $self->getUrl )
|
||||
. '</ul>'
|
||||
;
|
||||
|
||||
|
|
|
|||
|
|
@ -24,10 +24,21 @@ our $I18N = {
|
|||
},
|
||||
|
||||
'save message' => {
|
||||
message => 'Album settings saved. <a href="%s">Return to Album</a>',
|
||||
message => 'Album settings saved.',
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'add photo' => {
|
||||
message => '<li><a href="%s">Add Photo</a></li>',
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'return to album' => {
|
||||
message => '<li><a href="%s">Return to Album</a></li>',
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
|
||||
'delete message' => {
|
||||
message => 'Album has been deleted. <a href="%s">Return to Gallery</a>',
|
||||
lastUpdated => 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue