diff --git a/CHANGELOG.md b/CHANGELOG.md index d1c1f0c..a5a9023 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,33 @@ # Changelog -## [0.2.8a1](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/tree/0.2.8a1) (2024-12-25) +## [0.2.9a4](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/tree/0.2.9a4) (2025-01-18) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/compare/0.2.7...0.2.8a1) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/compare/0.2.9a3...0.2.9a4) **Merged pull requests:** -- added italian translation [\#31](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/pull/31) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app)) +- Missing translation [\#38](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/pull/38) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app)) + +## [0.2.9a3](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/tree/0.2.9a3) (2024-12-29) + +[Full Changelog](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/compare/0.2.9a2...0.2.9a3) + +## [0.2.9a2](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/tree/0.2.9a2) (2024-12-29) + +[Full Changelog](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/compare/0.2.9a1...0.2.9a2) + +**Merged pull requests:** + +- Add Catalans strings [\#36](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/pull/36) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app)) +- Add Catalans strings [\#35](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/pull/35) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app)) + +## [0.2.9a1](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/tree/0.2.9a1) (2024-12-27) + +[Full Changelog](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/compare/0.2.8...0.2.9a1) + +**Merged pull requests:** + +- tests/test\_sentences\_fr.json [\#33](https://github.com/OpenVoiceOS/ovos-solver-YesNo-plugin/pull/33) ([gitlocalize-app[bot]](https://github.com/apps/gitlocalize-app)) diff --git a/ovos_yes_no_solver/res/ca/yesno.json b/ovos_yes_no_solver/res/ca/yesno.json index d9852cf..a4ee937 100644 --- a/ovos_yes_no_solver/res/ca/yesno.json +++ b/ovos_yes_no_solver/res/ca/yesno.json @@ -1,13 +1,13 @@ { "yes": [ "sí", - "si us plau", + "sip", "per descomptat", - "oi tant!", - "així és", - "sí", - "confirmat", - "correcte", + "(confirmo|confirme|confirm|oi tant|o i tant|oh i tant|oh i tan)", + "(afirmatiu|afirmativa|afirmatius|afirmatives|així és)", + "(sí|oc)", + "(confirmat|confirmada|confirmats|confirmades)", + "(correcte|correcta|correctes|bé)", "d'acord", "entès", "prou" @@ -17,28 +17,28 @@ "negatiu", "i ara!", "no pas", - "noooo", - "en desacord", - "disconforme" + "(nooo|noooo)", + "(en desacord|no hi estic d'acord)", + "(disconforme|no hi estic d'acord|disconformes)" ], "neutral_yes": [ - "si us plau", + "(si us plau|si et plau|sisplau)", "segur", "segurament", "sens dubte", - "apropiat", - "apropiat", - "evidentment", - "prou" + "(apropiat|apropiada|apropiats|apropiades)", + "(apropiat|apropiada|apropiats|apropiades|escaient|escaients|adient|adients)", + "(evidentment|òbviament|obvi|òbvia|obvis|òbvies)", + "(prou|de fet)" ], "neutral_no": [ - "no és desitjable", - "no és volgut", - "inadequat", - "mentida", - "mentida", - "error", - "equivocat", - "incorrecte" + "(indesitjable|indestijables|no desitjable|no desitjables)", + "(no volgut|no volguda|no vulguts|no volgudes)", + "(inadequat|inadequada|inapropiat|inapropiada|inadequats|inadequades|inapropiats|inapropiades)", + "(menteix|menteixo|mentix|mentim|mentiu)", + "(mentida|mentides|mentint|mentira|mentires)", + "(error|errors|errada|errades|equivocació|equivocacions)", + "(equivocat|equivocada|equivocats|equivocades|errat|errada|errats|errades)", + "(incorrecte|incorrecta|incorrectes)" ] } diff --git a/ovos_yes_no_solver/res/fr/yesno.json b/ovos_yes_no_solver/res/fr/yesno.json index 268fc59..ab66a1b 100644 --- a/ovos_yes_no_solver/res/fr/yesno.json +++ b/ovos_yes_no_solver/res/fr/yesno.json @@ -1,14 +1,44 @@ { "yes": [ "s'il vous plait", - "voui", - "oui", + "yep", + "ouep", "ouais", - "bien sur" + "bien sur", + "oui", + "confirmer", + "correct", + "accepter", + "convenu", + "en effet" ], "no": [ "négatif", "nan", - "non" + "non", + "nope", + "nah", + "disagree", + "en désaccord" + ], + "neutral_yes": [ + "s'il te plaît", + "bien sûr", + "sûrement", + "certainement", + "approprié", + "approprié", + "évidemment", + "en effet" + ], + "neutral_no": [ + "indésirable", + "indésirable", + "inapproprié", + "mensonge", + "mentir", + "erreur", + "trompé", + "faux" ] -} \ No newline at end of file +} diff --git a/ovos_yes_no_solver/version.py b/ovos_yes_no_solver/version.py index 0699c17..76bb975 100644 --- a/ovos_yes_no_solver/version.py +++ b/ovos_yes_no_solver/version.py @@ -1,6 +1,6 @@ # START_VERSION_BLOCK VERSION_MAJOR = 0 VERSION_MINOR = 2 -VERSION_BUILD = 8 -VERSION_ALPHA = 0 +VERSION_BUILD = 9 +VERSION_ALPHA = 4 # END_VERSION_BLOCK diff --git a/tests/test_sentences_ca.json b/tests/test_sentences_ca.json new file mode 100644 index 0000000..c91e95b --- /dev/null +++ b/tests/test_sentences_ca.json @@ -0,0 +1,45 @@ +{ + "yes": [ + "sí", + "correcte", + "no, però sí", + "sisplau", + "D'acord", + "entès", + "sisplau! T'ho demano", + "ho vull", + "Obvi", + "Òbviament", + "odio quan les empreses venen les meves dades? Sí, són uns indesitja bles", + "sí, és una mentida", + "correcte, menteix", + "no és mentida", + "no menteix", + "no aneu errat", + "no esteu equivocat" + ], + "no": [ + "no", + "no pas", + "em penso que no", + "no hi estic d'acord", + "sí, però no", + "sí, sí, però realment, no", + "no, sisplau", + "Estic en desacord", + "Discrepo", + "No! Sisplau! T'ho demano", + "sí, no ho vull", + "no, òbviament ho odio", + "Certament, això no és desitjable", + "no, és una mentida", + "menteix", + "és una mentida", + "aneu errat", + "això és un error", + "resposta incorrecta" + ], + "null": [ + "fesols" + ] +} diff --git a/tests/test_sentences_fr.json b/tests/test_sentences_fr.json new file mode 100644 index 0000000..433ccc2 --- /dev/null +++ b/tests/test_sentences_fr.json @@ -0,0 +1,45 @@ +{ + "yes": [ + "oui", + "c'est affirmatif", + "non, mais en fait, oui", + "s'il te plaît", + "Je suis d'accord", + "en accord", + "S'il te plaît ! Je t'en prie", + "je le veux à coup sûr", + "évidemment", + "en effet", + "Est-ce que je déteste quand les entreprises vendent mes données ? Oui, c'est certainement indésirable", + "oui, c'est un mensonge", + "c'est vrai, il ment", + "ce n'est pas un mensonge", + "il ne ment pas", + "tu ne te trompes pas", + "tu n'as pas tort" + ], + "no": [ + "Non", + "certainement pas", + "je ne pense pas", + "je ne pense pas", + "oui, mais en fait, non", + "oui, oui, oui, mais en fait, non", + "S'il te plaît, ne le fais pas", + "je ne suis pas d'accord", + "en désaccord", + "Non ! S'il te plaît ! Je t'en prie", + "oui, je n'en veux certainement pas", + "Non, je déteste évidemment ça", + "c'est certainement indésirable", + "non, c'est un mensonge", + "il ment", + "c'est un mensonge", + "tu te trompes", + "c'est une erreur", + "mauvaise réponse" + ], + "null": [ + "haricots" + ] +}