diff --git a/_locales/bg/messages.json b/_locales/bg/messages.json index bc8c1d09bd644794fee9dce0564283fb36e05e3c..e77b79c4266c24a692b10a4958761b9d7e8165ec 100644 --- a/_locales/bg/messages.json +++ b/_locales/bg/messages.json @@ -3,6 +3,18 @@ "message": "Защитава ви от Ñледене чрез Ñвободна, централизирана доÑтавка на Ñъдържание.", "description": "Extension description." }, + "disableProtectionTitle": { + "message": "Изключване на защитата за Ñтраницата", + "description": "Disable protection title." + }, + "enableProtectionTitle": { + "message": "Включване на защита", + "description": "Enable protection title." + }, + "optionsTitle": { + "message": "ÐаÑтройки", + "description": "Options title." + }, "blockMissingTitle": { "message": "Блокиране на заÑвки за липÑващи реÑурÑи", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "КоличеÑтво на меÑтни Ð²Ð¼ÑŠÐºÐ²Ð°Ð½Ð¸Ñ Ð½Ð° реÑурÑи от началото на инÑталациÑта.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "ПодробноÑти", + "description": "Advanced label." } } diff --git a/_locales/da/messages.json b/_locales/da/messages.json index e04f40b0026ba096c5838065aa6e5d6c07afd90e..1482038ee4ce6494b871d7887888dc0299140cd2 100644 --- a/_locales/da/messages.json +++ b/_locales/da/messages.json @@ -3,6 +3,18 @@ "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." + }, + "optionsTitle": { + "message": "Indstillinger", + "description": "Options title." + }, "blockMissingTitle": { "message": "Bloker anmodninger om manglende ressourcer", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Antal injektioner af lokale ressourcer siden installation.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Avanceret", + "description": "Advanced label." } } diff --git a/_locales/de/messages.json b/_locales/de/messages.json index 2576388ffb3c92daab4fa680065bcddc987ce2cf..768f1a0d39180d087ac11a72bc77efc8cb1cce60 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -3,6 +3,18 @@ "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." + }, + "optionsTitle": { + "message": "Einstellungen", + "description": "Options title." + }, "blockMissingTitle": { "message": "Blockiere Anfordern fehlender Inhalte", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Anzahl der lokalen Injektionen von den CDN-Ressourcen seit der Installation.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Erweitert", + "description": "Advanced label." } } diff --git a/_locales/el/messages.json b/_locales/el/messages.json index 3aac9cb96d3b72d35b3e4b5b294096d89714405c..8d957a1328075a22ffd86da17a8485739fd3c18f 100644 --- a/_locales/el/messages.json +++ b/_locales/el/messages.json @@ -3,6 +3,18 @@ "message": "Î ÏοστατεÏει από παÏακολοÏθηση μÎσω \"δωÏεάν\" διανομής πεÏιεχόμενου.", "description": "Extension description." }, + "disableProtectionTitle": { + "message": "ΑπενεÏγοποίηση Ï€Ïοστασίας για αυτή τη σελίδα", + "description": "Disable protection title." + }, + "enableProtectionTitle": { + "message": "ΕνεÏγοποίηση Ï€Ïοστασίας", + "description": "Enable protection title." + }, + "optionsTitle": { + "message": "ΕπιλογÎÏ‚", + "description": "Options title." + }, "blockMissingTitle": { "message": "Μπλοκ αιτήσεων για ανÏπαÏκτους πόÏους", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Ποσοστό εμβόλιμων τοπικών πόÏων ΔικτÏων ΠαÏοχής ΠεÏιεχομÎνου από την στιγμή της εγκατάστασης.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Για Ï€ÏοχωÏημÎνους", + "description": "Advanced label." } } diff --git a/_locales/en_GB/messages.json b/_locales/en_GB/messages.json index 6c77d19977ad23a89b5f2fac4f8458a42058fbf4..3b2859aaf908e552d596414a39d2f72b910409aa 100644 --- a/_locales/en_GB/messages.json +++ b/_locales/en_GB/messages.json @@ -3,6 +3,18 @@ "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." + }, + "optionsTitle": { + "message": "Options", + "description": "Options title." + }, "blockMissingTitle": { "message": "Block requests for missing resources", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Amount of local Content Delivery Network resource injections since installation.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Advanced", + "description": "Advanced label." } } diff --git a/_locales/en_US/messages.json b/_locales/en_US/messages.json index 4dc5b01136073ad1b4f7a9151cf404aabc8b9321..68bf9cb3773142301b72ceff4d7c4295c01f296f 100644 --- a/_locales/en_US/messages.json +++ b/_locales/en_US/messages.json @@ -3,6 +3,18 @@ "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." + }, + "optionsTitle": { + "message": "Options", + "description": "Options title." + }, "blockMissingTitle": { "message": "Block requests for missing resources", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Amount of local Content Delivery Network resource injections since installation.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Advanced", + "description": "Advanced label." } } diff --git a/_locales/es/messages.json b/_locales/es/messages.json index fe64358952edf329e86a4f3abd12cfff773c16f8..d43542b4055a6282f827495b44b3854fe3ccc0ce 100644 --- a/_locales/es/messages.json +++ b/_locales/es/messages.json @@ -3,6 +3,18 @@ "message": "Protégete contra rastreo a través de entrega de contenido centralizado \"gratis\".", "description": "Extension description." }, + "disableProtectionTitle": { + "message": "Desactivar protección en este sitio", + "description": "Disable protection title." + }, + "enableProtectionTitle": { + "message": "Activar protección", + "description": "Enable protection title." + }, + "optionsTitle": { + "message": "Opciones", + "description": "Options title." + }, "blockMissingTitle": { "message": "Bloquear peticiones de fuentes faltantes", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Cifra de inyecciones de fuentes de Redes de Entrega de Contenido desde instalación.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Avanzado", + "description": "Advanced label." } } diff --git a/_locales/fi/messages.json b/_locales/fi/messages.json index 34a31c4247d21758f124dc7632cd4c86e71abf1a..367e0cba1f8df8e283a962a82d281b3174dfa1cc 100644 --- a/_locales/fi/messages.json +++ b/_locales/fi/messages.json @@ -3,6 +3,18 @@ "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." + }, + "optionsTitle": { + "message": "Asetukset", + "description": "Options title." + }, "blockMissingTitle": { "message": "Estä pyynnöt puuttuviin resursseihin", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Korvatut sisältöpyynnöt lisäosan asennuksen jälkeen.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Yksityiskohdat", + "description": "Advanced label." } } diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json index 388374dfc3d6127c9f0843e1fc10087b56e063f6..16533cbb3660aadae3e9203239fe7dd32f2063cc 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -3,6 +3,18 @@ "message": "Protège du pistage lié à l'accès à des 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." + }, + "optionsTitle": { + "message": "Options", + "description": "Options title." + }, "blockMissingTitle": { "message": "Bloquer les ressources manquantes", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Total des ressources des CDN injectées localement depuis l'installation.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Avancé", + "description": "Advanced label." } } diff --git a/_locales/id/messages.json b/_locales/id/messages.json index 575a3160c3b92e7b9ecf9cadd3233c8a1fb96f24..25c90393cc38249477a87e1ca5bcc75b70227f36 100644 --- a/_locales/id/messages.json +++ b/_locales/id/messages.json @@ -3,6 +3,18 @@ "message": "Melindungi dari pelacakan melalui distribusi konten yang bebas 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." + }, + "optionsTitle": { + "message": "Opsi", + "description": "Options title." + }, "blockMissingTitle": { "message": "Blokir permintaan untuk sumber daya yang hilang", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Jumlah penyematan sumber daya Jaringan Distribusi Konten lokal sejak pemasangan.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Canggih", + "description": "Advanced label." } } diff --git a/_locales/is/messages.json b/_locales/is/messages.json index 7bedf25fe2239bf514772d7be6d45471d8cb491d..34c66dcac9280d9a4311dc4deef81f7a29bcb3e6 100644 --- a/_locales/is/messages.json +++ b/_locales/is/messages.json @@ -3,6 +3,18 @@ "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." + }, + "optionsTitle": { + "message": "Valkostir", + "description": "Options title." + }, "blockMissingTitle": { "message": "Loka á beiðnir vegna tilfanga sem vantar", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Fjöldi tilfanga frá miðlægum efnisveitum sem skipt hefur verið út sÃðan viðbótin var sett upp.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Ãtarlegt", + "description": "Advanced label." } } diff --git a/_locales/it/messages.json b/_locales/it/messages.json index 199bcf5b52e2f95ff7d6f25410d18fd3f531cc74..8fb890af28b434cd09fbd52cced49897df038dc4 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -3,6 +3,18 @@ "message": "Protegge dal tracciamento tramite i CDN centralizzati \"gratuiti\".", "description": "Extension description." }, + "disableProtectionTitle": { + "message": "Disattiva protezione per questo sito", + "description": "Disable protection title." + }, + "enableProtectionTitle": { + "message": "Attiva protezione", + "description": "Enable protection title." + }, + "optionsTitle": { + "message": "Opzioni", + "description": "Options title." + }, "blockMissingTitle": { "message": "Bloccare richieste di risorse mancanti", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Quantità di iniezioni di risorse dalla Rete di Distribuzione di Contenuti locale sin dall'installazione.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Avanzate", + "description": "Advanced label." } } diff --git a/_locales/ja/messages.json b/_locales/ja/messages.json index 2b1c22cc8d697bf6b44c75fc30e094a84ea38a1e..300a4545fd56ef4fc886c955ef9c9dbeb031e6c3 100644 --- a/_locales/ja/messages.json +++ b/_locales/ja/messages.json @@ -3,6 +3,18 @@ "message": "「無料ã€ã¨ç§°ã—ã¦ã‚ãªãŸã‚’追跡ã™ã‚‹å¤§è¦æ¨¡ãªCDNを迂回ã—ã¦ã€ãƒ—ライãƒã‚·ãƒ¼ã‚’守りã¾ã™ã€‚", "description": "Extension description." }, + "disableProtectionTitle": { + "message": "ã“ã®ã‚µã‚¤ãƒˆã§ã¯ä¿è·ã‚’無効ã«ã™ã‚‹", + "description": "Disable protection title." + }, + "enableProtectionTitle": { + "message": "ä¿è·ã‚’有効ã«ã™ã‚‹", + "description": "Enable protection title." + }, + "optionsTitle": { + "message": "オプション", + "description": "Options title." + }, "blockMissingTitle": { "message": "アドオンã«å«ã¾ã‚Œãªã„リソースã¸ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚’ブãƒãƒƒã‚¯ã™ã‚‹", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "インストール後ã«ãƒãƒ¼ã‚«ãƒ«ã®CDNリソースを使用ã—ãŸå›žæ•°ã§ã™ã€‚", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "エラー内容", + "description": "Advanced label." } } diff --git a/_locales/nl/messages.json b/_locales/nl/messages.json index 83079bb2d8dfddc3fa12112f2f71f9fd3a949e6c..28df3535c72800399a99985496bbd01282392ded 100644 --- a/_locales/nl/messages.json +++ b/_locales/nl/messages.json @@ -3,6 +3,18 @@ "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." + }, + "optionsTitle": { + "message": "Opties", + "description": "Options title." + }, "blockMissingTitle": { "message": "Stop verzoeken voor ontbrekende items", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Aantal lokale Content Delivery Network-bestandsinjecties sinds installatie.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Geavanceerd", + "description": "Advanced label." } } diff --git a/_locales/pl/messages.json b/_locales/pl/messages.json index 2fb1f54a5ccb0dda00689edbc805a4d1e8463e93..7e15f4a28aeb445325f46ca187f3f90307a541ed 100644 --- a/_locales/pl/messages.json +++ b/_locales/pl/messages.json @@ -3,6 +3,18 @@ "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." + }, + "optionsTitle": { + "message": "Ustawienia", + "description": "Options title." + }, "blockMissingTitle": { "message": "Blokuj żądania brakujÄ…cych zasobów", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Ilość wstrzyknięć z lokalnego Content Delivery Network od czasu instalacji.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Zaawansowane", + "description": "Advanced label." } } diff --git a/_locales/pt_PT/messages.json b/_locales/pt_PT/messages.json index 71865505e6710084d60ccb1cf5f773c739c3bd3d..757e1a10d7f80b080155134d55ea70ec2a75c152 100644 --- a/_locales/pt_PT/messages.json +++ b/_locales/pt_PT/messages.json @@ -3,6 +3,18 @@ "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." + }, + "optionsTitle": { + "message": "Opções", + "description": "Options title." + }, "blockMissingTitle": { "message": "Bloquear pedidos por falta de recursos", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Quantidade de injeções de recurso Content Delivery Network locais desde a instalação.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Avançado", + "description": "Advanced label." } } diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json index ab8159f5b6efc280288497cffa5e0c33a3db04a2..d0b8fcae9346771f9d19824da53965f3fb76f5be 100644 --- a/_locales/ru/messages.json +++ b/_locales/ru/messages.json @@ -3,6 +3,18 @@ "message": "Защищает Ð’Ð°Ñ Ð¾Ñ‚ отÑÐ»ÐµÐ¶Ð¸Ð²Ð°Ð½Ð¸Ñ Ñ‡ÐµÑ€ÐµÐ· «беÑплатные», централизованные CDN.", "description": "Extension description." }, + "disableProtectionTitle": { + "message": "Отключить защиту Ð´Ð»Ñ Ñтого Ñайта", + "description": "Disable protection title." + }, + "enableProtectionTitle": { + "message": "Включить защиту", + "description": "Enable protection title." + }, + "optionsTitle": { + "message": "ÐаÑтройки", + "description": "Options title." + }, "blockMissingTitle": { "message": "Блокировать запроÑÑ‹ недоÑтающих реÑурÑов", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "КоличеÑтво меÑтных инъекций реÑурÑов Ñети доÑтавки контента Ñ Ð¼Ð¾Ð¼ÐµÐ½Ñ‚Ð° уÑтановки.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Дополнительно", + "description": "Advanced label." } } diff --git a/_locales/sv/messages.json b/_locales/sv/messages.json index 88794c8d9e8d74d3973563875dd03024edc282ad..388c43be121fd55262bf530a8886204153c5c163 100644 --- a/_locales/sv/messages.json +++ b/_locales/sv/messages.json @@ -3,6 +3,18 @@ "message": "Skyddar dig mot att spÃ¥ras av \"gratis\", centraliserat, 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." + }, + "optionsTitle": { + "message": "Inställningar", + "description": "Options title." + }, "blockMissingTitle": { "message": "Blockera förfrÃ¥gningar när resurs saknas", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "Antalet insatta Content Delivery Network-resurser sedan installationen.", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "Avancerad", + "description": "Advanced label." } } diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json index 097aab513dc60d87eb582737c7f1b726b05af1ea..ee0c1e8e0ba027e664f1365cdb1f8215d5779eaf 100644 --- a/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -3,6 +3,18 @@ "message": "ä¿æŠ¤æ‚¨å…å—集ä¸å¼çš„内容交付网络(CDN)的跟踪。", "description": "Extension description." }, + "disableProtectionTitle": { + "message": "在æ¤ç½‘站上ç¦ç”¨ä¿æŠ¤", + "description": "Disable protection title." + }, + "enableProtectionTitle": { + "message": "å¯ç”¨ä¿æŠ¤", + "description": "Enable protection title." + }, + "optionsTitle": { + "message": "选项", + "description": "Options title." + }, "blockMissingTitle": { "message": "阻æ¢ç¼ºå¤±èµ„æºçš„请求", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "自安装以æ¥ï¼Œä»Žæœ¬åœ°çš„“内容交付网络â€å‘é€çš„资æºæ€»é‡ã€‚", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "高级", + "description": "Advanced label." } } diff --git a/_locales/zh_TW/messages.json b/_locales/zh_TW/messages.json index 6c8b6ce20c50d5b137f1d45882d4085a58a03a71..6da585402cea3d1f2c83296f92168a8329ec2b31 100644 --- a/_locales/zh_TW/messages.json +++ b/_locales/zh_TW/messages.json @@ -3,6 +3,18 @@ "message": "ä¿è·æ‚¨ä¸å—「å…è²»ã€ã€ä¸å¿ƒåŒ–的內容傳éžç¶²è·¯ï¼ˆCDN)的追蹤。", "description": "Extension description." }, + "disableProtectionTitle": { + "message": "為æ¤ç¶²ç«™åœç”¨ä¿è·", + "description": "Disable protection title." + }, + "enableProtectionTitle": { + "message": "啟用ä¿è·", + "description": "Enable protection title." + }, + "optionsTitle": { + "message": "é¸é …", + "description": "Options title." + }, "blockMissingTitle": { "message": "å°éŽ–缺少資æºæ™‚的連線請求", "description": "Block requests for missing resources title." @@ -26,5 +38,9 @@ "amountInjectedDescription": { "message": "安è£ä»¥ä¾†ï¼Œç”±æœ¬æ©Ÿæª”案所å–代的 CDN 資æºæ•¸é‡ã€‚", "description": "Amount injected description." + }, + "advancedLabel": { + "message": "進階", + "description": "Advanced label." } } diff --git a/pages/options/options.html b/pages/options/options.html index b028b93beae3bb263cdef810d954766c988ea044..14b295251ac2411cb0b744f7f0a0abca91ab361e 100644 --- a/pages/options/options.html +++ b/pages/options/options.html @@ -23,7 +23,7 @@ <input class="input-checkbox" data-option="blockMissing" type="checkbox"> <span data-i18n-content="blockMissingTitle"></span> - <span class="label label-warning">Advanced</span> + <span class="label label-warning" data-i18n-content="advancedLabel"></span> </label> diff --git a/pages/popup/popup.js b/pages/popup/popup.js index 16b110d9ee3287b695d2660b6f865acd14e263da..b7474cfbaab9ffab514f93b925527d7b0e47180d 100644 --- a/pages/popup/popup.js +++ b/pages/popup/popup.js @@ -36,7 +36,9 @@ document.addEventListener('DOMContentLoaded', function () { let optionsButtonElement, i18nElements; optionsButtonElement = document.getElementById('options-button'); - optionsButtonElement.setAttribute('title', 'Options'); + + let optionsTitle = chrome.i18n.getMessage('optionsTitle'); + optionsButtonElement.setAttribute('title', optionsTitle); i18nElements = document.querySelectorAll('[data-i18n-content]'); @@ -99,7 +101,9 @@ document.addEventListener('DOMContentLoaded', function () { if (!backgroundPage.requestAnalyzer.whitelistedDomains[domain]) { protectionToggleElement.setAttribute('class', 'button button-toggle active'); - protectionToggleElement.setAttribute('title', 'Disable protection for this site'); + + let disableProtectionTitle = chrome.i18n.getMessage('disableProtectionTitle'); + protectionToggleElement.setAttribute('title', disableProtectionTitle); protectionToggleElement.addEventListener('click', function () { @@ -114,14 +118,16 @@ document.addEventListener('DOMContentLoaded', function () { }); } - window.close(); + return window.close(); }); }); } else { protectionToggleElement.setAttribute('class', 'button button-toggle'); - protectionToggleElement.setAttribute('title', 'Enable protection for this site'); + + let enableProtectionTitle = chrome.i18n.getMessage('enableProtectionTitle'); + protectionToggleElement.setAttribute('title', enableProtectionTitle); protectionToggleElement.addEventListener('click', function () { @@ -136,7 +142,7 @@ document.addEventListener('DOMContentLoaded', function () { }); } - window.close(); + return window.close(); }); }); }