From 54c182815a70ca3bd82db57fc78e67f7259d0d6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 5 Nov 2010 09:33:04 +0100 Subject: [PATCH] Rename l10n variables, add missing texts. --- src/main/java/net/pterodactylus/sone/web/LikePage.java | 2 +- src/main/java/net/pterodactylus/sone/web/UnlikePage.java | 2 +- src/main/resources/i18n/sone.en.properties | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/web/LikePage.java b/src/main/java/net/pterodactylus/sone/web/LikePage.java index 9b5bda3..cb72782 100644 --- a/src/main/java/net/pterodactylus/sone/web/LikePage.java +++ b/src/main/java/net/pterodactylus/sone/web/LikePage.java @@ -38,7 +38,7 @@ public class LikePage extends SoneTemplatePage { * The Sone web interface */ public LikePage(Template template, WebInterface webInterface) { - super("like.html", template, "Page.LikePost.Title", webInterface, true); + super("like.html", template, "Page.Like.Title", webInterface, true); } // diff --git a/src/main/java/net/pterodactylus/sone/web/UnlikePage.java b/src/main/java/net/pterodactylus/sone/web/UnlikePage.java index 287c36c..e794582 100644 --- a/src/main/java/net/pterodactylus/sone/web/UnlikePage.java +++ b/src/main/java/net/pterodactylus/sone/web/UnlikePage.java @@ -38,7 +38,7 @@ public class UnlikePage extends SoneTemplatePage { * The Sone web interface */ public UnlikePage(Template template, WebInterface webInterface) { - super("unlike.html", template, "Page.UnlikePost.Title", webInterface, true); + super("unlike.html", template, "Page.Unlike.Title", webInterface, true); } // diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index f0072c2..bc9dc84 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -129,6 +129,9 @@ Page.ViewPost.Title=View Post - Sone Page.ViewPost.Page.Title=View Post by {sone} Page.ViewPost.Button.PostReply=Post Reply! +Page.Like.Title=Like Post - Sone +Page.Unlike.Title=Unlike Post - Sone + Page.DeletePost.Title=Delete Sone - Sone Page.DeletePost.Page.Title=Delete Sone Page.DeletePost.Text.PostWillBeGone=Deleting a post will remove it from your Sone. It will not remove it from Freenet because that is not possible. Older versions of your Sone will always include the deleted post. -- 2.7.4