From 9f50fd56848e8b5ff70eba7054035ecb1b2d9a36 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Wed, 05 Mar 2014 08:07:36 -0500 Subject: [PATCH] Externalize some additional strings --- src/main/java/com/gitblit/wicket/pages/TicketsPage.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/gitblit/wicket/pages/TicketsPage.java b/src/main/java/com/gitblit/wicket/pages/TicketsPage.java index 2d60481..489ed1a 100644 --- a/src/main/java/com/gitblit/wicket/pages/TicketsPage.java +++ b/src/main/java/com/gitblit/wicket/pages/TicketsPage.java @@ -87,7 +87,7 @@ // set stateless page preference setStatelessHint(true); - any = new TicketResponsible("any", "[* TO *]", null); + any = new TicketResponsible(getString("gb.any"), "[* TO *]", null); UserModel user = GitBlitWebSession.get().getUser(); boolean isAuthenticated = user != null && user.isAuthenticated; @@ -185,16 +185,16 @@ milestonePanel.add(label); milestonePanel.add(new LinkPanel("openTickets", null, - currentMilestone.getOpenTickets() + " open", + MessageFormat.format(getString("gb.nOpenTickets"), currentMilestone.getOpenTickets()), TicketsPage.class, queryParameters(null, currentMilestone.name, openStatii, null, sortBy, desc, 1))); milestonePanel.add(new LinkPanel("closedTickets", null, - currentMilestone.getClosedTickets() + " closed", + MessageFormat.format(getString("gb.nClosedTickets"), currentMilestone.getClosedTickets()), TicketsPage.class, queryParameters(null, currentMilestone.name, closedStatii, null, sortBy, desc, 1))); - milestonePanel.add(new Label("totalTickets", currentMilestone.getTotalTickets() + " total")); + milestonePanel.add(new Label("totalTickets", MessageFormat.format(getString("gb.nTotalTickets"), currentMilestone.getTotalTickets()))); add(milestonePanel); } -- Gitblit v1.9.1