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')()
|
@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, '', '']
|
||||||
|
|
Loading…
Reference in a new issue