diff options
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/com/gitblit/wicket/GitBlitWebAppResourceBundleTest.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/java/com/gitblit/wicket/GitBlitWebAppResourceBundleTest.java b/src/test/java/com/gitblit/wicket/GitBlitWebAppResourceBundleTest.java index 05549d16..f680ee7b 100644 --- a/src/test/java/com/gitblit/wicket/GitBlitWebAppResourceBundleTest.java +++ b/src/test/java/com/gitblit/wicket/GitBlitWebAppResourceBundleTest.java @@ -126,6 +126,16 @@ public class GitBlitWebAppResourceBundleTest assertEquals("Português", bundle.getString("gb.loadLang")); } + + @Test + public void testRuResource() throws Exception + { + Locale l = Locale.forLanguageTag("ru"); + ResourceBundle bundle = ResourceBundle.getBundle("com.gitblit.wicket.GitBlitWebApp", l); + assertNotNull(bundle); + assertEquals("Русский", bundle.getString("gb.loadLang")); + } + @Test public void testZhCnResource() throws Exception { |