gb.about = about
gb.ticketN = ticket #{0}
gb.disableUser = disable user
-gb.disableUserDescription = prevent this account from authenticating
\ No newline at end of file
+gb.disableUserDescription = prevent this account from authenticating
+gb.any = any
+gb.milestoneProgress = {0} open, {1} closed
+gb.nOpenTickets = {0} open
+gb.nClosedTickets = {0} closed
+gb.nTotalTickets = {0} total
\ No newline at end of file
Label label = new Label("progress");\r
WicketUtils.setCssStyle(label, "width:" + progress + "%;");\r
milestoneProgress.add(label);\r
- WicketUtils.setHtmlTooltip(milestoneProgress, MessageFormat.format("{0} open, {1} closed", open, closed));\r
+ WicketUtils.setHtmlTooltip(milestoneProgress, MessageFormat.format(getString("gb.milestoneProgress"), open, closed));\r
add(milestoneProgress);\r
}\r
\r
<div class="btn-group">\r
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"><wicket:message key="gb.status"></wicket:message>: <span style="font-weight:bold;" wicket:id="selectedStatii"></span> <span class="caret"></span></a>\r
<ul class="dropdown-menu">\r
- <li><a wicket:id="openTickets">open</a></li>\r
- <li><a wicket:id="closedTickets">closed</a></li>\r
- <li><a wicket:id="allTickets">all</a></li>\r
+ <li><a wicket:id="openTickets"><wicket:message key="gb.open"></wicket:message></a></li>\r
+ <li><a wicket:id="closedTickets"><wicket:message key="gb.closed"></wicket:message></a></li>\r
+ <li><a wicket:id="allTickets"><wicket:message key="gb.all"></wicket:message></a></li>\r
<li class="divider"></li>\r
<li wicket:id="statii"><span wicket:id="statusLink"></span></li>\r
</ul>\r
// set stateless page preference\r
setStatelessHint(true);\r
\r
- any = new TicketResponsible("any", "[* TO *]", null);\r
+ any = new TicketResponsible(getString("gb.any"), "[* TO *]", null);\r
\r
UserModel user = GitBlitWebSession.get().getUser();\r
boolean isAuthenticated = user != null && user.isAuthenticated;\r
milestonePanel.add(label);\r
\r
milestonePanel.add(new LinkPanel("openTickets", null,\r
- currentMilestone.getOpenTickets() + " open",\r
+ MessageFormat.format(getString("gb.nOpenTickets"), currentMilestone.getOpenTickets()),\r
TicketsPage.class,\r
queryParameters(null, currentMilestone.name, openStatii, null, sortBy, desc, 1)));\r
\r
milestonePanel.add(new LinkPanel("closedTickets", null,\r
- currentMilestone.getClosedTickets() + " closed",\r
+ MessageFormat.format(getString("gb.nClosedTickets"), currentMilestone.getClosedTickets()),\r
TicketsPage.class,\r
queryParameters(null, currentMilestone.name, closedStatii, null, sortBy, desc, 1)));\r
\r
- milestonePanel.add(new Label("totalTickets", currentMilestone.getTotalTickets() + " total"));\r
+ milestonePanel.add(new Label("totalTickets", MessageFormat.format(getString("gb.nTotalTickets"), currentMilestone.getTotalTickets())));\r
add(milestonePanel);\r
}\r
\r