From 5b06317bafc05f97d8b658b9f15a6cd3c7a3dc86 Mon Sep 17 00:00:00 2001 From: balgerion <133121849+balgerion@users.noreply.github.com> Date: Mon, 12 May 2025 15:23:18 +0200 Subject: [PATCH] Update en.json --- custom_components/pstryk/translations/en.json | 54 ++++++++++++------- 1 file changed, 35 insertions(+), 19 deletions(-) diff --git a/custom_components/pstryk/translations/en.json b/custom_components/pstryk/translations/en.json index d8fa7f6..502a9dd 100644 --- a/custom_components/pstryk/translations/en.json +++ b/custom_components/pstryk/translations/en.json @@ -3,44 +3,60 @@ "step": { "user": { "title": "Pstryk Energy", - "description": "Konfiguracja integracji cen energii Pstryk", + "description": "Configuration of Pstryk energy pricing integration", "data": { - "api_key": "Klucz API", - "buy_top": "Liczba najlepszych cen zakupu", - "sell_top": "Liczba najlepszych cen sprzedaży", - "buy_worst": "Liczba najgorszych cen zakupu", - "sell_worst": "Liczba najgorszych cen sprzedaży" + "api_key": "API Key", + "buy_top": "Number of best buy prices", + "sell_top": "Number of best sell prices", + "buy_worst": "Number of worst buy prices", + "sell_worst": "Number of worst sell prices", + "mqtt_enabled": "Enable EVCC MQTT Bridge", + "mqtt_topic_buy": "MQTT Topic for EVCC Buy Prices", + "mqtt_topic_sell": "MQTT Topic for EVCC Sell Prices" } } }, "error": { - "invalid_api_key": "Nieprawidłowy klucz API" + "invalid_api_key": "Invalid API key", + "mqtt_not_configured": "MQTT integration not configured or not working. Please configure the MQTT integration in Home Assistant before enabling EVCC MQTT Bridge." } }, "options": { "step": { "init": { - "title": "Opcje Pstryk Energy", + "title": "Pstryk Energy Options", "data": { - "buy_top": "Liczba najlepszych cen zakupu", - "sell_top": "Liczba najlepszych cen sprzedaży", - "buy_worst": "Liczba najgorszych cen zakupu", - "sell_worst": "Liczba najgorszych cen sprzedaży" + "buy_top": "Number of best buy prices", + "sell_top": "Number of best sell prices", + "buy_worst": "Number of worst buy prices", + "sell_worst": "Number of worst sell prices", + "mqtt_enabled": "Enable EVCC MQTT Bridge", + "mqtt_topic_buy": "MQTT Topic for EVCC Buy Prices", + "mqtt_topic_sell": "MQTT Topic for EVCC Sell Prices" } } } }, "entity": { "sensor": { - "next_hour": "Następna godzina" + "next_hour": "Next hour", + "using_cached_data": "Using cached data" } }, + "mqtt": { + "publishing_success": "Successfully published {count} prices to MQTT topic {topic}", + "publishing_error": "Error publishing to MQTT: {error}", + "mqtt_disabled": "MQTT integration is not enabled" + }, "debug": { - "looking_for_next_hour": "Szukam ceny dla następnej godziny: {next_hour}", - "looking_for_next_day": "Szukam ceny dla następnego dnia w pełnej liście cen (48h)", - "error_processing_date": "Błąd podczas przetwarzania daty: {error}", - "error_processing_full_list": "Błąd podczas przetwarzania daty dla pełnej listy: {error}", - "no_price_midnight": "Nie znaleziono ceny dla północy następnego dnia. Dane prawdopodobnie jeszcze nie załadowane.", - "no_price_next_hour": "Nie znaleziono ceny dla następnej godziny: {next_hour}" + "looking_for_next_hour": "Looking for price for next hour: {next_hour}", + "looking_for_next_day": "Looking for next day price in full price list (48h)", + "error_processing_date": "Error processing date: {error}", + "error_processing_full_list": "Error processing date for full list: {error}", + "no_price_midnight": "No price found for next day midnight. Data probably not loaded yet.", + "no_price_next_hour": "No price found for next hour: {next_hour}", + "retry_attempt": "Retry {retry}/{max_retries} after error: {error} (delay: {delay}s)", + "timeout_after_retries": "Timeout fetching {price_type} data from API after {retries} retries", + "api_timeout_message": "API timeout after {timeout} seconds (tried {retries} times)" } }