Increased speed of Translation.load, just update if needed.
This commit is contained in:
parent
0707bfa512
commit
f0431d584a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue