Do not show todo translations if not todo translation exists.
This commit is contained in:
parent
aad5855aa3
commit
4c03a338bb
1 changed files with 3 additions and 0 deletions
|
@ -148,6 +148,9 @@ class TranslationToDo extends App.Controller
|
|||
@html App.view('translation/english')()
|
||||
return
|
||||
|
||||
if !App.i18n.getNotTranslated(@locale)
|
||||
return
|
||||
|
||||
listNotTranslated = []
|
||||
for key, value of App.i18n.getNotTranslated(@locale)
|
||||
item = [ '', key, '', '']
|
||||
|
|
Loading…
Reference in a new issue