-
Notifications
You must be signed in to change notification settings - Fork 524
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CA] Add new main translations (#2089)
* add nevermind * add HassSetPosition * add SetVolume * add Vacuum * add weather
- Loading branch information
Showing
23 changed files
with
289 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
language: ca | ||
responses: | ||
intents: | ||
HassGetWeather: | ||
default: > | ||
{% set weather_condition = { | ||
'clear': 'Cel clar', | ||
'clear-night': 'Cel clar', | ||
'cloudy': 'Cel ennuvolat', | ||
'exceptional': 'Clima excepcionalment advers', | ||
'fog': 'Boira', | ||
'hail': 'Precipitacions de calamarsa', | ||
'lightning': 'Tempesta', | ||
'lightning-rainy': 'Pluja i tempesta', | ||
'partlycloudy': 'Cels parcialment ennuvolats', | ||
'pouring': 'Plugim', | ||
'rainy': 'Pluja', | ||
'snowy': 'Precipitacions de neu', | ||
'snowy-rainy': 'Precipitacions de aiguaneu', | ||
'sunny': 'Sol', | ||
'windy': 'Vent', | ||
'windy-variant': 'Vent i núvols' | ||
} %} | ||
{{ weather_condition.get((state.state | string).lower(), "") }}, amb una temperatura de {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: ca | ||
responses: | ||
intents: | ||
HassNevermind: | ||
default: "No res, doncs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: ca | ||
responses: | ||
intents: | ||
HassSetPosition: | ||
default: "Posició establerta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: ca | ||
responses: | ||
intents: | ||
HassSetVolume: | ||
default: "Volum establert" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: ca | ||
responses: | ||
intents: | ||
HassVacuumReturnToBase: | ||
default: "Tornant a la base" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: ca | ||
responses: | ||
intents: | ||
HassVacuumStart: | ||
default: "Comença la neteja" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
language: ca | ||
intents: | ||
HassSetPosition: | ||
data: | ||
- sentences: | ||
- "(<obre>|<pujar>|<baixar>|<configura>) <name> [<area>] [al] {position}[<percent>]" | ||
requires_context: | ||
domain: cover | ||
slots: | ||
domain: cover | ||
|
||
- sentences: | ||
- "(<obre>|<pujar>|<baixar>|<configura>) la posició de[ la|l| l'] {cover_classes:device_class} a[l] <posició>" | ||
- "(<obre>|<pujar>|<baixar>|<configura>) <pronom> {cover_classes:device_class} <area> a[l] <posició>" | ||
- "(<obre>|<pujar>|<baixar>|<configura>) <pronom> {cover_classes:device_class} a[l] <posició> <area>" | ||
slots: | ||
domain: cover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
language: ca | ||
intents: | ||
HassNevermind: | ||
data: | ||
- sentences: | ||
- "<cancela> [la comanda|l'ordre]" | ||
- "[no|res] res" | ||
- "no facis (cas|res)" | ||
- "(deixa|oblida)-ho [tot]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ intents: | |
domain: | ||
- cover | ||
- lock | ||
- vacuum | ||
- sentences: | ||
- <obre> <name> [<area>] | ||
response: cover_area |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
language: ca | ||
intents: | ||
HassSetVolume: | ||
data: | ||
- sentences: | ||
- "(<pujar>|<baixar>|<configura>) [el] volum [<preposicio>] {name} [a|al] {volume:volume_level}[<percent>]" | ||
requires_context: | ||
domain: media_player |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
language: ca | ||
intents: | ||
HassVacuumReturnToBase: | ||
data: | ||
- sentences: | ||
- "(torn(a|i)) <name> [a [la] (base|casa)]" | ||
- "fes que <name> ([re]torni|vagi) [a [la] (base|casa)]" | ||
requires_context: | ||
domain: vacuum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
language: ca | ||
intents: | ||
HassVacuumStart: | ||
data: | ||
- sentences: | ||
- <engega> <name> [en marxa] | ||
- (arrenca|pasa)[r] <name> [en marxa] | ||
requires_context: | ||
domain: vacuum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
language: ca | ||
intents: | ||
HassSetPosition: | ||
data: | ||
- sentences: | ||
- "(<obre>|<configura>) [la posició] [de] <name> a[l] <posició>" | ||
requires_context: | ||
domain: valve | ||
slots: | ||
domain: valve |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
language: ca | ||
intents: | ||
HassGetWeather: | ||
data: | ||
- sentences: | ||
- quin temps fa | ||
- com és el temps | ||
- sentences: | ||
- quin temps fa (a |al |a l'){name} | ||
- com és el temps (a |al |a l'){name} | ||
requires_context: | ||
domain: weather |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
language: ca | ||
tests: | ||
- sentences: | ||
- "obre la cortina dormitori al 50%" | ||
intent: | ||
name: HassSetPosition | ||
slots: | ||
domain: cover | ||
name: "Cortina dormitori" | ||
position: 50 | ||
response: "Posició establerta" | ||
|
||
- sentences: | ||
- "ajusta la cortina al dormitori al 50%" | ||
- "obre les cortines al 50 percent al dormitori" | ||
- "aixeca les cortines del dormitori al 50 per cent" | ||
intent: | ||
name: HassSetPosition | ||
slots: | ||
domain: cover | ||
device_class: "curtain" | ||
area: "Dormitori" | ||
position: 50 | ||
response: "Posició establerta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
language: ca | ||
tests: | ||
- sentences: | ||
- "cancela" | ||
- "cancel·la" | ||
- "cancel·la la comanda" | ||
- "cancel·la l'ordre" | ||
- "res res" | ||
- "no res" | ||
- "no facis cas" | ||
- "deixa-ho" | ||
- "oblida-ho" | ||
- "oblida-ho tot" | ||
intent: | ||
name: HassNevermind | ||
response: "No res, doncs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
language: ca | ||
tests: | ||
- sentences: | ||
- posa el volum de la TV al 50 | ||
- posa el volum del TV al 50 | ||
- puja el volum TV al 50% | ||
- baixa el volum de la TV al 50 per cent | ||
- configura volum de TV al 50 | ||
intent: | ||
name: HassSetVolume | ||
slots: | ||
name: TV | ||
volume_level: 50 | ||
response: "Volum establert" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: ca | ||
tests: | ||
- sentences: | ||
- torna l'aspiradora a base | ||
- fes que l'aspiradora torni a la base | ||
- fes que l'aspiradora torni | ||
intent: | ||
name: HassVacuumReturnToBase | ||
slots: | ||
name: Aspiradora | ||
response: Tornant a la base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
language: ca | ||
tests: | ||
- sentences: | ||
- engega la aspiradora | ||
- engega l'aspiradora | ||
- arrenca l'aspiradora | ||
- pasa l'aspiradora | ||
intent: | ||
name: HassVacuumStart | ||
slots: | ||
name: Aspiradora | ||
response: Comença la neteja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
language: ca | ||
tests: | ||
- sentences: | ||
- "ajusta clau de pas al 100" | ||
- "obre la clau de pas al 100 percent" | ||
intent: | ||
name: HassSetPosition | ||
slots: | ||
domain: valve | ||
name: "Clau de pas" | ||
position: 100 | ||
response: "Posició establerta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
language: ca | ||
tests: | ||
- sentences: | ||
- "quin temps fa" | ||
- "com és el temps" | ||
intent: | ||
name: HassGetWeather | ||
response: Pluja, amb una temperatura de 18 °C | ||
|
||
- sentences: | ||
- "quin temps fa a Barcelona" | ||
intent: | ||
name: HassGetWeather | ||
slots: | ||
name: Barcelona | ||
response: Pluja, amb una temperatura de 18 °C | ||
|
||
- sentences: | ||
- "quin temps fa al Empordà" | ||
intent: | ||
name: HassGetWeather | ||
slots: | ||
name: Empordà | ||
response: Cel clar, amb una temperatura de -4 °C |