From da59d460d93e6d15af2e233415d5c6b945cb51cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 5 Apr 2011 06:59:59 +0200 Subject: [PATCH] l10nize about page, add link to homepage. --- src/main/resources/i18n/sone.en.properties | 4 ++++ src/main/resources/templates/about.html | 15 +++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index 104d3c7..5eb9d0f 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -23,6 +23,10 @@ Navigation.Menu.Item.About.Tooltip=Information about Sone Page.About.Title=About - Sone Page.About.Page.Title=About +Page.About.Flattr.Description=If you like Sone and you would like to reward me, you can use the Flattr button at the bottom of each page. Flattr is a non-anonymous micro payment that acts like an internet tip jar where the amount each user spends is limited (lowest being 2 € per month). More information can be found on {link}flattr.com{/link}. +Page.About.Homepage.Title=Homepage +Page.About.Homepage.Description=You can find more information and the source code of Sone on the {link}homepage{/link}. +Page.About.License.Title=License Page.Options.Title=Options - Sone Page.Options.Page.Title=Options diff --git a/src/main/resources/templates/about.html b/src/main/resources/templates/about.html index e6dbf99..e04f4f2 100644 --- a/src/main/resources/templates/about.html +++ b/src/main/resources/templates/about.html @@ -5,14 +5,17 @@

Sone – The Freenet Social Network Plugin, Version <% version|html>, © 2010–2011 by David ‘Bombe’ Roden.

- If you like Sone and you would like to reward me, you can use the - Flattr button at the bottom of each page. Flattr is a non-anonymous - micro payment that acts like an internet tip jar where the amount - each user spends is limited (lowest being 2 € per month). More - information can be found on flattr.com. + <%= Page.About.Flattr.Description|l10n|html|replace needle="{link}" replacement=''|replace needle="{/link}" replacement=''>

+

<%= Page.About.Homepage.Title|l10n|html>

+ +

+ <%= Page.About.Homepage.Description|l10n|html|replace needle="{link}" replacement=''|replace needle="{/link}" replacement=''> +

+ +

<%= Page.About.License.Title|l10n|html>

+

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -- 2.7.4