Increased speed of Translation.load, just update if needed.

This commit is contained in:
Martin Edenhofer 2015-10-28 13:26:41 +01:00
parent 0707bfa512
commit f0431d584a

View file

@ -60,7 +60,7 @@ dedicated:
# verify if update is needed
update_needed = false
translation_raw.each {|key, _value|
if translation_raw[key] == translation[key]
if translation_raw[key] != translation[key]
update_needed = true
break
end