From 56af27bfb0bd9651d0af22e4f45edab90de7e4c0 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Tue, 2 Sep 2025 21:30:13 -0400 Subject: [PATCH] Add locale entry for diagnostics setting --- playlet-lib/src/locale/en_US/translations.ts | 8 ++++++++ playlet-lib/src/source/utils/Locale.bs | 2 ++ 2 files changed, 10 insertions(+) diff --git a/playlet-lib/src/locale/en_US/translations.ts b/playlet-lib/src/locale/en_US/translations.ts index da86a100..0960bf56 100644 --- a/playlet-lib/src/locale/en_US/translations.ts +++ b/playlet-lib/src/locale/en_US/translations.ts @@ -1380,5 +1380,13 @@ Cache cleared. Cache cleared. + + Enable Diagnostics + Enable Diagnostics + + + Help improve Playlet by enabling diagnostics. This will send anonymous diagnotics data to the developer. + Help improve Playlet by enabling diagnostics. This will send anonymous diagnotics data to the developer. + diff --git a/playlet-lib/src/source/utils/Locale.bs b/playlet-lib/src/source/utils/Locale.bs index bc5809ac..dc0044a1 100644 --- a/playlet-lib/src/source/utils/Locale.bs +++ b/playlet-lib/src/source/utils/Locale.bs @@ -310,6 +310,8 @@ namespace Locale ClearCache = "Clear cache" ClearCacheDescription = "Clear cache from cachefs: and tmp:" CacheCleared = "Cache cleared." + EnableDiagnostics = "Enable Diagnostics" + EnableDiagnosticsDescription = "Help improve Playlet by enabling diagnostics. This will send anonymous diagnotics data to the developer." end enum @locale