Log a stack trace if we're missing a translation message so that it's easy
to track down the offender. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1933 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: MessageBundle.java,v 1.15 2002/11/10 03:14:45 mdb Exp $
|
// $Id: MessageBundle.java,v 1.16 2002/11/12 08:18:03 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.util;
|
package com.threerings.util;
|
||||||
|
|
||||||
@@ -85,6 +85,7 @@ public class MessageBundle
|
|||||||
if (reportMissing) {
|
if (reportMissing) {
|
||||||
Log.warning("Missing translation message " +
|
Log.warning("Missing translation message " +
|
||||||
"[bundle=" + _path + ", key=" + key + "].");
|
"[bundle=" + _path + ", key=" + key + "].");
|
||||||
|
Thread.dumpStack();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user