Localizable Modern Red / Vintage Blue switch.

This commit is contained in:
hackademix 2022-03-24 23:57:49 +01:00
parent 1459479ce3
commit bf85c71c7a
2 changed files with 13 additions and 4 deletions

View File

@ -689,6 +689,15 @@
"themeAuto": { "themeAuto": {
"message": "Auto" "message": "Auto"
}, },
"ModernRed": {
"message": "Modern Red"
},
"VintageBlue": {
"message": "Vintage Blue"
},
"toVintageBlue": {
"message": "Switch to the Vintage Blue style"
},
"DonateShort": { "DonateShort": {
"message": "Donate" "message": "Donate"
}, },

View File

@ -114,14 +114,14 @@ SPDX-License-Identifier: GPL-3.0-or-later
<input id="theme-light" type="radio" name="theme" value="light"/><label for="theme-light">__MSG_themeLight__</label> <input id="theme-light" type="radio" name="theme" value="light"/><label for="theme-light">__MSG_themeLight__</label>
<input id="theme-auto" type="radio" name="theme" value="auto" checked="checked"/><label for="theme-auto">__MSG_themeAuto__</label> <input id="theme-auto" type="radio" name="theme" value="auto" checked="checked"/><label for="theme-auto">__MSG_themeAuto__</label>
</span> </span>
<span id="vintageTheme-opt" title="Vintage Blue ON/OFF"> <span id="vintageTheme-opt" title="__MSG_toVintageBlue__">
<label for="opt-vintageTheme" title="Modern Red">Modern Red</label> <label for="opt-vintageTheme" title="__MSG_ModernRed__">>__MSG_ModernRed__</label>
<label class="switch"> <label class="switch">
<input type="checkbox" id="opt-vintageTheme"> <input type="checkbox" id="opt-vintageTheme">
<span class="slider round"></span> <span class="slider round"></span>
<span class="inner-label">Vintage Blue On/Off</span> <span class="inner-label">__MSG_toVintageBlue__</span>
</label> </label>
<label for="opt-vintageTheme" title="Vintage Blue">Vintage Blue</label> <label for="opt-vintageTheme" title="__MSG_VintageBlue__">__MSG_VintageBlue__</label>
</span> </span>
<span id="highContrast-opt"> <span id="highContrast-opt">
<input type="checkbox" id="opt-highContrast"> <input type="checkbox" id="opt-highContrast">