Planting a flag on this landmine, change to equals() if desired
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5327 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -298,6 +298,8 @@ public class MessageBundle
|
||||
String msg = getResourceString(key + suffix, false);
|
||||
|
||||
if (msg == null) {
|
||||
// Playing with fire: This only works because it's the same "" reference we return from getSuffix()
|
||||
// Don't try this at home. Keep out of reach of children. If swallowed, consult StringUtil.isBlank()
|
||||
if (suffix != "") {
|
||||
// Try the original key
|
||||
msg = getResourceString(key, false);
|
||||
|
||||
Reference in New Issue
Block a user