Fixed i18n editor not allowing translation of level guides.

This commit is contained in:
Nick Winter 2015-04-08 09:51:54 -07:00
parent e6c200b64d
commit 0f124bdddc

View file

@ -27,7 +27,7 @@ module.exports = class I18NEditLevelView extends I18NEditModelView
for doc, index in @model.get('documentation')?.specificArticles ? []
if i18n = doc.i18n
@wrapRow 'Guide article name', ['name'], doc.name, i18n[lang]?.name, ['documentation', 'specificArticles', index]
@wrapRow "'#{doc.name}' description", ['description'], doc.description, i18n[lang]?.description, ['documentation', 'specificArticles', index], 'markdown'
@wrapRow "'#{doc.name}' body", ['body'], doc.body, i18n[lang]?.body, ['documentation', 'specificArticles', index], 'markdown'
# sprite dialogues
for script, scriptIndex in @model.get('scripts') ? []