Do not show todo translations if not todo translation exists.

This commit is contained in:
Martin Edenhofer 2015-06-28 03:38:30 +02:00
parent aad5855aa3
commit 4c03a338bb

View file

@ -148,6 +148,9 @@ class TranslationToDo extends App.Controller
@html App.view('translation/english')() @html App.view('translation/english')()
return return
if !App.i18n.getNotTranslated(@locale)
return
listNotTranslated = [] listNotTranslated = []
for key, value of App.i18n.getNotTranslated(@locale) for key, value of App.i18n.getNotTranslated(@locale)
item = [ '', key, '', ''] item = [ '', key, '', '']