From 411f17fd14972dffc24980d5f7860685ffbb99ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 22 Mar 2011 21:00:54 +0100 Subject: [PATCH] Show name of album as page heading. --- src/main/resources/i18n/sone.en.properties | 1 + src/main/resources/templates/imageBrowser.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index e599ea3..d559b6b 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -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 diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index b1d9997..d48cfa1 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -16,7 +16,7 @@ <%else> -

<% album.name|html>

+

<%= Page.ImageBrowser.Album.Title|l10n|replace needle='{album}' replacementKey=album.name|html>