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_nl.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_nl.properties')
-rw-r--r-- | src/main/java/com/gitblit/wicket/GitBlitWebApp_nl.properties | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/GitBlitWebApp_nl.properties b/src/main/java/com/gitblit/wicket/GitBlitWebApp_nl.properties index 41656e8a..7dd68b39 100644 --- a/src/main/java/com/gitblit/wicket/GitBlitWebApp_nl.properties +++ b/src/main/java/com/gitblit/wicket/GitBlitWebApp_nl.properties @@ -743,3 +743,7 @@ gb.permission = Permissie gb.sshKeyPermissionDescription = Specificeer de toegangsrechten voor de SSH sleutel gb.transportPreference = Transportvoorkeuren gb.transportPreferenceDescription = Stel de transportmethode in die u wenst voor het clonen + +# This last property for unit tests to test successful loading of the resource file +gb.loadLang = Nederlands + |