From 856c8a2ad521064d69b2b50003c1df382d375013 Mon Sep 17 00:00:00 2001
From: Marcin Floryan <marcin.floryan@gmail.com>
Date: Sat, 03 Nov 2012 15:15:22 -0400
Subject: [PATCH] Download progress - CR character behaves as expected on Windows but not on other platforms.
---
src/com/gitblit/wicket/pages/TagPage.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/com/gitblit/wicket/pages/TagPage.java b/src/com/gitblit/wicket/pages/TagPage.java
index acdd77f..91c913d 100644
--- a/src/com/gitblit/wicket/pages/TagPage.java
+++ b/src/com/gitblit/wicket/pages/TagPage.java
@@ -51,7 +51,7 @@
// Failed to find tag!
if (tagRef == null) {
- error(MessageFormat.format("Could not find tag {0}", objectId), true);
+ error(MessageFormat.format(getString("gb.couldNotFindTag"), objectId), true);
}
// Display tag.
@@ -87,7 +87,7 @@
if (tagRef.getAuthorIdent() != null) {
when = tagRef.getAuthorIdent().getWhen();
}
- add(WicketUtils.createTimestampLabel("tagDate", when, getTimeZone()));
+ add(WicketUtils.createTimestampLabel("tagDate", when, getTimeZone(), getTimeUtils()));
addFullText("fullMessage", tagRef.getFullMessage(), true);
}
--
Gitblit v1.9.1