Some fixes for language reference
Merge branch 'text-language-fixes' of https://github.com/qreal/qreal into text-language-fixes