summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6689cf1)
add TODO
git-svn-id: http://trooper/svn/projects/jSite/trunk@910
c3eda9e8-030b-0410-8277-
bc7414b0a119
import java.util.MissingResourceException;
import java.util.Properties;
import java.util.StringTokenizer;
import java.util.MissingResourceException;
import java.util.Properties;
import java.util.StringTokenizer;
+import java.util.logging.Logger;
import javax.swing.KeyStroke;
import net.pterodactylus.util.io.Closer;
import javax.swing.KeyStroke;
import net.pterodactylus.util.io.Closer;
+import net.pterodactylus.util.logging.Logging;
/**
* Class that handles i18n.
/**
* Class that handles i18n.
+ /** Logger. */
+ private static final Logger logger = Logging.getLogger(I18n.class.getName());
+
/** List of I18nables that are notified when the language changes. */
private static final List<I18nable> i18nables = new ArrayList<I18nable>();
/** List of I18nables that are notified when the language changes. */
private static final List<I18nable> i18nables = new ArrayList<I18nable>();
String value = null;
value = currentLanguage.getProperty(key);
if (value == null) {
String value = null;
value = currentLanguage.getProperty(key);
if (value == null) {
- System.err.println("please fix “" + key + "”!");
+ logger.warning("please fix “" + key + "”!");
+ /* TODO - replace with value when done! */
return null;
}
if ((parameters != null) && (parameters.length > 0)) {
return null;
}
if ((parameters != null) && (parameters.length > 0)) {