-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HU] Optimization of response, handling of articles, correction of nu…
…mber format (#1899) * Updating Hungarian intentions The current intentions are unusable, as they do not employ conjugations at any level. The entire language, which utilizes conjugations, has been updated. Due to the nature of the Hungarian language, there's an issue where word roots change with conjugation. (For example, if the room is a kitchen, instead of "kapcsold be az összes ventilátort a konyhaban", it should be "konyhában".) I circumvented these with suffix words, like using "piros színre" instead of "pirosra", or by changing the word order to avoid these issues. This way, it works, like "kapcsold be a konyha összes ventilátorát is." But for correct and complete Hungarian expressions, it's advisable to use assistant aliases for room names whose endings change with conjugation, such as "szoba" (room), "konyha" (kitchen). For these, "szobá" and "konyhá" aliases should be added. * Updating Hungarian intentions rev2 * [HU] Added the sensor_HassGetState and the 'in_here' function with this, the Hungarian translation became 100% Added the [in here] feature: cover_HassTurnOff cover_HassTurnOn light_HassLightSet light_HassTurnOff light_HassTurnOn fan_HassTurnOff fan_HassTurnOn New: sensor_HassGetState * [HU] Added the sensor_HassGetState and the 'in_here' function v2 * [hu] More flexible word order, bug fix, +2 color More flexible word order, especially for lighting +2 color translations a minor bug fix more readable code. * [hu] More flexible word order, bug fix, +2 color More flexible word order, especially for lighting +2 color translations a minor bug fix more readable code. * [hu] More flexible word order, bug fix, +2 color More flexible word order, especially for lighting +2 color translations a minor bug fix more readable code. * [hu] bugfix bugfix due to the free word order, different suffixes are also needed. * [hu] bugfix * bugfix v2 * [HU] Translation of error messages + handling of articles in the error message. Thank you to the contributors of ticket #1895. This way, I learned that error messages can be processed :) Following the French model, the Hungarian error messages have now become completely Hungarian. + it also handles the articles of words. +optimization in the Todo/Shopping list, I reduced the number of variations with the specified suffixes. * [HU] Optimization of response, handling of articles, correction of number format I have corrected the responses to put the correct article in front of the word. The number format correction involves changing 12.1 to 12,1 and replacing "-" with the word "minus". And an attempt to find out what cover states the live system returns in the live environment. If it's English, then from now on it should also display it in Hungarian; if it's not English, then everything remains as it was.
- Loading branch information
Showing
19 changed files
with
147 additions
and
40 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
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
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
language: hu | ||
tests: | ||
- sentences: | ||
- Tedd az Alma elemet a bevásárló listához | ||
- Rakd az Alma tételt a bevásárló listához | ||
- Tedd az Alma elemet a bevásárlólistához | ||
- Rakd az Alma tételt a bevásárlólistához | ||
intent: | ||
name: HassShoppingListAddItem | ||
slots: | ||
item: "alma " | ||
response: alma hozzáadva | ||
response: Az alma hozzáadva a listához |
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,4 +8,4 @@ tests: | |
slots: | ||
item: "alma " | ||
name: "fontos dolgok" | ||
response: alma hozzáadva | ||
response: Az alma hozzáadva a listához |
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