From 239d87d61eaf15bb7a05f806feb381fac2f32d69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 31 Jul 2015 17:07:49 +0200 Subject: [PATCH] Use l10n property for album permalink --- src/main/resources/i18n/sone.en.properties | 3 ++- src/main/resources/templates/include/viewAlbum.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index 1793b09..3f54c1b 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -371,6 +371,7 @@ View.Post.NotDownloaded=This post has not yet been downloaded, or it has been de View.Post.ShowMore=show more View.Post.ShowLess=show less +View.Album.Permalink=link album View.Album.SizeAndAuthor={1,number} {1,choice,0#images|1#image|1
- +
<% =View.Album.SizeAndAuthor|l10n 0=album.sone.niceName 1=album.images.size|html|replace needle=="[link]" replacement==''|replace needle=='[/link]' replacement==''|replace needle=='' replacement=album.sone.id>
<% album.description|parse sone=album.sone|render>
-- 2.7.4