From fd10e3ae08b015f4e8b31d7db9ef2e1548ddbf80 Mon Sep 17 00:00:00 2001 From: Bolke de Bruin Date: Thu, 11 Apr 2024 09:13:18 +0200 Subject: [PATCH] Move to translations --- custom_components/button_plus/strings.json | 14 -------------- custom_components/button_plus/translations/en.json | 10 ++++++++++ 2 files changed, 10 insertions(+), 14 deletions(-) delete mode 100644 custom_components/button_plus/strings.json diff --git a/custom_components/button_plus/strings.json b/custom_components/button_plus/strings.json deleted file mode 100644 index 1f9a6e0..0000000 --- a/custom_components/button_plus/strings.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "config": { - "services": { - "long_press": { - "name": "Long press", - "description": "Long press on a button on button+" - }, - "release": { - "name": "Release", - "description": "Release of a button on button+" - } - } - } -} \ No newline at end of file diff --git a/custom_components/button_plus/translations/en.json b/custom_components/button_plus/translations/en.json index dcd39af..d65ebcb 100644 --- a/custom_components/button_plus/translations/en.json +++ b/custom_components/button_plus/translations/en.json @@ -45,6 +45,16 @@ }, "description": "To continue, pick the desired option to setup your Button+ devices." } + }, + "services": { + "long_press": { + "name": "Long press", + "description": "Long press on a button on button+" + }, + "release": { + "name": "Release", + "description": "Release of a button on button+" + } } } }