From: David ‘Bombe’ Roden Date: Fri, 5 Nov 2010 08:33:04 +0000 (+0100) Subject: Rename l10n variables, add missing texts. X-Git-Tag: 0.2-RC1~33 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=54c182815a70ca3bd82db57fc78e67f7259d0d6c;p=Sone.git Rename l10n variables, add missing texts. --- 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.