Use translations

This commit is contained in:
Alasdair Smith 2017-09-05 14:56:48 +01:00
parent 42ae7a6479
commit 32b849faf7

View file

@ -28,15 +28,15 @@ div.full-size.pdf(ng-controller="PdfController")
ul.dropdown-menu.dropdown-menu-left ul.dropdown-menu.dropdown-menu-left
// Only show on beta program? // Only show on beta program?
if user.betaProgram if user.betaProgram
li.dropdown-header Auto-compile li.dropdown-header #{translate("auto_compile")}
li li
a(href, ng-click="autocompile_enabled = true") a(href, ng-click="autocompile_enabled = true")
i.fa.fa-fw(ng-class="{'fa-check': autocompile_enabled}") i.fa.fa-fw(ng-class="{'fa-check': autocompile_enabled}")
|  On |  #{translate('on')}
li li
a(href, ng-click="autocompile_enabled = false") a(href, ng-click="autocompile_enabled = false")
i.fa.fa-fw(ng-class="{'fa-check': !autocompile_enabled}") i.fa.fa-fw(ng-class="{'fa-check': !autocompile_enabled}")
|  Off |  #{translate('off')}
li.dropdown-header #{translate("compile_mode")} li.dropdown-header #{translate("compile_mode")}
li li
a(href, ng-click="draft = false") a(href, ng-click="draft = false")