mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-05-01 05:02:34 +00:00
Merge pull request #136 from house-of-abbey/135-string-change-request-czech-translation-inappropriate
Corrected Czech language strings as advised
This commit is contained in:
24
resources-ces/strings/corrections.xml
Normal file
24
resources-ces/strings/corrections.xml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
Distributed under MIT Licence
|
||||
See https://github.com/house-of-abbey/GarminHomeAssistantWidget/blob/main/LICENSE.
|
||||
|
||||
|
||||
GarminHomeAssistantWidget is a Garmin IQ widget written in Monkey C. The source code is provided at:
|
||||
https://github.com/house-of-abbey/GarminHomeAssistantWidget.
|
||||
|
||||
P A Abbey & J D Abbey & Someone0nEarth, 15 April 2024
|
||||
|
||||
-->
|
||||
|
||||
<!--
|
||||
Corrections for the Czech language
|
||||
Opravy pro český jazyk
|
||||
-->
|
||||
|
||||
<strings>
|
||||
<string id="Confirm">Určitě?</string>
|
||||
<string id="Available">Dostupné</string>
|
||||
<string id="Menu">Menu</string>
|
||||
</strings>
|
@ -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 {
|
||||
@ -340,7 +340,7 @@ class HomeAssistantApp extends Application.AppBase {
|
||||
WatchUi.requestUpdate();
|
||||
} else {
|
||||
if (! System.getDeviceSettings().phoneConnected) {
|
||||
// System.println("HomeAssistantToggleMenuItem getState(): No Phone connection, skipping API call.");
|
||||
// System.println("HomeAssistantApp getState(): No Phone connection, skipping API call.");
|
||||
mApiStatus = WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String;
|
||||
if (mIsGlance) {
|
||||
WatchUi.requestUpdate();
|
||||
@ -348,7 +348,7 @@ class HomeAssistantApp extends Application.AppBase {
|
||||
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) 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.");
|
||||
mApiStatus = WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String;
|
||||
if (mIsGlance) {
|
||||
WatchUi.requestUpdate();
|
||||
|
Reference in New Issue
Block a user