From: David ‘Bombe’ Roden Date: Wed, 19 Jan 2011 19:55:37 +0000 (+0100) Subject: Replace the “insert” filter with the “replace” filter. X-Git-Tag: 0.4.2^2~23 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=dc82d3f4b8c18521027a38a5c10ab705bca8371b;p=Sone.git Replace the “insert” filter with the “replace” filter. --- diff --git a/src/main/resources/templates/viewPost.html b/src/main/resources/templates/viewPost.html index a61f858..836bf62 100644 --- a/src/main/resources/templates/viewPost.html +++ b/src/main/resources/templates/viewPost.html @@ -8,7 +8,7 @@

<%= Page.ViewPost.Text.UnknownPost|l10n|html>

<%else> -

<%= Page.ViewPost.Page.Title|l10n|insert needle="{sone}" key=post.sone.niceName|html>

+

<%= Page.ViewPost.Page.Title|l10n|replace needle="{sone}" replacementKey=post.sone.niceName|html>

<%include include/viewPost.html> <%/if> diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index a54c2cb..fac920b 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -7,7 +7,7 @@

<%= Page.ViewSone.Page.TitleWithoutSone|l10n|html>

-

<%= Page.ViewSone.NoSone.Description|l10n|insert needle="{sone}" key=sone.id|html>

+

<%= Page.ViewSone.NoSone.Description|l10n|replace needle="{sone}" replacementKey=sone.id|html>

<%elseifnull sone.name> @@ -47,7 +47,7 @@ <%/if> -

<%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html>

+

<%= Page.ViewSone.PostList.Title|l10n|replace needle="{sone}" replacementKey=sone.niceName|html>

<%:getpage parameter=postPage>