From 59240ffb939cba87ed4e6ccd76720bd4fc90a481 Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Fri, 31 Jul 2020 10:12:17 +1000 Subject: [PATCH] Add option to disable icon badge --- src/drivers/webextension/_locales/ca/messages.json | 1 + src/drivers/webextension/_locales/de/messages.json | 1 + src/drivers/webextension/_locales/el/messages.json | 1 + src/drivers/webextension/_locales/en/messages.json | 1 + src/drivers/webextension/_locales/es/messages.json | 1 + src/drivers/webextension/_locales/fa/messages.json | 1 + src/drivers/webextension/_locales/fr/messages.json | 1 + src/drivers/webextension/_locales/gl_ES/messages.json | 1 + src/drivers/webextension/_locales/gr/messages.json | 1 + src/drivers/webextension/_locales/id/messages.json | 1 + src/drivers/webextension/_locales/it/messages.json | 1 + src/drivers/webextension/_locales/ja/messages.json | 1 + src/drivers/webextension/_locales/pl/messages.json | 1 + src/drivers/webextension/_locales/pt/messages.json | 1 + src/drivers/webextension/_locales/pt_BR/messages.json | 1 + src/drivers/webextension/_locales/ro/messages.json | 1 + src/drivers/webextension/_locales/ru/messages.json | 1 + src/drivers/webextension/_locales/sk/messages.json | 1 + src/drivers/webextension/_locales/tr/messages.json | 1 + src/drivers/webextension/_locales/uk/messages.json | 1 + src/drivers/webextension/_locales/uz/messages.json | 1 + src/drivers/webextension/_locales/zh_CN/messages.json | 1 + src/drivers/webextension/_locales/zh_TW/messages.json | 1 + src/drivers/webextension/html/options.html | 6 ++++++ src/drivers/webextension/js/driver.js | 3 ++- src/drivers/webextension/js/options.js | 1 + 26 files changed, 32 insertions(+), 1 deletion(-) diff --git a/src/drivers/webextension/_locales/ca/messages.json b/src/drivers/webextension/_locales/ca/messages.json index 326582e87..03409d3ec 100644 --- a/src/drivers/webextension/_locales/ca/messages.json +++ b/src/drivers/webextension/_locales/ca/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Utilitzar la icona de la tecnologia enlloc del logotip de Wappalyzer" }, "optionTracking": { "message": "Enviar les tecnologies identificades de forma anònima a wappalyzer.com" }, "optionThemeMode": { "message": "Habilitar la compatibilitat de la manera fosc." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Res a fer aquí." }, "noAppsDetected": { "message": "No s'ha detectat cap tecnologia." }, "categoryPin": { "message": "Mostrar sempre la icona" }, diff --git a/src/drivers/webextension/_locales/de/messages.json b/src/drivers/webextension/_locales/de/messages.json index 7928e0e40..4d4ac58b9 100644 --- a/src/drivers/webextension/_locales/de/messages.json +++ b/src/drivers/webextension/_locales/de/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Applikations Icon anstatt des Wappalyzer Icons verwenden" }, "optionTracking": { "message": "Anonyme Statistiken an wappalyzer.com übermitteln" }, "optionThemeMode": { "message": "Aktivieren dunklen Modus Kompatibilität." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Nichts zu tun." }, "noAppsDetected": { "message": "Keine Applikation entdeckt." }, "categoryPin": { "message": "Immer Icon anzeigen" }, diff --git a/src/drivers/webextension/_locales/el/messages.json b/src/drivers/webextension/_locales/el/messages.json index 96d9a07b0..fc87b0f73 100644 --- a/src/drivers/webextension/_locales/el/messages.json +++ b/src/drivers/webextension/_locales/el/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Use application icon instead of Wappalyzer logo" }, "optionTracking": { "message": "Ανώνυμη αποστολή αναφορών για εντοπισμένες εφαρμογές στο wappalyzer.com για έρευνα" }, "optionThemeMode": { "message": "Ενεργοποίηση συμβατότητας σκοτεινό τρόπο." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Καμία ενέργεια." }, "noAppsDetected": { "message": "Δεν ανιχνεύθηκαν εφαρμογές." }, "categoryPin": { "message": "Always show icon" }, diff --git a/src/drivers/webextension/_locales/en/messages.json b/src/drivers/webextension/_locales/en/messages.json index 9b47195a5..3e9dc4eb5 100644 --- a/src/drivers/webextension/_locales/en/messages.json +++ b/src/drivers/webextension/_locales/en/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Use technology icon instead of Wappalyzer logo" }, "optionTracking": { "message": "Anonymously send identified technologies to wappalyzer.com" }, "optionThemeMode": { "message": "Enable dark mode compatibility" }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Nothing to do here." }, "noAppsDetected": { "message": "No technologies detected." }, "categoryPin": { "message": "Always show icon" }, diff --git a/src/drivers/webextension/_locales/es/messages.json b/src/drivers/webextension/_locales/es/messages.json index 23af24217..6f7493571 100644 --- a/src/drivers/webextension/_locales/es/messages.json +++ b/src/drivers/webextension/_locales/es/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Use application icon instead of Wappalyzer logo" }, "optionTracking": { "message": "Enviar informes anónimos sobre las aplicaciones detectadas a wappalyzer.com para análisis" }, "optionThemeMode": { "message": "Habilitar la compatibilidad del modo oscuro." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Nada que hacer aquí." }, "noAppsDetected": { "message": "Aplicaciones no detectadas." }, "categoryPin": { "message": "Always show icon" }, diff --git a/src/drivers/webextension/_locales/fa/messages.json b/src/drivers/webextension/_locales/fa/messages.json index 0834bbfa6..3590d4152 100644 --- a/src/drivers/webextension/_locales/fa/messages.json +++ b/src/drivers/webextension/_locales/fa/messages.json @@ -10,6 +10,7 @@ "optionTracking": { "message": "ارسال فن آوری های شناسایی شده به صورت ناشناس به wappalyzer.com" }, "optionThemeMode": { "message": "فعال کردن حالت سازگاری تاریک." }, "nothingToDo": { "message": "هیچ چیز برای انجام اینجا نیست." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "noAppsDetected": { "message": "هیچ فن‌آوری شناسایی نشده است." }, "categoryPin": { "message": "همیشه نماد را نشان بده" }, "termsAccept": { "message": "قبول" }, diff --git a/src/drivers/webextension/_locales/fr/messages.json b/src/drivers/webextension/_locales/fr/messages.json index 590022d2e..97771540e 100644 --- a/src/drivers/webextension/_locales/fr/messages.json +++ b/src/drivers/webextension/_locales/fr/messages.json @@ -9,6 +9,7 @@ "options": { "message": "Options" }, "optionsSave": { "message": "Sauvegarder les options" }, "optionsSaved": { "message": "Sauvegardé" }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "twitter": { "message": "Suivre Wappalyzer sur Twitter" }, "website": { "message": "Aller sur wappalyzer.com" }, "categoryPin": { "message": " Toujours afficher l'icône" }, diff --git a/src/drivers/webextension/_locales/gl_ES/messages.json b/src/drivers/webextension/_locales/gl_ES/messages.json index f16c329ce..1e3771094 100644 --- a/src/drivers/webextension/_locales/gl_ES/messages.json +++ b/src/drivers/webextension/_locales/gl_ES/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Amosa icono do aplicativo en lugar do de Wappalyzer" }, "optionTracking": { "message": "Envía anonimamente aplicativos identificados a wappalyzer.com" }, "optionThemeMode": { "message": "Permitir a compatibilidade modo escuro." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Nada que facer por aquí." }, "noAppsDetected": { "message": "Non se identificaron aplicativos." }, "categoryPin": { "message": "Amosar sempre icono" }, diff --git a/src/drivers/webextension/_locales/gr/messages.json b/src/drivers/webextension/_locales/gr/messages.json index faed6b123..15f320401 100644 --- a/src/drivers/webextension/_locales/gr/messages.json +++ b/src/drivers/webextension/_locales/gr/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Use application icon instead of Wappalyzer logo" }, "optionTracking": { "message": "Ανώνυμη αποστολή αναφορών για εντοπισμένες εφαρμογές στο wappalyzer.com για έρευνα" }, "optionThemeMode": { "message": "Ενεργοποίηση συμβατότητας σκοτεινό τρόπο." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Καμία ενέργεια." }, "noAppsDetected": { "message": "Δεν ανιχνεύθηκαν εφαρμογές." }, "categoryPin": { "message": "Always show icon" }, diff --git a/src/drivers/webextension/_locales/id/messages.json b/src/drivers/webextension/_locales/id/messages.json index 148757b58..300a4e639 100644 --- a/src/drivers/webextension/_locales/id/messages.json +++ b/src/drivers/webextension/_locales/id/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Gunakan ikon aplikasi dan bukan logo Wappalyzer" }, "optionTracking": { "message": "Secara anonim kirimkan laporan tentang aplikasi yang terdeteksi ke wappalyzer.com untuk penelitian" }, "optionThemeMode": { "message": "Aktifkan kompatibilitas modus gelap." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Tak ada yang dilakukan disini." }, "noAppsDetected": { "message": "Tidak ada aplikasi yang terdeteksi." }, "categoryPin": { "message": "Always show icon" }, diff --git a/src/drivers/webextension/_locales/it/messages.json b/src/drivers/webextension/_locales/it/messages.json index 3bc709449..4c1e3b89b 100644 --- a/src/drivers/webextension/_locales/it/messages.json +++ b/src/drivers/webextension/_locales/it/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Use application icon instead of Wappalyzer logo" }, "optionTracking": { "message": "Inviare anonimamente un report sulle applicazioni rilevate a wappalyzer.com per l'analisi" }, "optionThemeMode": { "message": "Abilita compatibilità con la modalità scura." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Niente da fare qui." }, "noAppsDetected": { "message": "Nessuna applicazione rilevata." }, "categoryPin": { "message": "Always show icon" }, diff --git a/src/drivers/webextension/_locales/ja/messages.json b/src/drivers/webextension/_locales/ja/messages.json index ffa250837..a98fd900c 100644 --- a/src/drivers/webextension/_locales/ja/messages.json +++ b/src/drivers/webextension/_locales/ja/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Wappalyzerロゴの代わりに技術アイコンを使用する" }, "optionTracking": { "message": "特定した技術を匿名でwappalyzer.comに送信する" }, "optionThemeMode": { "message": "Enable dark mode compatibility." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "ここでは特定出来ません。" }, "noAppsDetected": { "message": "技術は検出されませんでした。" }, "categoryPin": { "message": "常にアイコンを表示" }, diff --git a/src/drivers/webextension/_locales/pl/messages.json b/src/drivers/webextension/_locales/pl/messages.json index 606b84eb4..1fca29a4c 100644 --- a/src/drivers/webextension/_locales/pl/messages.json +++ b/src/drivers/webextension/_locales/pl/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Używaj loga aplikacji zamiast Wappalyzer" }, "optionTracking": { "message": "Przesyłaj anonimowe statystyki aplikacji wykrytych przez Wappalyzer do twórców" }, "optionThemeMode": { "message": "Włącz kompatybilność z ciemnym motywem." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Nic tu nie ma." }, "noAppsDetected": { "message": "Nie wykryto żadnych aplikacji." }, "categoryPin": { "message": "Zawsze pokazuj tą ikonę" }, diff --git a/src/drivers/webextension/_locales/pt/messages.json b/src/drivers/webextension/_locales/pt/messages.json index d3146cbb5..ad23baa74 100644 --- a/src/drivers/webextension/_locales/pt/messages.json +++ b/src/drivers/webextension/_locales/pt/messages.json @@ -9,6 +9,7 @@ "options": { "message": "Opções" }, "optionsSave": { "message": "Opções de Guardar" }, "optionsSaved": { "message": "Guardado" }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "twitter": { "message": "Seguir Wappalyzer no Twitter" }, "website": { "message": "Ir para wappalyzer.com" }, "categoryPin": { "message": "Mostrar sempre ícone" }, diff --git a/src/drivers/webextension/_locales/pt_BR/messages.json b/src/drivers/webextension/_locales/pt_BR/messages.json index beedafb6e..39d40c504 100644 --- a/src/drivers/webextension/_locales/pt_BR/messages.json +++ b/src/drivers/webextension/_locales/pt_BR/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Utilizar o ícone da tecnologia ao invés da logo do Wappalyzer" }, "optionTracking": { "message": "Enviar relatórios anônimos para wappalyzer.com sobre tecnologias identificadas" }, "optionThemeMode": { "message": "Permitir a compatibilidade modo escuro." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Nada a fazer aqui." }, "noAppsDetected": { "message": "Nenhuma tecnologia identificada." }, "categoryPin": { "message": "Sempre mostrar ícone" }, diff --git a/src/drivers/webextension/_locales/ro/messages.json b/src/drivers/webextension/_locales/ro/messages.json index 2b5d079c3..a521406e2 100644 --- a/src/drivers/webextension/_locales/ro/messages.json +++ b/src/drivers/webextension/_locales/ro/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Foloseşte icon-ul aplicaţiei în locul logo-ului Wappalyzer" }, "optionTracking": { "message": "Trimite rapoarte anonime despre aplicațiile detectate către wappalyzer.com pentru cercetare" }, "optionThemeMode": { "message": "Activează modul de compatibilitate întuneric." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Nimic de făcut pe pagina curentă." }, "noAppsDetected": { "message": "Nici o aplicație detectată." }, "categoryPin": { "message": "Afișează icon tot timpul" }, diff --git a/src/drivers/webextension/_locales/ru/messages.json b/src/drivers/webextension/_locales/ru/messages.json index 82ae877bd..bb16fcb1a 100644 --- a/src/drivers/webextension/_locales/ru/messages.json +++ b/src/drivers/webextension/_locales/ru/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Использовать значок технологии вместо логотипа Wappalyzer" }, "optionTracking": { "message": "Анонимно отправлять статистику распознанных данных на wappalyzer.com" }, "optionThemeMode": { "message": "Темная тема" }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Здесь нечего делать" }, "noAppsDetected": { "message": "Не удалось определить ни одну технологию" }, "categoryPin": { "message": "Всегда отображать эту категорию иконкой"}, diff --git a/src/drivers/webextension/_locales/sk/messages.json b/src/drivers/webextension/_locales/sk/messages.json index 0c80b36ea..23ea5a96f 100644 --- a/src/drivers/webextension/_locales/sk/messages.json +++ b/src/drivers/webextension/_locales/sk/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Použiť ikonu aplikácie namiesto loga Wappalyzer" }, "optionTracking": { "message": "Anonymne posielať správy o zistených aplikáciách na wappalyzer.com pre výskum" }, "optionThemeMode": { "message": "Povoliť kompatibilitu tmavú režim." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Nie je tu čo robiť." }, "noAppsDetected": { "message": "Žiadne aplikácie neboli zistené." }, "categoryPin": { "message": "Always show icon" }, diff --git a/src/drivers/webextension/_locales/tr/messages.json b/src/drivers/webextension/_locales/tr/messages.json index b80b37dad..8b090d420 100644 --- a/src/drivers/webextension/_locales/tr/messages.json +++ b/src/drivers/webextension/_locales/tr/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Wappalyzer logosu yerine uygulama simgesi kullan" }, "optionTracking": { "message": "Anonim olarak tespit edilen uygulamalar hakkında wappalyzer.com'a araştırma raporları gönderin" }, "optionThemeMode": { "message": "Karanlık modu uyumluluğu etkinleştirin." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Burada yapacak birşey yok." }, "noAppsDetected": { "message": "Uygulamalar tespit edilemedi." }, "categoryPin": { "message": "Her zaman bu kategorinin ikonunu kullan" }, diff --git a/src/drivers/webextension/_locales/uk/messages.json b/src/drivers/webextension/_locales/uk/messages.json index ded5e9266..416902756 100644 --- a/src/drivers/webextension/_locales/uk/messages.json +++ b/src/drivers/webextension/_locales/uk/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Використовувати значок застосунку замість логотипу Wappalyzer" }, "optionTracking": { "message": "Анонімно надсилати статистику розпізнавань на сервер для досліджень" }, "optionThemeMode": { "message": "Включити сумісність темного режиму." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Тут нічого робити." }, "noAppsDetected": { "message": "Нічого не знайдено." }, "categoryPin": { "message": "Завжди показувати іконку Wappalyzer" }, diff --git a/src/drivers/webextension/_locales/uz/messages.json b/src/drivers/webextension/_locales/uz/messages.json index 135a45f63..7ccf0106a 100644 --- a/src/drivers/webextension/_locales/uz/messages.json +++ b/src/drivers/webextension/_locales/uz/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "Wappalyzer logotipi o'rnida dastur logotipidan foydalanish" }, "optionTracking": { "message": "Wappalyzer takomillashtirish uchun hisobotlarni maxfiy ravishda serverga jo'natish" }, "optionThemeMode": { "message": "qorong'i rejimi mosligini yoqish." }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "Bu yerda tekshirib bolmaydi." }, "noAppsDetected": { "message": "Hech qanday dastur aniqlanmadi." }, "categoryPin": { "message": "Always show icon" }, diff --git a/src/drivers/webextension/_locales/zh_CN/messages.json b/src/drivers/webextension/_locales/zh_CN/messages.json index 0f0ace572..6c4126adf 100644 --- a/src/drivers/webextension/_locales/zh_CN/messages.json +++ b/src/drivers/webextension/_locales/zh_CN/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "使用技术的图标代替 Wappalyzer 标识" }, "optionTracking": { "message": "匿名发送检测到的技术至 wappalyzer.com" }, "optionThemeMode": { "message": "启用深色模式的兼容。" }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "这儿啥也没有。" }, "noAppsDetected": { "message": "未检测到任何技术。" }, "categoryPin": { "message": "总是显示图标" }, diff --git a/src/drivers/webextension/_locales/zh_TW/messages.json b/src/drivers/webextension/_locales/zh_TW/messages.json index 9521b86a3..d2401e4e3 100644 --- a/src/drivers/webextension/_locales/zh_TW/messages.json +++ b/src/drivers/webextension/_locales/zh_TW/messages.json @@ -9,6 +9,7 @@ "optionDynamicIcon": { "message": "使用網頁中使用技術的圖示取代 Wappalyzer 的標誌" }, "optionTracking": { "message": "匿名傳送已識別的技術至 wappalyzer.com" }, "optionThemeMode": { "message": "啟用暗模式的兼容性。" }, + "optionBadge": { "message": "Show the number of identified technologies on the icon" }, "nothingToDo": { "message": "這裡什麼也沒有。" }, "noAppsDetected": { "message": "未識別到技術。" }, "categoryPin": { "message": "永遠顯示圖示" }, diff --git a/src/drivers/webextension/html/options.html b/src/drivers/webextension/html/options.html index 7cd30cee3..7f25de49c 100644 --- a/src/drivers/webextension/html/options.html +++ b/src/drivers/webextension/html/options.html @@ -25,6 +25,12 @@   + +