Skip to content

Commit 20c07ba

Browse files
committed
Add cz to a list of options
1 parent a75f1da commit 20c07ba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/options/options.html

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<select class="browser-style" name="default_lang" id="defaultLang">
1818
<option value="en" selected="">English</option>
1919
<option value="bg">Български</option>
20+
<option value="cz">Čeština (Český)</option>
2021
<option value="da">Dansk</option>
2122
<option value="de">Deutsch</option>
2223
<option value="es">Español</option>

src/options/options.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function renderOptions() {
77

88
document.getElementById('defaultLang').addEventListener('click', (e) => {
99
console.log(e.target.value);
10-
if (['en', 'bg', 'da', 'de', 'es', 'et', 'el', 'fr', 'fi', 'hu', 'it', 'ja', 'lv', 'lt', 'nl', 'pl', 'pt-PT', 'pt-BR', 'ro', 'ru', 'sk', 'sl', 'sv', 'zh'].indexOf(e.target.value) !== -1) {
10+
if (['en', 'bg', 'cz', 'da', 'de', 'es', 'et', 'el', 'fr', 'fi', 'hu', 'it', 'ja', 'lv', 'lt', 'nl', 'pl', 'pt-PT', 'pt-BR', 'ro', 'ru', 'sk', 'sl', 'sv', 'zh'].indexOf(e.target.value) !== -1) {
1111
browser.storage.local.set({
1212
settings: {
1313
defaultLang: e.target.value

0 commit comments

Comments
 (0)