From: David ‘Bombe’ Roden Date: Fri, 31 Jul 2015 15:07:49 +0000 (+0200) Subject: Use l10n property for album permalink X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=239d87d61eaf15bb7a05f806feb381fac2f32d69;p=Sone.git Use l10n property for album permalink --- 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>