From: Felix Dörre Date: Tue, 17 May 2016 14:41:09 +0000 (+0200) Subject: upd: move translated string closer to translation method X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=ccfe74bbb68976be461d215c1d313966de7ee3d5 upd: move translated string closer to translation method Change-Id: I2697c0c2257da6bc3f79c64c7014c4b74c1584c3 --- diff --git a/src/org/cacert/gigi/Gigi.java b/src/org/cacert/gigi/Gigi.java index 6a572e08..0570416d 100644 --- a/src/org/cacert/gigi/Gigi.java +++ b/src/org/cacert/gigi/Gigi.java @@ -135,7 +135,7 @@ public final class Gigi extends HttpServlet { putPage(DomainOverview.PATH + "*", new DomainOverview("Domains"), "Certificates"); putPage(AssurePage.PATH + "/*", new AssurePage(), "Web of Trust"); - putPage(MyPoints.PATH, new MyPoints("My Points"), "Web of Trust"); + putPage(MyPoints.PATH, new MyPoints(), "Web of Trust"); putPage(MyListingPage.PATH, new MyListingPage(), "Web of Trust"); putPage(RequestTTPPage.PATH, new RequestTTPPage(), "Web of Trust"); diff --git a/src/org/cacert/gigi/pages/wot/MyPoints.java b/src/org/cacert/gigi/pages/wot/MyPoints.java index ba2bdf5a..69f5d7e6 100644 --- a/src/org/cacert/gigi/pages/wot/MyPoints.java +++ b/src/org/cacert/gigi/pages/wot/MyPoints.java @@ -19,8 +19,8 @@ public class MyPoints extends Page { private AssurancesDisplay toOtherDisplay = new AssurancesDisplay("otherAsArr", true); - public MyPoints(String title) { - super(title); + public MyPoints() { + super("My Points"); } @Override