From b17d12fe540b7e0ae0a7b67abbcedd1942f49ecc Mon Sep 17 00:00:00 2001 From: Philip Abbey Date: Mon, 15 Apr 2024 19:29:32 +0100 Subject: [PATCH] Corrected Czech language strings as advised Also amended some trivial System.println() strings --- resources-ces/strings/corrections.xml | 24 ++++++++++++++++++++++++ source/HomeAssistantApp.mc | 4 ++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 resources-ces/strings/corrections.xml diff --git a/resources-ces/strings/corrections.xml b/resources-ces/strings/corrections.xml new file mode 100644 index 0000000..b6461a4 --- /dev/null +++ b/resources-ces/strings/corrections.xml @@ -0,0 +1,24 @@ + + + + + + + Určitě? + Dostupné + Menu + diff --git a/source/HomeAssistantApp.mc b/source/HomeAssistantApp.mc index 5fef154..8521ba7 100644 --- a/source/HomeAssistantApp.mc +++ b/source/HomeAssistantApp.mc @@ -216,7 +216,7 @@ class HomeAssistantApp extends Application.AppBase { } if (menu == null) { if (! System.getDeviceSettings().phoneConnected) { - // System.println("HomeAssistantToggleMenuItem getState(): No Phone connection, skipping API call."); + // System.println("HomeAssistantApp getState(): No Phone connection, skipping API call."); if (mIsGlance) { WatchUi.requestUpdate(); } else { @@ -224,7 +224,7 @@ class HomeAssistantApp extends Application.AppBase { } mMenuStatus = WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String; } else if (! System.getDeviceSettings().connectionAvailable) { - // System.println("HomeAssistantToggleMenuItem getState(): No Internet connection, skipping API call."); + // System.println("HomeAssistantApp getState(): No Internet connection, skipping API call."); if (mIsGlance) { WatchUi.requestUpdate(); } else {