Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spanish locale #173

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions lambda/language_strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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... <break time='200ms'/> {}",
"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"
},
Expand All @@ -80,5 +94,8 @@
},
"pt-BR": {
"SKILL_NAME": "Ações customizadas"
},
"es-ES": {
"SKILL_NAME": "Acciones personalizadas"
}
}
116 changes: 116 additions & 0 deletions skill-package/interactionModels/custom/es-ES.json
Original file line number Diff line number Diff line change
@@ -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"
}
5 changes: 4 additions & 1 deletion skill-package/skill.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest": {
"apis": {
"custom": { }
"custom": {}
},
"manifestVersion": "1.0",
"publishingInformation": {
Expand All @@ -20,6 +20,9 @@
},
"pt-BR": {
"name": "Actionable notifications"
},
"es-ES": {
"name": "Actionable notifications"
}
}
}
Expand Down