Rename l10n variables, add missing texts.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 5 Nov 2010 08:33:04 +0000 (09:33 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 5 Nov 2010 08:33:04 +0000 (09:33 +0100)
src/main/java/net/pterodactylus/sone/web/LikePage.java
src/main/java/net/pterodactylus/sone/web/UnlikePage.java
src/main/resources/i18n/sone.en.properties

index 9b5bda3..cb72782 100644 (file)
@@ -38,7 +38,7 @@ public class LikePage extends SoneTemplatePage {
         *            The Sone web interface
         */
        public LikePage(Template template, WebInterface webInterface) {
         *            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);
        }
 
        //
        }
 
        //
index 287c36c..e794582 100644 (file)
@@ -38,7 +38,7 @@ public class UnlikePage extends SoneTemplatePage {
         *            The Sone web interface
         */
        public UnlikePage(Template template, WebInterface webInterface) {
         *            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);
        }
 
        //
        }
 
        //
index f0072c2..bc9dc84 100644 (file)
@@ -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.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.
 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.