diff --git a/lambda/language_strings.json b/lambda/language_strings.json index c8880764..6910b87f 100644 --- a/lambda/language_strings.json +++ b/lambda/language_strings.json @@ -69,6 +69,20 @@ "STOP_MESSAGE": "Tchau!", "WELCOME_MESSAGE": "Bem vindo ao {}. A entrada de texto é: {}" }, + "es": { + "ERROR_401": "Parece que no tengo permisos para acceder a home assistant. Por favor, comprueba el enlace de cuenta o el token de acceso y vuelve a intentarlo.", + "ERROR_404": "Parece que no puedo encontrar la entidad de texto de entrada. Por favor, comprueba que la has añadido a home assistant y vuelve a intentarlo.", + "ERROR_400": "No puedo comunicarme con home assistant. Por favor, comprueba los registros de Amazon CloudWatch en la consola de desarrollo de habilidades personalizadas.", + "ERROR_ACOUSTIC": "Lo siento, no he entendido... {}", + "ERROR_CONFIG": "Lo siento, tengo problemas, por favor, comprueba tu configuración en la habilidad personalizada y vuelve a intentarlo.", + "HELP_MESSAGE": "Esta skill debería de responder solo cuando se invoque desde home assistant.", + "OKAY": "Okay", + "STRING": "Has seleccionado {}", + "SELECTED": "Has seleccionado {}", + "SKILL_NAME": "home assistant custom actions", + "STOP_MESSAGE": "Adiós!", + "WELCOME_MESSAGE": "Bienvenido a {}. El texto de entrada es: {}" + }, "ft-FR": { "SKILL_NAME": "Actionable notifications" }, @@ -80,5 +94,8 @@ }, "pt-BR": { "SKILL_NAME": "Ações customizadas" + }, + "es-ES": { + "SKILL_NAME": "Acciones personalizadas" } } diff --git a/skill-package/interactionModels/custom/es-ES.json b/skill-package/interactionModels/custom/es-ES.json new file mode 100644 index 00000000..0e5cec3a --- /dev/null +++ b/skill-package/interactionModels/custom/es-ES.json @@ -0,0 +1,116 @@ +{ + "interactionModel": { + "languageModel": { + "invocationName": "actionable notifications", + "intents": [ + { + "name": "AMAZON.CancelIntent", + "samples": [] + }, + { + "name": "AMAZON.HelpIntent", + "samples": [] + }, + { + "name": "AMAZON.StopIntent", + "samples": [] + }, + { + "name": "AMAZON.NavigateHomeIntent", + "samples": [] + }, + { + "name": "AMAZON.YesIntent", + "samples": ["si"] + }, + { + "name": "AMAZON.NoIntent", + "samples": ["no"] + }, + { + "name": "String", + "slots": [ + { + "name": "Strings", + "type": "AMAZON.SearchQuery" + } + ], + "samples": [" {Strings}"] + }, + { + "name": "Select", + "slots": [ + { + "name": "Selections", + "type": "Selections" + } + ], + "samples": ["{Selections}"] + }, + { + "name": "Number", + "slots": [ + { + "name": "Numbers", + "type": "AMAZON.FOUR_DIGIT_NUMBER" + } + ], + "samples": ["{Numbers}"] + }, + { + "name": "Duration", + "slots": [ + { + "name": "Durations", + "type": "AMAZON.DURATION" + } + ], + "samples": ["{Durations}"] + }, + { + "name": "Date", + "slots": [ + { + "name": "Dates", + "type": "AMAZON.DATE" + }, + { + "name": "Times", + "type": "AMAZON.TIME" + } + ], + "samples": ["{Dates} a las {Times}", "a las {Times}", "{Dates}"] + } + ], + "types": [ + { + "values": [ + { + "name": { + "value": "Amazon Prime", + "synonyms": ["Amazon", "Amazon Video"] + } + }, + { + "name": { + "value": "Hulu" + } + }, + { + "name": { + "value": "YouTube" + } + }, + { + "name": { + "value": "Netflix" + } + } + ], + "name": "Selections" + } + ] + } + }, + "version": "1" +} diff --git a/skill-package/skill.json b/skill-package/skill.json index a0838d03..d4df52e3 100644 --- a/skill-package/skill.json +++ b/skill-package/skill.json @@ -1,7 +1,7 @@ { "manifest": { "apis": { - "custom": { } + "custom": {} }, "manifestVersion": "1.0", "publishingInformation": { @@ -20,6 +20,9 @@ }, "pt-BR": { "name": "Actionable notifications" + }, + "es-ES": { + "name": "Actionable notifications" } } }