Update de translation

This commit is contained in:
Saivann 2013-07-18 04:21:44 -04:00
parent e64ee3ec64
commit 020bb84433
6 changed files with 72 additions and 36 deletions

View file

@ -27,7 +27,7 @@ module Jekyll
translated = []
assoc = {}
for key in sorted_collection do
next if !site['loc'][lang].has_key?(page) || !site['loc'][lang][page].has_key?(key) || site['loc'][lang][page][key].nil?
next if !site['loc'][lang].has_key?(page) || !site['loc'][lang][page].has_key?(key) || site['loc'][lang][page][key].nil? || site['loc'][lang][page][key] == ' '
t = site['loc'][lang][page][key]
translated.push(t)
assoc[key] = t