-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HU] Creating Current Date/Time and Respond (#2537)
* [HU] Creating Current Date/Time and Respond
- Loading branch information
Showing
9 changed files
with
163 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,53 @@ | ||
language: hu | ||
responses: | ||
intents: | ||
HassGetCurrentDate: | ||
default: > | ||
{% set months = { | ||
1: 'január', | ||
2: 'február', | ||
3: 'március', | ||
4: 'április', | ||
5: 'május', | ||
6: 'június', | ||
7: 'július', | ||
8: 'augusztus', | ||
9: 'szeptember', | ||
10: 'október', | ||
11: 'november', | ||
12: 'december', | ||
} %} | ||
{% set ordinal = { | ||
1: '1.', | ||
2: '2.', | ||
3: '3.', | ||
4: '4.', | ||
5: '5.', | ||
6: '6.', | ||
7: '7.', | ||
8: '8.', | ||
9: '9.', | ||
10: '10.', | ||
11: '11.', | ||
12: '12.', | ||
13: '13.', | ||
14: '14.', | ||
15: '15.', | ||
16: '16.', | ||
17: '17.', | ||
18: '18.', | ||
19: '19.', | ||
20: '20.', | ||
21: '21.', | ||
22: '22.', | ||
23: '23.', | ||
24: '24.', | ||
25: '25.', | ||
26: '26.', | ||
27: '27.', | ||
28: '28.', | ||
29: '29.', | ||
30: '30.', | ||
31: '31.', | ||
} %} | ||
{{ slots.date.year }}. {{ months[slots.date.month] }} {{ ordinal[slots.date.day] }} |
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,7 @@ | ||
language: hu | ||
responses: | ||
intents: | ||
HassGetCurrentTime: | ||
default: > | ||
{% set minute_str = '{0:02d}'.format(slots.time.minute) %} | ||
{{ slots.time.hour }}:{{ minute_str }} |
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: hu | ||
responses: | ||
intents: | ||
HassRespond: | ||
hello: "Üdvözlet a Home Assistanttól." | ||
listening: "Nem, csak akkor veszek fel, amikor kimondod az ébresztő szót." | ||
data: "Az adataid a Home Assistant szerveredre kerülnek." | ||
commands: "Hogy megtudd, mit kérdezhetsz, látogass el a HOME kötőjel ASSISTANT pont I.O. per VOICE alávonás CONTROL oldalra." | ||
creator: "Engem a nagyszerű Home Assistant közösség készített, amely lelkes barkácsolókból és kísérletezőkből áll az egész világon." |
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: hu | ||
intents: | ||
HassGetCurrentDate: | ||
data: | ||
- sentences: | ||
- "Mi a mai dátum" | ||
- "H(a|á)nyadika van [ma]" | ||
- "Mondd [meg] a [mai] dátumot" |
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: hu | ||
intents: | ||
HassGetCurrentTime: | ||
data: | ||
- sentences: | ||
- "mennyi az idő [most]" | ||
- "hány óra van [most]" | ||
- "mondd [meg] az időt" |
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,23 @@ | ||
language: "hu" | ||
intents: | ||
HassRespond: | ||
data: | ||
- sentences: | ||
- "(hello|szia) [home assistant]" | ||
response: hello | ||
|
||
- sentences: | ||
- "[Te] mindig (hallgat(sz|ózol)|rögzítesz)" | ||
response: listening | ||
|
||
- sentences: | ||
- "Hová kerülnek az adataim" | ||
response: data | ||
|
||
- sentences: | ||
- "Mit (mondhatok|kérdezhetek|tudsz [csinálni])" | ||
response: commands | ||
|
||
- sentences: | ||
- "Ki készített [téged]" | ||
response: creator |
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: hu | ||
tests: | ||
- sentences: | ||
- "hányadika van" | ||
- "mi a mai dátum" | ||
- "mondd meg a mai dátumot" | ||
- "mondd a dátumot" | ||
intent: | ||
name: HassGetCurrentDate | ||
response: 2013. szeptember 17. |
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: hu | ||
tests: | ||
- sentences: | ||
- "mennyi az idő" | ||
- "hány óra van" | ||
- "mennyi az idő most" | ||
- "mondd meg az időt" | ||
intent: | ||
name: HassGetCurrentTime | ||
response: "1:02" |
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,35 @@ | ||
language: hu | ||
tests: | ||
- sentences: | ||
- "szia home assistant" | ||
intent: | ||
name: HassRespond | ||
response: "Üdvözlet a Home Assistanttól." | ||
|
||
- sentences: | ||
- "mindig hallgatsz" | ||
- "te mindig hallgatózol" | ||
- "te mindig rögzítesz" | ||
intent: | ||
name: HassRespond | ||
response: "Nem, csak akkor veszek fel, amikor kimondod az ébresztő szót." | ||
|
||
- sentences: | ||
- "hová kerülnek az adataim" | ||
intent: | ||
name: HassRespond | ||
response: "Az adataid a Home Assistant szerveredre kerülnek." | ||
|
||
- sentences: | ||
- "mit mondhatok?" | ||
- "mit kérdezhetek?" | ||
- "mit tudsz csinálni?" | ||
intent: | ||
name: HassRespond | ||
response: "Hogy megtudd, mit kérdezhetsz, látogass el a HOME kötőjel ASSISTANT pont I.O. per VOICE alávonás CONTROL oldalra." | ||
|
||
- sentences: | ||
- "ki készített téged?" | ||
intent: | ||
name: HassRespond | ||
response: "Engem a nagyszerű Home Assistant közösség készített, amely lelkes barkácsolókból és kísérletezőkből áll az egész világon." |