From: David ‘Bombe’ Roden Date: Tue, 22 Mar 2011 20:00:54 +0000 (+0100) Subject: Show name of album as page heading. X-Git-Tag: beta-freefall-0.6.2-1~89 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=411f17fd14972dffc24980d5f7860685ffbb99ff;p=Sone.git Show name of album as page heading. --- 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>