feat(localization): add localization for static strings

This commit is contained in:
David Litvak
2017-11-01 15:37:15 +01:00
committed by Benedikt Rötsch
parent eaec09a594
commit 68a8052bdf
24 changed files with 333 additions and 99 deletions

View File

@@ -3,4 +3,4 @@ mixin lessonModuleImage(module)
if module.fields.image && module.fields.image.fields.file && module.fields.image.fields.file.url
img.lesson-module-image__image(src=module.fields.image.fields.file.url alt=module.fields.image.fields.title)
else
h3 ⚠️ Image missing
h3 #{translate('imageErrorTitle', currentLocale.code)}