Просмотр исходного кода

Fix translations syntax.

Unlike python, commas on the last item in a list are not allowed.
Jason Rumney 4 лет назад
Родитель
Сommit
7dc1685137
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      custom_components/tuya_local/translations/en.json

+ 4 - 4
custom_components/tuya_local/translations/en.json

@@ -8,19 +8,19 @@
 		"data": {
 		    "host": "IP address or hostname",
 		    "device_id": "Device ID (uuid)",
-		    "local_key": "Local key",
+		    "local_key": "Local key"
 		}
             }
 	    "type": {
 		"title": "Choose the type of device",
 		"description": "Choose the type that matches your device",
 		"data": {
-		    "type": "Device type",
+		    "type": "Device type"
 		}
 	    }
 	    "entities": {
 		"title": "Device details",
-		"description": "Choose a name for this device, and which entities will be enabled"
+		"description": "Choose a name for this device, and which entities will be enabled",
 		"data": {
 		    "name": "Name",
 		    "humidifier": "Include a humidifier entity",
@@ -28,7 +28,7 @@
 		    "climate": "Include a climate entity",
 		    "light": "Include a light entity",
 		    "lock": "Include a lock entity",
-		    "switch": "Include a switch entity",
+		    "switch": "Include a switch entity"
 		}
 	}
     },