Made the switch text translateable

This commit is contained in:
Sumner Evans 2020-04-16 13:48:24 -06:00
parent e854dcf9bb
commit a18c421354
No known key found for this signature in database
GPG key ID: 8904527AB50022FD
2 changed files with 12 additions and 10 deletions

View file

@ -6,15 +6,12 @@
}}
{% if THEME_COLOR_ENABLE_USER_OVERRIDE %}
<span class="footer-separator">|</span>
Switch to the
<a href="javascript:void(0)" onclick="switchTheme('dark')">
dark
</a>|<a href="javascript:void(0)" onclick="switchTheme('light')">
light
</a>|<a href="javascript:void(0)" onclick="switchTheme('browser')">
browser
</a>
theme
{{
_('Switch to the %(dark_url)s | %(light_url)s | %(browser_url)s theme',
dark_url='<a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a>',
light_url='<a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a>',
browser_url='<a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a>'|safe)
}}
{% endif %}
</p>
{% if THEME_COLOR_ENABLE_USER_OVERRIDE %}