mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Update de translation
This commit is contained in:
parent
e64ee3ec64
commit
020bb84433
6 changed files with 72 additions and 36 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue