mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 06:32:32 +00:00
* configclients.jsp: Fix add-new-client feature
* Translate: Catch empty string
This commit is contained in:
1 parent
b1151f82b5
commit
27a5793fd0
3 files changed
+9
-4
No files matched your search
@@ -36,6 +36,9 @@ public abstract class Translate {
|
||||
return key;
|
||||
else if (lang.equals(TEST_LANG))
|
||||
return TEST_STRING;
|
||||
// shouldnt happen but dont dump the po headers if it does
|
||||
if (key.equals(""))
|
||||
return key;
|
||||
ResourceBundle bundle = findBundle(bun, lang);
|
||||
if (bundle == null)
|
||||
return key;
|
||||
|
||||
Reference in new issue
Block a user