Made the switch text translateable
This commit is contained in:
parent
e854dcf9bb
commit
a18c421354
2 changed files with 12 additions and 10 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue