diff options
author | James Moger <james.moger@gitblit.com> | 2014-04-28 12:44:38 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-04-28 12:44:38 -0400 |
commit | a8100bb4d3aa64e254e92e29130e8fd9bd4e0dd2 (patch) | |
tree | 26d4dc5aad3ad3d72a53f19715e375ea1ba324a6 /src/main/java/com/gitblit/manager/GitblitManager.java | |
parent | 3e3581286bdf064cabb46b2c30bca73e6a78ea58 (diff) | |
download | gitblit-a8100bb4d3aa64e254e92e29130e8fd9bd4e0dd2.tar.gz gitblit-a8100bb4d3aa64e254e92e29130e8fd9bd4e0dd2.zip |
Fix forcing default locale to en or LANG_CC for web ui
Diffstat (limited to 'src/main/java/com/gitblit/manager/GitblitManager.java')
-rw-r--r-- | src/main/java/com/gitblit/manager/GitblitManager.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/manager/GitblitManager.java b/src/main/java/com/gitblit/manager/GitblitManager.java index 790445a7..5b16ef66 100644 --- a/src/main/java/com/gitblit/manager/GitblitManager.java +++ b/src/main/java/com/gitblit/manager/GitblitManager.java @@ -27,6 +27,7 @@ import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.List; +import java.util.Locale; import java.util.Map; import java.util.TimeZone; @@ -606,6 +607,11 @@ public class GitblitManager implements IGitblit { } @Override + public Locale getLocale() { + return runtimeManager.getLocale(); + } + + @Override public boolean isDebugMode() { return runtimeManager.isDebugMode(); } |