Update of /cvsroot/xdoclet/xdoclet/core/src/xdoclet/util
In directory sc8-pr-cvs1:/tmp/cvs-serv25511/xdoclet/core/src/xdoclet/util
Modified Files:
Translator.java
Log Message:
quiet down missing translation messages, and provide more info in the alternative.
Index: Translator.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/util/Translator.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** Translator.java 6 Oct 2002 17:43:16 -0000 1.10
--- Translator.java 25 Dec 2002 13:49:09 -0000 1.11
***************
*** 108,114 ****
catch (MissingResourceException e) {
// No i18n for this one, or we risk an infinite recursion...
! // throw new XDocletException( "Can't locate resource '" +
resourceKey + "' for bundle '" + bundleKey + "'." );
! log.error("XDoclet MISSING RESOURCE: Can't locate resource '" +
resourceKey + "' for bundle '" + bundleKey + "'.");
! return resourceKey;
}
}
--- 108,117 ----
catch (MissingResourceException e) {
// No i18n for this one, or we risk an infinite recursion...
! //This message is not very interesting unless you are an
! //xdoclet developer who is currently working on
! //translations, in which case you can set the log level for
! //this class to debug.
! log.debug("XDoclet MISSING RESOURCE: Can't locate resource '" +
resourceKey + "' for bundle '" + bundleKey + "'.");
! return resourceKey + " arguments: " + arguments;
}
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel