forked from I2P_Developers/i2p.i2p
* configclients.jsp: Fix add-new-client feature
* Translate: Catch empty string
This commit is contained in:
@@ -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