From 077727c1be8ba372083b92ef2b25415744e5e9fd Mon Sep 17 00:00:00 2001 From: Juan Gilsanz Polo Date: Sun, 15 Oct 2023 23:47:42 +0200 Subject: [PATCH] Fixed spelling issue --- .gitignore | 4 +++- l10n.yaml | 3 ++- lib/l10n/app_en.arb | 4 ++-- lib/l10n/app_es.arb | 4 ++-- lib/l10n/app_pl.arb | 4 ++-- lib/l10n/app_zh.arb | 4 ++-- lib/l10n/app_zh_CN.arb | 4 ++-- lib/screens/home/combined_chart.dart | 4 ++-- lib/screens/home/home.dart | 2 +- 9 files changed, 18 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 429a1bd..6f4a17f 100644 --- a/.gitignore +++ b/.gitignore @@ -46,4 +46,6 @@ app.*.map.json /android/app/profile /android/app/release -/debian/packages \ No newline at end of file +/debian/packages + +untranslated.json \ No newline at end of file diff --git a/l10n.yaml b/l10n.yaml index 4e6692e..764d005 100644 --- a/l10n.yaml +++ b/l10n.yaml @@ -1,3 +1,4 @@ arb-dir: lib/l10n template-arb-file: app_en.arb -output-localization-file: app_localizations.dart \ No newline at end of file +output-localization-file: app_localizations.dart +untranslated-messages-file: untranslated.json \ No newline at end of file diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 41fb9ba..f54e491 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -171,7 +171,7 @@ "dnsQueries": "DNS queries", "average": "Average", "blockedFilters": "Blocked by filters", - "malwarePhisingBlocked": "Blocked malware/phising", + "malwarePhishingBlocked": "Blocked malware/phishing", "blockedAdultWebsites": "Blocked adult websites", "generalSettings": "General settings", "generalSettingsDescription": "Various different settings", @@ -651,7 +651,7 @@ "october": "October", "november": "November", "december": "December", - "malwarePhising": "Malware/phising", + "malwarePhishing": "Malware/phishing", "queries": "Queries", "adultSites": "Adult sites", "quickFilters": "Quick filters", diff --git a/lib/l10n/app_es.arb b/lib/l10n/app_es.arb index 2e0734c..d0c7a15 100644 --- a/lib/l10n/app_es.arb +++ b/lib/l10n/app_es.arb @@ -171,7 +171,7 @@ "dnsQueries": "Consultas DNS", "average": "Promedio", "blockedFilters": "Bloqueado por filtros", - "malwarePhisingBlocked": "Malware/phising bloqueado", + "malwarePhishingBlocked": "Malware/phising bloqueado", "blockedAdultWebsites": "Sitios para adultos bloqueados", "generalSettings": "Ajustes generales", "generalSettingsDescription": "Varios ajustes generales", @@ -651,7 +651,7 @@ "october": "Octubre", "november": "Noviembre", "december": "Diciembre", - "malwarePhising": "Malware/phising", + "malwarePhishing": "Malware/phising", "queries": "Peticiones", "adultSites": "Sitios de adultos", "quickFilters": "Filtros rápidos", diff --git a/lib/l10n/app_pl.arb b/lib/l10n/app_pl.arb index a3dabaa..077fcbb 100644 --- a/lib/l10n/app_pl.arb +++ b/lib/l10n/app_pl.arb @@ -170,7 +170,7 @@ "dnsQueries": "Zapytania DNS", "average": "Średnia", "blockedFilters": "Zablokowane przez filtry", - "malwarePhisingBlocked": "Zablokowane złośliwe oprogramowanie/phishing", + "malwarePhishingBlocked": "Zablokowane złośliwe oprogramowanie/phishing", "blockedAdultWebsites": "Zablokowane witryny dla dorosłych", "generalSettings": "Ustawienia główne", "generalSettingsDescription": "Różne ustawienia", @@ -649,7 +649,7 @@ "october": "Październik", "november": "Listopad", "december": "Grudzień", - "malwarePhising": "Złośliwe oprogramowanie / wyłudzanie informacji", + "malwarePhishing": "Złośliwe oprogramowanie / wyłudzanie informacji", "queries": "Zapytania", "adultSites": "Strony dla dorosłych", "quickFilters": "Szybkie filtry", diff --git a/lib/l10n/app_zh.arb b/lib/l10n/app_zh.arb index 796a6c6..8d246eb 100644 --- a/lib/l10n/app_zh.arb +++ b/lib/l10n/app_zh.arb @@ -170,7 +170,7 @@ "dnsQueries": "DNS 查询", "average": "平均值", "blockedFilters": "被过滤器拦截", - "malwarePhisingBlocked": "被拦截的恶意/钓鱼网站", + "malwarePhishingBlocked": "被拦截的恶意/钓鱼网站", "blockedAdultWebsites": "被拦截的成人网站", "generalSettings": "常规设置", "generalSettingsDescription": "各种不同的设置", @@ -649,7 +649,7 @@ "october": "10月", "november": "11月", "december": "12月", - "malwarePhising": "恶意/钓鱼网站", + "malwarePhishing": "恶意/钓鱼网站", "queries": "查询", "adultSites": "成人网站", "quickFilters": "状态过滤器", diff --git a/lib/l10n/app_zh_CN.arb b/lib/l10n/app_zh_CN.arb index 796a6c6..8d246eb 100644 --- a/lib/l10n/app_zh_CN.arb +++ b/lib/l10n/app_zh_CN.arb @@ -170,7 +170,7 @@ "dnsQueries": "DNS 查询", "average": "平均值", "blockedFilters": "被过滤器拦截", - "malwarePhisingBlocked": "被拦截的恶意/钓鱼网站", + "malwarePhishingBlocked": "被拦截的恶意/钓鱼网站", "blockedAdultWebsites": "被拦截的成人网站", "generalSettings": "常规设置", "generalSettingsDescription": "各种不同的设置", @@ -649,7 +649,7 @@ "october": "10月", "november": "11月", "december": "12月", - "malwarePhising": "恶意/钓鱼网站", + "malwarePhishing": "恶意/钓鱼网站", "queries": "查询", "adultSites": "成人网站", "quickFilters": "状态过滤器", diff --git a/lib/screens/home/combined_chart.dart b/lib/screens/home/combined_chart.dart index d7328d1..f781b7d 100644 --- a/lib/screens/home/combined_chart.dart +++ b/lib/screens/home/combined_chart.dart @@ -79,13 +79,13 @@ class CombinedHomeChart extends StatelessWidget { replacedSafeBrowsing: appConfigProvider.hideZeroValues == true ? removeZero(statusProvider.serverStatus!.stats.replacedSafebrowsing) != null ? CombinedChartItem( - label: AppLocalizations.of(context)!.malwarePhisingBlocked, + label: AppLocalizations.of(context)!.malwarePhishingBlocked, color: Colors.green, data: statusProvider.serverStatus!.stats.replacedSafebrowsing ) : null : CombinedChartItem( - label: AppLocalizations.of(context)!.malwarePhisingBlocked, + label: AppLocalizations.of(context)!.malwarePhishingBlocked, color: Colors.green, data: statusProvider.serverStatus!.stats.replacedSafebrowsing ) , diff --git a/lib/screens/home/home.dart b/lib/screens/home/home.dart index 7acfa63..01d251d 100644 --- a/lib/screens/home/home.dart +++ b/lib/screens/home/home.dart @@ -149,7 +149,7 @@ class _HomeState extends State { widthFactor: width > 700 ? 0.5 : 1, child: HomeChart( data: statusProvider.serverStatus!.stats.replacedSafebrowsing, - label: AppLocalizations.of(context)!.malwarePhisingBlocked, + label: AppLocalizations.of(context)!.malwarePhishingBlocked, primaryValue: intFormat(statusProvider.serverStatus!.stats.numReplacedSafebrowsing, Platform.localeName), secondaryValue: "${statusProvider.serverStatus!.stats.numDnsQueries > 0 ? doubleFormat((statusProvider.serverStatus!.stats.numReplacedSafebrowsing/statusProvider.serverStatus!.stats.numDnsQueries)*100, Platform.localeName) : 0}%", color: Colors.green,