Skip to content

Commit

Permalink
Sync to latest core changes and add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
tronikos committed Oct 11, 2024
1 parent 6b58c6b commit 9c1fa3d
Show file tree
Hide file tree
Showing 37 changed files with 1,738 additions and 5 deletions.
4 changes: 3 additions & 1 deletion custom_components/google_assistant_sdk_custom/icons.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"services": {
"send_text_command": "mdi:comment-text-outline"
"send_text_command": {
"service": "mdi:comment-text-outline"
}
}
}
2 changes: 1 addition & 1 deletion custom_components/google_assistant_sdk_custom/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
),
"es": ("Anuncia {0}", "Anuncia en {1} {0}"),
"fr": ("Diffuse {0}", "Diffuse dans {1} {0}"),
"it": ("Trasmetti {0}", "Trasmetti in {1} {0}"),
"it": ("Trasmetti a tutti {0}", "Trasmetti in {1} {0}"),
"ja": ("{0}とブロードキャストして", "{0}と{1}にブロードキャストして"),
"ko": ("{0} 라고 방송해 줘", "{0} 라고 {1}에 방송해 줘"),
"pt": ("Transmitir {0}", "Transmitir {0} para {1}"),
Expand Down
2 changes: 1 addition & 1 deletion custom_components/google_assistant_sdk_custom/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
}
},
"application_credentials": {
"description": "Follow the [instructions]({more_info_url}) for [OAuth consent screen]({oauth_consent_url}) to give Home Assistant access to your Google Assistant SDK. You also need to create Application Credentials linked to your account:\n1. Go to [Credentials]({oauth_creds_url}) and click **Create Credentials**.\n1. From the drop-down list select **OAuth client ID**.\n1. Select **Web application** for the Application Type.\n\n"
"description": "Follow the [instructions]({more_info_url}) for [OAuth consent screen]({oauth_consent_url}) to give Home Assistant access to your Google Assistant SDK. You also need to create Application Credentials linked to your account:\n1. Go to [Credentials]({oauth_creds_url}) and select **Create Credentials**.\n1. From the drop-down list select **OAuth client ID**.\n1. Select **Web application** for the Application Type."
},
"services": {
"send_text_command": {
Expand Down
48 changes: 48 additions & 0 deletions custom_components/google_assistant_sdk_custom/translations/bg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"config": {
"abort": {
"already_configured": "\u0410\u043a\u0430\u0443\u043d\u0442\u044a\u0442 \u0432\u0435\u0447\u0435 \u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0430\u043d",
"cannot_connect": "\u041d\u0435\u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435",
"missing_configuration": "\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044a\u0442 \u043d\u0435 \u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0430\u043d. \u041c\u043e\u043b\u044f, \u0441\u043b\u0435\u0434\u0432\u0430\u0439\u0442\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f\u0442\u0430.",
"reauth_successful": "\u041f\u043e\u0432\u0442\u043e\u0440\u043d\u0430\u0442\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u043a\u0430\u0446\u0438\u044f \u0431\u0435\u0448\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u0430",
"unknown": "\u041d\u0435\u043e\u0447\u0430\u043a\u0432\u0430\u043d\u0430 \u0433\u0440\u0435\u0448\u043a\u0430"
},
"create_entry": {
"default": "\u0423\u0441\u043f\u0435\u0448\u043d\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u043a\u0430\u0446\u0438\u044f"
},
"step": {
"auth": {
"title": "\u0421\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 \u0430\u043a\u0430\u0443\u043d\u0442 \u0432 Google"
},
"pick_implementation": {
"title": "\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043c\u0435\u0442\u043e\u0434 \u0437\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u043a\u0430\u0446\u0438\u044f"
},
"reauth_confirm": {
"description": "\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f\u0442\u0430 Google Assistant SDK \u0441\u0435 \u043d\u0443\u0436\u0434\u0430\u0435 \u043e\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u043a\u0430\u0446\u0438\u044f \u043d\u0430 \u0432\u0430\u0448\u0438\u044f \u0430\u043a\u0430\u0443\u043d\u0442",
"title": "\u0410\u0432\u0442\u0435\u043d\u0442\u0438\u043a\u0430\u0446\u0438\u044f\u0442\u0430 \u0437\u0430 {name} \u0435 \u0438\u0437\u0442\u0435\u043a\u043b\u0430"
}
}
},
"options": {
"step": {
"init": {
"data": {
"enable_conversation_agent": "\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0430\u0433\u0435\u043d\u0442\u0430 \u0437\u0430 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440",
"language_code": "\u0415\u0437\u0438\u043a\u043e\u0432 \u043a\u043e\u0434"
},
"description": "\u0417\u0430\u0434\u0430\u0439\u0442\u0435 \u0435\u0437\u0438\u043a \u0437\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 Google Assistant \u0438 \u0434\u0430\u043b\u0438 \u0438\u0441\u043a\u0430\u0442\u0435 \u0434\u0430 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u0442\u0435 \u0430\u0433\u0435\u043d\u0442\u0430 \u0437\u0430 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440."
}
}
},
"services": {
"send_text_command": {
"fields": {
"command": {
"description": "\u041a\u043e\u043c\u0430\u043d\u0434\u0430(\u0438) \u0437\u0430 \u0438\u0437\u043f\u0440\u0430\u0449\u0430\u043d\u0435 \u0434\u043e Google Assistant.",
"name": "\u041a\u043e\u043c\u0430\u043d\u0434\u0430"
}
},
"name": "\u0418\u0437\u043f\u0440\u0430\u0449\u0430\u043d\u0435 \u043d\u0430 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430"
}
}
}
58 changes: 58 additions & 0 deletions custom_components/google_assistant_sdk_custom/translations/ca.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"config": {
"abort": {
"already_configured": "El compte ja est\u00e0 configurat",
"already_in_progress": "El flux de configuraci\u00f3 ja est\u00e0 en curs",
"cannot_connect": "Ha fallat la connexi\u00f3",
"invalid_access_token": "Token d'acc\u00e9s inv\u00e0lid",
"missing_configuration": "El component no est\u00e0 configurat. Mira'n la documentaci\u00f3.",
"oauth_error": "S'han rebut dades token inv\u00e0lides.",
"oauth_failed": "S'ha produ\u00eft un error en obtenir el 'token' d'acc\u00e9s.",
"oauth_timeout": "Temps m\u00e0xim d'espera de resoluci\u00f3 de 'token' OAuth esgotat.",
"oauth_unauthorized": "Error d'autoritzaci\u00f3 OAuth durant l'obtenci\u00f3 del 'token' d'acc\u00e9s.",
"reauth_successful": "Re-autenticaci\u00f3 realitzada correctament",
"timeout_connect": "S'ha esgotat el temps m\u00e0xim d'espera per establir connexi\u00f3",
"unknown": "Error inesperat"
},
"create_entry": {
"default": "Autenticaci\u00f3 exitosa"
},
"step": {
"auth": {
"title": "Vinculaci\u00f3 amb compte de Google"
},
"pick_implementation": {
"title": "Selecciona el m\u00e8tode d'autenticaci\u00f3"
},
"reauth_confirm": {
"description": "La integraci\u00f3 Google Assistant SDK ha de tornar a autenticar-se amb el teu compte",
"title": "L'autenticaci\u00f3 de {name} ha caducat"
}
}
},
"options": {
"step": {
"init": {
"data": {
"enable_conversation_agent": "Activa l'agent de conversa",
"language_code": "Codi d'idioma"
},
"description": "Defineix l'idioma de les interaccions amb Google Assisant i tria si voleu activar l'agent de conversa."
}
}
},
"services": {
"send_text_command": {
"fields": {
"command": {
"description": "Comanda(es) a enviar a Google Assistant",
"name": "Comanda"
},
"media_player": {
"name": "Entitat de reproductor multim\u00e8dia"
}
},
"name": "Envia comanda de text"
}
}
}
63 changes: 63 additions & 0 deletions custom_components/google_assistant_sdk_custom/translations/cs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"application_credentials": {
"description": "Podle [pokyn\u016f]({more_info_url}) pro [obrazovka souhlasu OAuth]({oauth_consent_url}) ud\u011blte Home Assistantovi p\u0159\u00edstup k SDK Google Assistant. Mus\u00edte tak\u00e9 vytvo\u0159it p\u0159ihla\u0161ovac\u00ed \u00fadaje aplikace propojen\u00e9 s va\u0161\u00edm \u00fa\u010dtem:\n1. P\u0159ejd\u011bte na [Credentials]({oauth_creds_url}) a klepn\u011bte na **Create Credentials**.\n2. Z rozev\u00edrac\u00edho seznamu vyberte **OAuth client ID**.\n3. Jako Application Type vyberte **Web application**."
},
"config": {
"abort": {
"already_configured": "\u00da\u010det je ji\u017e nastaven",
"already_in_progress": "Nastaven\u00ed ji\u017e prob\u00edh\u00e1",
"cannot_connect": "Nepoda\u0159ilo se p\u0159ipojit",
"invalid_access_token": "Neplatn\u00fd p\u0159\u00edstupov\u00fd token",
"missing_configuration": "Komponenta nen\u00ed nastavena. Postupujte podle dokumentace.",
"oauth_error": "P\u0159ijata neplatn\u00e1 data tokenu.",
"oauth_failed": "Chyba p\u0159i z\u00edsk\u00e1v\u00e1n\u00ed p\u0159\u00edstupov\u00e9ho tokenu.",
"oauth_timeout": "P\u0159i \u0159e\u0161en\u00ed tokenu OAuth vypr\u0161el \u010dasov\u00fd limit.",
"oauth_unauthorized": "Chyba autorizace OAuth p\u0159i z\u00edsk\u00e1v\u00e1n\u00ed p\u0159\u00edstupov\u00e9ho tokenu.",
"reauth_successful": "Op\u011btovn\u00e9 ov\u011b\u0159en\u00ed bylo \u00fasp\u011b\u0161n\u00e9",
"timeout_connect": "Vypr\u0161el \u010dasov\u00fd limit pro nav\u00e1z\u00e1n\u00ed spojen\u00ed",
"unknown": "Neo\u010dek\u00e1van\u00e1 chyba"
},
"create_entry": {
"default": "\u00dasp\u011b\u0161n\u011b ov\u011b\u0159eno"
},
"step": {
"auth": {
"title": "Propojit \u00fa\u010det Google"
},
"pick_implementation": {
"title": "Vybrat metodu ov\u011b\u0159en\u00ed"
},
"reauth_confirm": {
"description": "Integrace Google Assistant SDK pot\u0159ebuje znovu ov\u011b\u0159it v\u00e1\u0161 \u00fa\u010det",
"title": "Platnost ov\u011b\u0159en\u00ed pro {name} vypr\u0161ela"
}
}
},
"options": {
"step": {
"init": {
"data": {
"enable_conversation_agent": "Povolit agenta konverzace",
"language_code": "K\u00f3d jazyka"
},
"description": "Nastav\u00ed jazyk pro interakce s Asistentem Google a zda chcete povolit agenta konverzace."
}
}
},
"services": {
"send_text_command": {
"description": "Ode\u0161le p\u0159\u00edkaz jako textov\u00fd dotaz Asistentovi Google.",
"fields": {
"command": {
"description": "P\u0159\u00edkaz k odesl\u00e1n\u00ed Asistentovi Google.",
"name": "P\u0159\u00edkaz"
},
"media_player": {
"description": "N\u00e1zvy entit p\u0159ehr\u00e1va\u010de m\u00e9di\u00ed, na kter\u00fdch se m\u00e1 p\u0159ehr\u00e1t odpov\u011b\u010f.",
"name": "Entita p\u0159ehr\u00e1va\u010de m\u00e9di\u00ed"
}
},
"name": "Odeslat textov\u00fd p\u0159\u00edkaz"
}
}
}
41 changes: 41 additions & 0 deletions custom_components/google_assistant_sdk_custom/translations/da.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"config": {
"abort": {
"already_configured": "Kontoen er allerede konfigureret",
"already_in_progress": "Konfigurationsflow er allerede i gang",
"cannot_connect": "Forbindelse mislykkedes",
"invalid_access_token": "Ugyldigt adgangstoken",
"missing_configuration": "Komponenten er ikke konfigureret. F\u00f8lg venligst dokumentationen.",
"oauth_error": "Modtog ugyldige token-data.",
"reauth_successful": "Genautentificering lykkedes",
"timeout_connect": "Timeout ved oprettelse af forbindelse",
"unknown": "Uventet fejl"
},
"create_entry": {
"default": "Godkendelse lykkedes"
},
"step": {
"auth": {
"title": "Tilknyt Google-konto"
},
"pick_implementation": {
"title": "V\u00e6lg godkendelsesmetode"
},
"reauth_confirm": {
"description": "Google Assistent SDK-integrationen skal godkende din konto igen",
"title": "Godkendelse udl\u00f8bet for {name}"
}
}
},
"options": {
"step": {
"init": {
"data": {
"enable_conversation_agent": "Aktiv\u00e9r samtaleagenten",
"language_code": "Sprogkode"
},
"description": "Indstil sprog for interaktioner med Google Assistant, og om du vil aktivere samtaleagenten."
}
}
}
}
63 changes: 63 additions & 0 deletions custom_components/google_assistant_sdk_custom/translations/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"application_credentials": {
"description": "Folge den [Anweisungen]({more_info_url}) f\u00fcr den [OAuth-Zustimmungsbildschirm]({oauth_consent_url}), um Home Assistant Zugriff auf dein Google Assistant SDK zu gew\u00e4hren. Du musst auch mit deinem Konto verkn\u00fcpfte Anwendungs-Anmeldeinformationen erstellen:\n1. Gehe zu [Anmeldeinformationen]({oauth_creds_url}) und klicke auf **Anmeldeinformationen erstellen**.\n2. W\u00e4hle aus der Dropdown-Liste **OAuth-Client-ID** aus.\n3. W\u00e4hle **Webanwendung** als Anwendungstyp aus."
},
"config": {
"abort": {
"already_configured": "Konto wurde bereits konfiguriert",
"already_in_progress": "Der Konfigurationsablauf wird bereits ausgef\u00fchrt",
"cannot_connect": "Verbindung fehlgeschlagen",
"invalid_access_token": "Ung\u00fcltiger Zugriffs-Token",
"missing_configuration": "Die Komponente ist nicht konfiguriert. Bitte der Dokumentation folgen.",
"oauth_error": "Ung\u00fcltige Token-Daten empfangen.",
"oauth_failed": "Fehler beim Abrufen des Zugriffstokens.",
"oauth_timeout": "Zeit\u00fcberschreitung beim Aufl\u00f6sen des OAuth-Tokens.",
"oauth_unauthorized": "OAuth-Autorisierungsfehler beim Abrufen des Zugriffstokens.",
"reauth_successful": "Die erneute Authentifizierung war erfolgreich",
"timeout_connect": "Zeit\u00fcberschreitung beim Verbindungsaufbau",
"unknown": "Unerwarteter Fehler"
},
"create_entry": {
"default": "Erfolgreich authentifiziert"
},
"step": {
"auth": {
"title": "Google-Konto verkn\u00fcpfen"
},
"pick_implementation": {
"title": "W\u00e4hle die Authentifizierungsmethode"
},
"reauth_confirm": {
"description": "Die Google Assistant SDK-Integration muss dein Konto erneut authentifizieren",
"title": "Die Authentifizierung ist abgelaufen f\u00fcr {name}"
}
}
},
"options": {
"step": {
"init": {
"data": {
"enable_conversation_agent": "Aktiviere den Konversationsagenten",
"language_code": "Sprachcode"
},
"description": "Lege die Sprache f\u00fcr Interaktionen mit Google Assistant fest und ob du den Konversationsagenten aktivieren m\u00f6chtest."
}
}
},
"services": {
"send_text_command": {
"description": "Sendet einen Befehl als Textanfrage an Google Assistant.",
"fields": {
"command": {
"description": "Befehl(e) zum Senden an Google Assistant.",
"name": "Befehl"
},
"media_player": {
"description": "Namen der Mediaplayer-Entit\u00e4ten, auf denen die Antwort abgespielt werden soll.",
"name": "Mediaplayer-Entit\u00e4t"
}
},
"name": "Textbefehl senden"
}
}
}
Loading

0 comments on commit 9c1fa3d

Please sign in to comment.