Author: nextgens
Date: 2008-07-27 18:00:01 +0000 (Sun, 27 Jul 2008)
New Revision: 21440

Modified:
   trunk/freenet/src/freenet/l10n/L10n.java
Log:
l10n: revert r21433 as it's useless

Modified: trunk/freenet/src/freenet/l10n/L10n.java
===================================================================
--- trunk/freenet/src/freenet/l10n/L10n.java    2008-07-27 14:03:11 UTC (rev 
21439)
+++ trunk/freenet/src/freenet/l10n/L10n.java    2008-07-27 18:00:01 UTC (rev 
21440)
@@ -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
-                       String currentValue = currentTranslation.get(key);
-                       if (("".equals(value)) || ((currentValue != null) && 
(value.equals(currentValue)))) {
+                       if (("".equals(value)) || 
(value.equals(currentTranslation.get(key)))) {
                                translationOverride.removeValue(key);
                        } else {
                                value = value.replaceAll("(\r|\n|\t)+", "");


Reply via email to