Skip to content

Commit 1ee2ccc

Browse files
committed
Change cz to cs
1 parent e04a1ad commit 1ee2ccc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 2,
33
"name": "To DeepL",
4-
"version": "0.4.2",
4+
"version": "0.4.3",
55
"description": "Translate selected text in new tab with DeepL",
66
"homepage_url": "https://github.com/rewkha/firefox-to-deepl",
77
"icons": {

src/options/options.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +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>
20+
<option value="cs">Čeština (Český)</option>
2121
<option value="da">Dansk</option>
2222
<option value="de">Deutsch</option>
2323
<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', '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) {
10+
if (['en', 'bg', 'cs', '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)