diff options
author | Florian Zschocke <f.zschocke+git@gmail.com> | 2021-10-20 21:05:02 +0200 |
---|---|---|
committer | Florian Zschocke <f.zschocke+git@gmail.com> | 2021-10-20 21:05:02 +0200 |
commit | 111eaef65eadb761d9593c88a63bc5949789d77d (patch) | |
tree | 447fb7185fd5b4de5ec91c3f337d6643bfd30415 /src/main/java/com/gitblit/wicket/GitBlitWebApp_ko.properties | |
parent | ab58795dbf84257aa968989a4c965cc826dc278f (diff) | |
download | gitblit-111eaef65eadb761d9593c88a63bc5949789d77d.tar.gz gitblit-111eaef65eadb761d9593c88a63bc5949789d77d.zip |
Add a unit test to check if the resource bundle can be loaded
To prevent that we have a resource file in a resource bundle broken and
not loading undiscovered for years, add a unit test that will load the
resource properties file for each of the languages.
In order to check if the file was loaded and the bundle mechanism
didn't fall back on the default, a new property key is added to each
language file, solely for the purpose to be checked in the unit test.
Diffstat (limited to 'src/main/java/com/gitblit/wicket/GitBlitWebApp_ko.properties')
-rw-r--r-- | src/main/java/com/gitblit/wicket/GitBlitWebApp_ko.properties | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/GitBlitWebApp_ko.properties b/src/main/java/com/gitblit/wicket/GitBlitWebApp_ko.properties index b4a675ce..23ab1187 100644 --- a/src/main/java/com/gitblit/wicket/GitBlitWebApp_ko.properties +++ b/src/main/java/com/gitblit/wicket/GitBlitWebApp_ko.properties @@ -784,3 +784,7 @@ gb.deletePatchsetSuccess = {0} \uD328\uCE58\uC14B\uC774 \uC0AD\uC81C\uB418\uC5C8 gb.deletePatchsetFailure = {0} \uD328\uCE58\uC14B \uC0AD\uC81C \uC624\uB958. gb.referencedByCommit = \uCEE4\uBC0B\uC5D0 \uCC38\uC870\uB428. gb.referencedByTicket = \uD2F0\uCF13\uC5D0 \uCC38\uC870\uB428. + +# This last property for unit tests to test successful loading of the resource file +gb.loadLang = \ud55c\uad6d\uc5b4 + |