From 4a4f84d71529bbdbe6ff97303e7fbdcd4a6a736d Mon Sep 17 00:00:00 2001 From: Anton Keks Date: Fri, 28 Dec 2018 13:29:20 +0200 Subject: [PATCH] do not warn if missing translated language.* names --- ipscan.iml | 2 +- src/net/azib/ipscan/config/Labels.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ipscan.iml b/ipscan.iml index 252c9edb6..8c1039db8 100644 --- a/ipscan.iml +++ b/ipscan.iml @@ -1,5 +1,5 @@ - + diff --git a/src/net/azib/ipscan/config/Labels.java b/src/net/azib/ipscan/config/Labels.java index 68c5df25d..dfdcc58a9 100644 --- a/src/net/azib/ipscan/config/Labels.java +++ b/src/net/azib/ipscan/config/Labels.java @@ -92,7 +92,7 @@ public String get(String key) { } catch (MissingResourceException e) { String text = labelsFallback.getString(key); - LOG.warning("Used fallback label for " + key); + if (!key.startsWith("language.")) LOG.warning("Used fallback label for " + key); return text; } }