Added internationalisations in Gallery.pm "Return to Album" and "Add Photo"

This commit is contained in:
Arjan Widlak 2009-05-14 14:52:54 +00:00
parent f1ea8acdaf
commit bdfe3b545a
3 changed files with 16 additions and 2 deletions

View file

@ -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>'
;