Show name of album as page heading.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 22 Mar 2011 20:00:54 +0000 (21:00 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 22 Mar 2011 20:00:54 +0000 (21:00 +0100)
src/main/resources/i18n/sone.en.properties
src/main/resources/templates/imageBrowser.html

index e599ea3..d559b6b 100644 (file)
@@ -158,6 +158,7 @@ Page.UnfollowSone.Title=Unfollow Sone - Sone
 
 Page.ImageBrowser.Title=Image Browser - Sone
 Page.ImageBrowser.Page.Title=Image Browser
+Page.ImageBrowser.Album.Title=Album “{album}”
 Page.ImageBrowser.Album.Error.NotFound.Text=The requested album could not be found. It is possible that it has not yet been downloaded, or that it has been deleted.
 Page.ImageBrowser.Sone.Error.NotFound.Text=The requested Sone could not be found. It is possible that it has not yet been downloaded.
 Page.ImageBrowser.CreateAlbum.Button.CreateAlbum=Create Album
index b1d9997..d48cfa1 100644 (file)
@@ -16,7 +16,7 @@
 
                <%else>
 
-                       <h2><% album.name|html></h2>
+                       <h2><%= Page.ImageBrowser.Album.Title|l10n|replace needle='{album}' replacementKey=album.name|html></h2>
 
                        <div class="backlinks">
                                <%foreach album.backlinks backlink backlinks>