-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DA] added cancel all timer and test, and change of default wording f…
…or timer (#2816) * [DA] added cancel all timer * [DA] added cancel all timer test * [DA] change wording for timer in Danish in Update _common.yaml "Timer" is not pronounce correctly in Danish, it should be "nedtælling" as the default. First pull request was closed by mistake. * Update for the test file * Update for the test file * Update for the test file * Added missing empty line * Added missing blank line * Added missing blank line * Update _common.yaml * Removing extra blank line * Shoulld fix run problems in tests * Try fixing timers and tests * Removing extra ( * Remove singular expression from plural file * Added missing whitespace in sentence * Removing full stop dots from response file * Trying to fix build errors by setting response to singular * Yet another try to fix the build error for the tests --------- Co-authored-by: Kim von Müllen <[email protected]> Co-authored-by: Malene Trab <[email protected]>
- Loading branch information
1 parent
e191d50
commit 480095f
Showing
5 changed files
with
56 additions
and
4 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,20 @@ | ||
language: da | ||
responses: | ||
intents: | ||
HassCancelAllTimers: | ||
default: > | ||
{% if slots.canceled < 1: %} | ||
Ingen nedtælling afbrudt | ||
{% elif slots.canceled == 1: %} | ||
En nedtælling afbrudt | ||
{% else: %} | ||
{{ slots.canceled }} nedtællinger afbrudt | ||
{% endif %} | ||
area: > | ||
{% if slots.canceled < 1: %} | ||
Ingen nedtælling afbrudt i {{ slots.area }} | ||
{% elif slots.canceled == 1: %} | ||
1 nedtælling afbrudt i {{ slots.area }} | ||
{% else: %} | ||
{{ slots.canceled }} nedtællinger afbrudt i {{ slots.area }} | ||
{% endif %} |
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,9 @@ | ||
language: "da" | ||
intents: | ||
HassCancelAllTimers: | ||
data: | ||
- sentences: | ||
- "<timer_cancel> <al> [mine] <timers>" | ||
- sentences: | ||
- "<timer_cancel> <al> [mine] <timers> <i_på> <område>" | ||
response: 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
language: da | ||
language: "da" | ||
intents: | ||
HassCancelTimer: | ||
data: | ||
|
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: da | ||
tests: | ||
- sentences: | ||
- "stop alle nedtællinger" | ||
- "afbryd alle nedtællinger" | ||
- "afbryd alle mine nedtællinger" | ||
- "fjern alle nedtællinger" | ||
- "fjern alle mine nedtællinger" | ||
- "slet alle nedtællinger" | ||
- "slet alle mine nedtællinger" | ||
intent: | ||
name: HassCancelAllTimers | ||
response: 3 nedtællinger afbrudt | ||
|
||
- sentences: | ||
- "stop alle nedtællinger i køkken" | ||
- "afbryd alle nedtællinger i køkken" | ||
- "fjern alle mine nedtællinger i køkken" | ||
intent: | ||
name: HassCancelAllTimers | ||
slots: | ||
area: Køkken | ||
response: 1 nedtælling afbrudt i køkken |