mirror of
				https://github.com/house-of-abbey/GarminHomeAssistant.git
				synced 2025-11-04 08:58:13 +00:00 
			
		
		
		
	Corrected Czech language strings as advised
Also amended some trivial System.println() strings
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 (menu == null) {
 | 
				
			||||||
                if (! System.getDeviceSettings().phoneConnected) {
 | 
					                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) {
 | 
					                    if (mIsGlance) {
 | 
				
			||||||
                        WatchUi.requestUpdate();
 | 
					                        WatchUi.requestUpdate();
 | 
				
			||||||
                    } else {
 | 
					                    } else {
 | 
				
			||||||
@@ -224,7 +224,7 @@ class HomeAssistantApp extends Application.AppBase {
 | 
				
			|||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    mMenuStatus = WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String;
 | 
					                    mMenuStatus = WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String;
 | 
				
			||||||
                } else if (! System.getDeviceSettings().connectionAvailable) {
 | 
					                } 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) {
 | 
					                    if (mIsGlance) {
 | 
				
			||||||
                        WatchUi.requestUpdate();
 | 
					                        WatchUi.requestUpdate();
 | 
				
			||||||
                    } else {
 | 
					                    } else {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user