From 48e87bb86c33130f06c57e71e5f59959da0f7412 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 12 Sep 2012 13:25:03 +0200 Subject: [PATCH] Show hint about not following any Sones on an empty post feed. --- src/main/resources/i18n/sone.de.properties | 1 + src/main/resources/i18n/sone.en.properties | 1 + src/main/resources/i18n/sone.fr.properties | 3 ++- src/main/resources/i18n/sone.no.properties | 3 ++- src/main/resources/i18n/sone.pl.properties | 3 ++- src/main/resources/i18n/sone.ru.properties | 3 ++- src/main/resources/templates/index.html | 1 + 7 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/main/resources/i18n/sone.de.properties b/src/main/resources/i18n/sone.de.properties index 04f8122..fc92996 100644 --- a/src/main/resources/i18n/sone.de.properties +++ b/src/main/resources/i18n/sone.de.properties @@ -95,6 +95,7 @@ Page.Index.Label.Sender=Absender: Page.Index.Button.Post=Abschicken! Page.Index.PostList.Title=Nachrichtenliste Page.Index.PostList.Text.NoPostYet=Bisher hat noch niemand etwas geschrieben. Sie sollten sofort damit anfangen! +Page.Index.PostList.Text.FollowSomeSones=Oder vielleicht folgen Sie gar keinen Sones? Werfen Sie doch mal einen Blick auf {link}bekannte Sones{/link} und folgen Sie Sones, die interessant aussehen! Page.New.Title=Neue Nachrichten und Antworten - Sone Page.New.Page.Title=Neue Nachrichten und Antworten diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index 49da270..5c4367a 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -96,6 +96,7 @@ Page.Index.Label.Sender=Sender: Page.Index.Button.Post=Post! Page.Index.PostList.Title=Post Feed Page.Index.PostList.Text.NoPostYet=Nobody has written any posts yet. You should probably start it right now! +Page.Index.PostList.Text.FollowSomeSones=Or maybe you are not following any Sones? Take a look at the list of {link}known Sones{/link} and follow whoever looks interesting! Page.New.Title=New Posts and Replies - Sone Page.New.Page.Title=New Posts and Replies diff --git a/src/main/resources/i18n/sone.fr.properties b/src/main/resources/i18n/sone.fr.properties index 5a081a3..342dd0a 100644 --- a/src/main/resources/i18n/sone.fr.properties +++ b/src/main/resources/i18n/sone.fr.properties @@ -95,6 +95,7 @@ Page.Index.Label.Sender=Expéditeur: Page.Index.Button.Post=Envoyer! Page.Index.PostList.Title=Envoyer du contenu Page.Index.PostList.Text.NoPostYet=Personne n'a encore écrit de message. vous devriez probablement commencer maintenant! +Page.Index.PostList.Text.FollowSomeSones=Or maybe you are not following any Sones? Take a look at the list of {link}known Sones{/link} and follow whoever looks interesting! Page.New.Title=Nouveaux messages et réponses - Sone Page.New.Page.Title=Nouveaux messages et réponses @@ -448,4 +449,4 @@ Notification.Mention.ShortText=Vous avez été mentionné. Notification.Mention.Text=Vous avez été mentionné dans les messages suivants: Notification.SoneInsert.Duration={0,number} {0,choice,0#seconds|1#second|1 <%foreachelse>
<%= Page.Index.PostList.Text.NoPostYet|l10n|html>
+

<%= Page.Index.PostList.Text.FollowSomeSones|l10n|html|replace needle=='{link}' replacement==''|replace needle=='{/link}' replacement==''>

<%/foreach> <%include include/pagination.html pageParameter==page> -- 2.7.4