Author: nextgens
Date: 2008-07-26 16:18:15 +0000 (Sat, 26 Jul 2008)
New Revision: 21421

Modified:
   trunk/freenet/src/freenet/l10n/L10n.java
Log:
l10n: there is no need for the second check anymore (thanks to r21417)

Modified: trunk/freenet/src/freenet/l10n/L10n.java
===================================================================
--- trunk/freenet/src/freenet/l10n/L10n.java    2008-07-26 16:13:18 UTC (rev 
21420)
+++ trunk/freenet/src/freenet/l10n/L10n.java    2008-07-26 16:18:15 UTC (rev 
21421)
@@ -116,8 +116,7 @@

                        // If there is no need to keep it in the override, 
remove it...
                        // unless the original/default is the same as the 
translation
-                       if (("".equals(value) || 
value.equals(currentTranslation.get(key)))
-                               && !L10n.getDefaultString(key).equals(value)) {
+                       if (("".equals(value)) || 
(value.equals(currentTranslation.get(key)))) {
                                translationOverride.removeValue(key);
                        } else {
                                value = value.replaceAll("(\r|\n|\t)+", "");


Reply via email to