From b805e75765d259e56c9749a9c2434123711163ef Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 14 May 2009 16:09:09 +0000 Subject: [PATCH] Refactor the gallery album i18n so translators don't have to translate URLs when not needed. --- lib/WebGUI/Asset/Wobject/GalleryAlbum.pm | 4 ++-- lib/WebGUI/i18n/English/Asset_GalleryAlbum.pm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/WebGUI/Asset/Wobject/GalleryAlbum.pm b/lib/WebGUI/Asset/Wobject/GalleryAlbum.pm index 136342744..bb5ee0f5c 100644 --- a/lib/WebGUI/Asset/Wobject/GalleryAlbum.pm +++ b/lib/WebGUI/Asset/Wobject/GalleryAlbum.pm @@ -1335,8 +1335,8 @@ sub www_showConfirmation { my $output = '

' . sprintf( $i18n->get('save message'), $self->getUrl ) . '

' . '

' . $i18n->get('what next') . '

' . '' ; diff --git a/lib/WebGUI/i18n/English/Asset_GalleryAlbum.pm b/lib/WebGUI/i18n/English/Asset_GalleryAlbum.pm index 2a18a8604..fed27ccc7 100644 --- a/lib/WebGUI/i18n/English/Asset_GalleryAlbum.pm +++ b/lib/WebGUI/i18n/English/Asset_GalleryAlbum.pm @@ -29,12 +29,12 @@ our $I18N = { }, 'add photo' => { - message => '
  • Add Photo
  • ', + message => 'Add Photo', lastUpdated => 0, }, 'return to album' => { - message => '
  • Return to Album
  • ', + message => 'Return to Album', lastUpdated => 0, },