diff options
author | Sasa Zivkov <sasa.zivkov@sap.com> | 2010-03-11 15:19:34 +0100 |
---|---|---|
committer | Sasa Zivkov <sasa.zivkov@sap.com> | 2010-03-11 15:19:34 +0100 |
commit | 2ae9a85045915a38af2c300aa1874304fd8ea17b (patch) | |
tree | 9422a36ea6faca85c513640da521448cbdcbd48a /org.eclipse.jgit.test/META-INF | |
parent | 4aa7c5a9a97888224e419d983fcaf4ed0fca733e (diff) | |
download | jgit-2ae9a85045915a38af2c300aa1874304fd8ea17b.tar.gz jgit-2ae9a85045915a38af2c300aa1874304fd8ea17b.zip |
Provide NLS support in JGit.
The support for NLS relies on java.util API to load a standard
ResourceBundle and then uses java reflection API to inject localized
strings into public String fields of the corresponding instance
of TranslationBundle.
Locale setting is supported per thread to enable concurrent threads
to use different locales. This is useful when JGit runs in a server
context where (error) messages might need to differ per-request to
suit the user's preference.
Change-Id: Ie0e63a0d7bb74eaad495dbe8248595d8a3a76883
Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
Diffstat (limited to 'org.eclipse.jgit.test/META-INF')
-rw-r--r-- | org.eclipse.jgit.test/META-INF/MANIFEST.MF | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/META-INF/MANIFEST.MF b/org.eclipse.jgit.test/META-INF/MANIFEST.MF index 47b028066d..98e2b650b0 100644 --- a/org.eclipse.jgit.test/META-INF/MANIFEST.MF +++ b/org.eclipse.jgit.test/META-INF/MANIFEST.MF @@ -10,13 +10,14 @@ Bundle-RequiredExecutionEnvironment: J2SE-1.5 Import-Package: com.jcraft.jsch;version="[0.1.41,0.2.0)", junit.framework;version="[3.8.2,4.0.0)", junit.textui;version="[3.8.2,4.0.0)", - org.eclipse.jgit.junit;version="[0.6.0,0.7.0)", org.eclipse.jgit.diff;version="[0.6.0,0.7.0)", org.eclipse.jgit.dircache;version="[0.6.0,0.7.0)", org.eclipse.jgit.errors;version="[0.6.0,0.7.0)", org.eclipse.jgit.fnmatch;version="[0.6.0,0.7.0)", + org.eclipse.jgit.junit;version="[0.6.0,0.7.0)", org.eclipse.jgit.lib;version="[0.6.0,0.7.0)", org.eclipse.jgit.merge;version="[0.6.0,0.7.0)", + org.eclipse.jgit.nls;version="[0.6.0,0.7.0)", org.eclipse.jgit.patch;version="[0.6.0,0.7.0)", org.eclipse.jgit.revplot;version="[0.6.0,0.7.0)", org.eclipse.jgit.revwalk;version="[0.6.0,0.7.0)", |