From 960431824ff72e9afd0475d760f55d2fb59b89c6 Mon Sep 17 00:00:00 2001 From: nobody Date: Fri, 5 Jun 2020 06:15:05 +0200 Subject: [PATCH] Unused translations removed --- _locales/ar/messages.json | 8 -------- _locales/bg/messages.json | 8 -------- _locales/cs/messages.json | 8 -------- _locales/da/messages.json | 8 -------- _locales/de/messages.json | 8 -------- _locales/el/messages.json | 8 -------- _locales/en_GB/messages.json | 8 -------- _locales/en_US/messages.json | 8 -------- _locales/eo/messages.json | 8 -------- _locales/es/messages.json | 8 -------- _locales/et/messages.json | 8 -------- _locales/fi/messages.json | 8 -------- _locales/fr/messages.json | 8 -------- _locales/he/messages.json | 8 -------- _locales/hu/messages.json | 8 -------- _locales/id/messages.json | 8 -------- _locales/is/messages.json | 8 -------- _locales/it/messages.json | 8 -------- _locales/ja/messages.json | 8 -------- _locales/ko/messages.json | 8 -------- _locales/lb/messages.json | 8 -------- _locales/nb_NO/messages.json | 8 -------- _locales/nl/messages.json | 8 -------- _locales/pl/messages.json | 8 -------- _locales/pt_BR/messages.json | 8 -------- _locales/pt_PT/messages.json | 8 -------- _locales/ro/messages.json | 8 -------- _locales/ru/messages.json | 8 -------- _locales/sr/messages.json | 8 -------- _locales/sv/messages.json | 8 -------- _locales/tl/messages.json | 8 -------- _locales/tr/messages.json | 8 -------- _locales/zh_CN/messages.json | 8 -------- _locales/zh_TW/messages.json | 8 -------- pages/popup/popup.js | 5 ----- 35 files changed, 277 deletions(-) diff --git a/_locales/ar/messages.json b/_locales/ar/messages.json index 796e5469..14b4e543 100644 --- a/_locales/ar/messages.json +++ b/_locales/ar/messages.json @@ -3,14 +3,6 @@ "message": "يحميك من التتبع المرتبط بالوصول للمحتوى \"مجاني\"، مركزية.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "أوقف الحماية لهذا الموقع", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "فعّل الحماية", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "عداد محلي للموارد المحقونة", "description": "Amount injected title." diff --git a/_locales/bg/messages.json b/_locales/bg/messages.json index a43e2f53..57e44b67 100644 --- a/_locales/bg/messages.json +++ b/_locales/bg/messages.json @@ -3,14 +3,6 @@ "message": "Защитава ви от следене чрез свободна, централизирана доставка на съдържание.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Изключване на защитата за страницата", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Включване на защита", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Брояч за местно вмъкнати ресурси", "description": "Amount injected title." diff --git a/_locales/cs/messages.json b/_locales/cs/messages.json index dbd2adb2..f8aa3934 100644 --- a/_locales/cs/messages.json +++ b/_locales/cs/messages.json @@ -3,14 +3,6 @@ "message": "Chrání před sledováním skrze centrálně doručovaný obsah.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Zakázat ochranu na této stránce", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Zapnout ochranu", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Počítadlo vložených lokálních zdrojů", "description": "Amount injected title." diff --git a/_locales/da/messages.json b/_locales/da/messages.json index bfde518a..900f5d18 100644 --- a/_locales/da/messages.json +++ b/_locales/da/messages.json @@ -3,14 +3,6 @@ "message": "Beskytter dig imod sporing af \"gratis\", centraliserede indholdsleverandører.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Deaktiver beskyttelse for dette websted", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Aktiver beskyttelse", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Optælling af lokalt leverede ressourcer", "description": "Amount injected title." diff --git a/_locales/de/messages.json b/_locales/de/messages.json index a0607374..5d9fd847 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -3,14 +3,6 @@ "message": "Schützt vor Tracking durch \"gratis\", zentralisiertes Abliefern von Content.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Schutz für diese Seite deaktivieren", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Schutz aktivieren", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Zähler für lokal injizierte Ressourcen", "description": "Amount injected title." diff --git a/_locales/el/messages.json b/_locales/el/messages.json index daeb4236..30d5e227 100644 --- a/_locales/el/messages.json +++ b/_locales/el/messages.json @@ -3,14 +3,6 @@ "message": "Προστατεύει από παρακολούθηση μέσω \"δωρεάν\" διανομής περιεχόμενου.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Απενεργοποίηση προστασίας για αυτή τη σελίδα", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Ενεργοποίηση προστασίας", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Μετρητής εμβόλιμων τοπικών πόρων", "description": "Amount injected title." diff --git a/_locales/en_GB/messages.json b/_locales/en_GB/messages.json index beb1d0b2..16cb4f97 100644 --- a/_locales/en_GB/messages.json +++ b/_locales/en_GB/messages.json @@ -3,14 +3,6 @@ "message": "Protects you against tracking through \"free\", centralised, content delivery.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Disable protection for this site", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Enable protection", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Counter for locally injected resources", "description": "Amount injected title." diff --git a/_locales/en_US/messages.json b/_locales/en_US/messages.json index 73a69da5..2f0b00bb 100644 --- a/_locales/en_US/messages.json +++ b/_locales/en_US/messages.json @@ -3,14 +3,6 @@ "message": "Protects you against tracking through \"free\", centralized, content delivery.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Disable protection for this site", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Enable protection", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Counter for locally injected resources", "description": "Amount injected title." diff --git a/_locales/eo/messages.json b/_locales/eo/messages.json index 501b222f..e693b30e 100644 --- a/_locales/eo/messages.json +++ b/_locales/eo/messages.json @@ -3,14 +3,6 @@ "message": "Decentraleyes protektas vin kontraŭ sekvado per senkostaj, centraj enhav-proviz-retoj.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Malaktivigi protekton por tiu ĉi retejo", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Aktivigi protekton", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Nombro de loke enmetitaj rimedoj", "description": "Amount injected title." diff --git a/_locales/es/messages.json b/_locales/es/messages.json index 82c1fa65..d70f811e 100644 --- a/_locales/es/messages.json +++ b/_locales/es/messages.json @@ -3,14 +3,6 @@ "message": "Protege contra el rastreo con la entrega centralizada y «gratuita» de contenido.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Desactivar protección en este sitio", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Activar protección", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Contador de recursos inyectados localmente", "description": "Amount injected title." diff --git a/_locales/et/messages.json b/_locales/et/messages.json index ca5fb0dc..0863f4b0 100644 --- a/_locales/et/messages.json +++ b/_locales/et/messages.json @@ -3,14 +3,6 @@ "message": "Kaitseb sind \"tasuta\", tsentraliseeritud sisu edastamisest tuleneva jälitamise vastu.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Keela kaitse sellel saidil", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Luba kaitse", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Kohalikult sisestatud ressursside loendur", "description": "Amount injected title." diff --git a/_locales/fi/messages.json b/_locales/fi/messages.json index 4d88fe63..048b981f 100644 --- a/_locales/fi/messages.json +++ b/_locales/fi/messages.json @@ -3,14 +3,6 @@ "message": "Suojaa sinua \"ilmaisten\" keskitettyjen sisällön jakeluverkkojen jäljitykseltä.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Poista suojaus tältä sivustolta", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Ota suojaus käyttöön", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Korvatut pyynnöt", "description": "Amount injected title." diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json index e13bdc9e..7fc3bd6c 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -3,14 +3,6 @@ "message": "Protège du pistage lié aux diffuseurs de contenus « gratuits », centralisés.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Désactiver la protection pour ce site", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Activer la protection", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Compteur de ressources injectées localement", "description": "Amount injected title." diff --git a/_locales/he/messages.json b/_locales/he/messages.json index b4ffa021..ff9a946f 100644 --- a/_locales/he/messages.json +++ b/_locales/he/messages.json @@ -3,14 +3,6 @@ "message": "מגן עליך מפני מעקב המבוצע דרך רשתות אספקת תוכן ריכוזיות ו\"חינמיות\".", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "נטרול ההגנה עבור אתר זה", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "הפעלת הגנה", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "מונה משאבים מקומיים שהוזרקו", "description": "Amount injected title." diff --git a/_locales/hu/messages.json b/_locales/hu/messages.json index 7c4e264b..f46f0640 100644 --- a/_locales/hu/messages.json +++ b/_locales/hu/messages.json @@ -3,14 +3,6 @@ "message": "Véd attól, hogy az „ingyenes”, centralizált tartalomszolgáltatók kövessenek.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Védelem kikapcsolása ezen az oldalon", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Védelem bekapcsolása", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Helyből beszúrt erőforrások számlálója", "description": "Amount injected title." diff --git a/_locales/id/messages.json b/_locales/id/messages.json index b3345537..beecc9ea 100644 --- a/_locales/id/messages.json +++ b/_locales/id/messages.json @@ -3,14 +3,6 @@ "message": "Melindungi Anda dari pelacakan distribusi konten \"gratis\" dan terpusat.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Nonaktifkan perlindungan untuk situs web ini", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Aktifkan perlindungan", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Jumlah sumber daya lokal yang disematkan", "description": "Amount injected title." diff --git a/_locales/is/messages.json b/_locales/is/messages.json index 921dc5a6..e65f8836 100644 --- a/_locales/is/messages.json +++ b/_locales/is/messages.json @@ -3,14 +3,6 @@ "message": "Verndar þig gegn eftirliti frá \"ókeypis\" miðlægum efnisveitum.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Slökkva á vörn fyrir þetta vefsvæði", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Virkja vernd", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Fjöldi staðvært inspýttra tilfanga", "description": "Amount injected title." diff --git a/_locales/it/messages.json b/_locales/it/messages.json index f45a4dc4..f201666d 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -3,14 +3,6 @@ "message": "Protegge dal tracciamento tramite CDN centralizzati \"liberi\".", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Disattiva protezione per questo sito", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Attiva protezione", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Contatore per risorse iniettate localmente", "description": "Amount injected title." diff --git a/_locales/ja/messages.json b/_locales/ja/messages.json index b3b0e2b0..c0021f81 100644 --- a/_locales/ja/messages.json +++ b/_locales/ja/messages.json @@ -3,14 +3,6 @@ "message": "「無料」と称してあなたを追跡する大規模なCDNを迂回して、プライバシーを守ります。", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "このサイトでは保護を無効にする", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "保護を有効にする", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "ローカルのリソースを使用した回数", "description": "Amount injected title." diff --git a/_locales/ko/messages.json b/_locales/ko/messages.json index 55a1c90c..970f17bf 100644 --- a/_locales/ko/messages.json +++ b/_locales/ko/messages.json @@ -3,14 +3,6 @@ "message": "\"무료\"라는 미끼로 당신을 추적하는 대규모 CDN을 사용하지 않음으로써 프라이버시를 지킵니다.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "이 사이트의 보호 비활성화", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "보호 활성화", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "로컬 리소스로 대체한 요청 횟수", "description": "Amount injected title." diff --git a/_locales/lb/messages.json b/_locales/lb/messages.json index ba1e2027..a492bb48 100644 --- a/_locales/lb/messages.json +++ b/_locales/lb/messages.json @@ -3,14 +3,6 @@ "message": "Schützt virun Tracking duerch \"gratis\" Content Delivery Networks.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Schutz fir dëse Site ausschalten", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Schutz aktivéieren", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Zieler fir lokal injizéierte Ressourcen", "description": "Amount injected title." diff --git a/_locales/nb_NO/messages.json b/_locales/nb_NO/messages.json index b7838e44..efe6acc8 100644 --- a/_locales/nb_NO/messages.json +++ b/_locales/nb_NO/messages.json @@ -3,14 +3,6 @@ "message": "Beskytter mot sporing gjort av \"gratis\" sentralisert innholdslevering.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Skru av beskyttelse på dette nettstedet", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Skru på beskyttelse", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Teller for lokalt innsmettede ressurser", "description": "Amount injected title." diff --git a/_locales/nl/messages.json b/_locales/nl/messages.json index c2f7954c..67292171 100644 --- a/_locales/nl/messages.json +++ b/_locales/nl/messages.json @@ -3,14 +3,6 @@ "message": "Beschermt tegen tracking via het \"gratis\", gecentraliseerd, verzorgen van content.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Bescherming voor deze website uitschakelen", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Bescherming inschakelen", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Teller voor lokaal geïnjecteerde bestanden", "description": "Amount injected title." diff --git a/_locales/pl/messages.json b/_locales/pl/messages.json index 23a391eb..15412744 100644 --- a/_locales/pl/messages.json +++ b/_locales/pl/messages.json @@ -3,14 +3,6 @@ "message": "Chroni przed śledzeniem przez ośrodki CDN.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Wyłącz ochronę dla tej witryny", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Włącz ochronę", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Licznik zasobów podanych lokalnie", "description": "Amount injected title." diff --git a/_locales/pt_BR/messages.json b/_locales/pt_BR/messages.json index 3b4a7f3e..c544533a 100644 --- a/_locales/pt_BR/messages.json +++ b/_locales/pt_BR/messages.json @@ -3,14 +3,6 @@ "message": "Lhe protege de rastreamento feito usando centrais de disponibilização de conteúdo \"gratuitas\".", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Desabilitar a proteção neste site", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Habilitar proteção", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Contador de recursos injetados localmente", "description": "Amount injected title." diff --git a/_locales/pt_PT/messages.json b/_locales/pt_PT/messages.json index 7340591d..85dffd72 100644 --- a/_locales/pt_PT/messages.json +++ b/_locales/pt_PT/messages.json @@ -3,14 +3,6 @@ "message": "Protege contra monitorização através de entrega de conteúdo centralizado.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Desativar proteção para este site", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Ativar proteção", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Contador para recursos injetados localmente", "description": "Amount injected title." diff --git a/_locales/ro/messages.json b/_locales/ro/messages.json index 6a470500..cf36eefc 100644 --- a/_locales/ro/messages.json +++ b/_locales/ro/messages.json @@ -3,14 +3,6 @@ "message": "Protejează împotriva urmăririi prin livrare de conținut gratuit, centralizat.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Dezactivează protecția pentru acest site", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Activează protecția", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Contor pentru resursele injectate local", "description": "Amount injected title." diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json index fc6406cf..31094b2d 100644 --- a/_locales/ru/messages.json +++ b/_locales/ru/messages.json @@ -3,14 +3,6 @@ "message": "Защищает Вас от отслеживания через «бесплатные», централизованные CDN.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Отключить защиту для этого сайта", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Включить защиту", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Счётчик файлов «доставленных» локально", "description": "Amount injected title." diff --git a/_locales/sr/messages.json b/_locales/sr/messages.json index 7d7785e7..2fd6f9e8 100644 --- a/_locales/sr/messages.json +++ b/_locales/sr/messages.json @@ -3,14 +3,6 @@ "message": "Штити вас од праћења преко „бесплатних“, централизованих достава садржаја.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Онемогући заштиту на овом сајту", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Омогући заштиту", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Бројач локално убризганих ресурса", "description": "Amount injected title." diff --git a/_locales/sv/messages.json b/_locales/sv/messages.json index ab3e7e29..0b37f25c 100644 --- a/_locales/sv/messages.json +++ b/_locales/sv/messages.json @@ -3,14 +3,6 @@ "message": "Skyddar dig mot att spåras av \"gratis\" centraliserad innehållsleverans.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Inaktivera skydd för den här sidan", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Aktivera skydd", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Räknare för lokalt insatta resurser", "description": "Amount injected title." diff --git a/_locales/tl/messages.json b/_locales/tl/messages.json index faf1596f..352153ea 100644 --- a/_locales/tl/messages.json +++ b/_locales/tl/messages.json @@ -3,14 +3,6 @@ "message": "Para protektahan ka laban sa pagsubaybay sa pamamagitan ng \"libre\", sentralisadong, paghahatid ng nilalaman.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Huwag paganahin ang proteksyon para sa sayt na ito", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Paganahin ang proteksyon", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Laban para sa mga lokal na iniksiyong mga mapagkukunan", "description": "Amount injected title." diff --git a/_locales/tr/messages.json b/_locales/tr/messages.json index 2441f298..ab78cef3 100644 --- a/_locales/tr/messages.json +++ b/_locales/tr/messages.json @@ -3,14 +3,6 @@ "message": "Sizi içerik dağıtımıyla yapılan merkezi ve \"ücretsiz\" takipten korur.", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "Bu sitede korumayı devre dışı bırak", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "Korumayı etkinleştir", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "Yerel olarak eklenen kaynaklar için sayaç", "description": "Amount injected title." diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json index 4f3d5eaf..220c8c98 100644 --- a/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -3,14 +3,6 @@ "message": "保护你免受中心化的内容分发网络(CDN)的跟踪。", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "在此网站上禁用保护", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "启用保护", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "本地注入资源的计数器", "description": "Amount injected title." diff --git a/_locales/zh_TW/messages.json b/_locales/zh_TW/messages.json index c0ae5738..e0eebeed 100644 --- a/_locales/zh_TW/messages.json +++ b/_locales/zh_TW/messages.json @@ -3,14 +3,6 @@ "message": "保護您不受「免費」、中心化的內容傳遞網路(CDN)的追蹤。", "description": "Extension description." }, - "disableProtectionTitle": { - "message": "為此網站停用保護", - "description": "Disable protection title." - }, - "enableProtectionTitle": { - "message": "啟用保護", - "description": "Enable protection title." - }, "amountInjectedTitle": { "message": "由本機提供的資源計數器", "description": "Amount injected title." diff --git a/pages/popup/popup.js b/pages/popup/popup.js index d5cab271..58a52b53 100644 --- a/pages/popup/popup.js +++ b/pages/popup/popup.js @@ -98,13 +98,10 @@ popup._renderDomainWhitelistPanel = function () { if (popup._domainIsWhitelisted === true) { - let enableProtectionTitle = chrome.i18n.getMessage('enableProtectionTitle'); - manipulateDOMToggleElement.disabled = true; protectionToggleElement.checked = false; manipulateDOMToggleStyle.setAttribute('class', 'slider-disabled'); - protectionToggleElement.setAttribute('title', enableProtectionTitle); protectionToggleElement.addEventListener('click', popup._enableProtection); } else { @@ -112,10 +109,8 @@ popup._renderDomainWhitelistPanel = function () { manipulateDOMToggleElement.disabled = false; manipulateDOMToggleStyle.setAttribute('class', 'slider'); - let disableProtectionTitle = chrome.i18n.getMessage('disableProtectionTitle'); protectionToggleElement.checked = true; protectionToggleElement.addEventListener('click', popup._disableProtection); - protectionToggleElement.setAttribute('title', disableProtectionTitle); if (popup._domainManipulateDOM === true) {