From 1e47ab18a003df93e749211271554981e3af7689 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Thu, 07 Apr 2011 17:59:56 -0400
Subject: [PATCH] Localized all strings for translation. Removed old resources.
---
src/com/gitblit/Constants.java | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java
index 5de10cd..052055a 100644
--- a/src/com/gitblit/Constants.java
+++ b/src/com/gitblit/Constants.java
@@ -4,9 +4,17 @@
public final static String NAME = "Git:Blit";
- public final static String VERSION = "0.11.3";
+ public final static String VERSION = "0.0.1";
+
+ public static String getGitBlitVersion() {
+ return NAME + " v" + VERSION;
+ }
+
+ public static String getJGitVersion() {
+ return "JGit 0.11.3";
+ }
public static String getRunningVersion() {
- return NAME + " v" + VERSION;
+ return getGitBlitVersion();
}
}
--
Gitblit v1.9.1