From b7905b1aa14eee63e45e20d30d6f8212fba26e9e Mon Sep 17 00:00:00 2001 From: smkrv <17809065+smkrv@users.noreply.github.com> Date: Thu, 14 Nov 2024 18:35:18 +0300 Subject: [PATCH] Create en.json --- .../ha_text_ai/translations/en.json | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 custom_components/ha_text_ai/translations/en.json diff --git a/custom_components/ha_text_ai/translations/en.json b/custom_components/ha_text_ai/translations/en.json new file mode 100644 index 0000000..769291f --- /dev/null +++ b/custom_components/ha_text_ai/translations/en.json @@ -0,0 +1,27 @@ +{ + "config": { + "step": { + "user": { + "data": { + "api_key": "API Key", + "api_base": "API Base URL", + "request_interval": "Request Interval (seconds)" + } + } + }, + "error": { + "invalid_api_key": "Invalid API key", + "cannot_connect": "Failed to connect to API", + "unknown": "Unexpected error" + } + }, + "options": { + "step": { + "init": { + "data": { + "request_interval": "Request Interval (seconds)" + } + } + } + } +}