178 |
put(DEFAULT_KEY, defaultTranslation); |
put(DEFAULT_KEY, defaultTranslation); |
179 |
} else |
} else |
180 |
for (String code : languages) { |
for (String code : languages) { |
181 |
if (code.equals(getActiveLang())) { |
// if (code.equals(getActiveLang())) { |
182 |
put(code, defaultTranslation); |
put(code, defaultTranslation); |
183 |
} |
// } |
184 |
} |
} |
185 |
} |
} |
186 |
|
|
335 |
*/ |
*/ |
336 |
public void addTranslationChangeListener(ActionListener actionListener) { |
public void addTranslationChangeListener(ActionListener actionListener) { |
337 |
if (actionListeners.add(actionListener)) { |
if (actionListeners.add(actionListener)) { |
338 |
LOGGER |
// LOGGER |
339 |
.debug("registering a new translationChangeActionListener in the WeakHashSet"); |
// .debug("registering a new translationChangeActionListener in the WeakHashSet"); |
340 |
} |
} |
341 |
} |
} |
342 |
|
|