diff --git a/CHANGELOG.md b/CHANGELOG.md index f97a1df61e3..257459d2f69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,20 @@ # Changelog -## [0.2.17a1](https://github.com/OpenVoiceOS/ovos-core/tree/0.2.17a1) (2024-11-21) +## [0.2.18a2](https://github.com/OpenVoiceOS/ovos-core/tree/0.2.18a2) (2024-12-02) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-core/compare/0.2.16...0.2.17a1) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-core/compare/0.2.18a1...0.2.18a2) **Merged pull requests:** -- fix: update deprecated imports from ovos-utils [\#611](https://github.com/OpenVoiceOS/ovos-core/pull/611) ([JarbasAl](https://github.com/JarbasAl)) +- import basque translations [\#615](https://github.com/OpenVoiceOS/ovos-core/pull/615) ([JarbasAl](https://github.com/JarbasAl)) + +## [0.2.18a1](https://github.com/OpenVoiceOS/ovos-core/tree/0.2.18a1) (2024-12-02) + +[Full Changelog](https://github.com/OpenVoiceOS/ovos-core/compare/0.2.17...0.2.18a1) + +**Merged pull requests:** + +- import galician translations [\#613](https://github.com/OpenVoiceOS/ovos-core/pull/613) ([JarbasAl](https://github.com/JarbasAl)) diff --git a/ovos_core/intent_services/locale/eu/global_stop.intent b/ovos_core/intent_services/locale/eu/global_stop.intent new file mode 100644 index 00000000000..b208ca91276 --- /dev/null +++ b/ovos_core/intent_services/locale/eu/global_stop.intent @@ -0,0 +1,31 @@ +Amaitu jarduera guztiak +Amaitu prozesu guztiak +Amaitu zabalik dauden zeregin guztiak +Bukatu eragiketa guztiak +Bukatu uneko jarduera guztiak +Eten ekintza guztiak +Eten jarduera aktibo guztiak +Gelditu aribideko prozesu guztiak +Gelditu jarduera guztiak berehala +Geratu gauza guztiak orain +Geratu uneko zeregin guztiak +Utzi bertan behera aribideko prozesu guztiak +Utzi bertan behera uneko ekintza guztiak +Utzi egiteko dauden eragiketa guztiak +Utzi zeregin guztiak +amaitu dena +amaitu gauza guztiak +bukatu dena +bukatu dena +bukatu gauza guztiak +bukatu gauza guztiak +eten dena +eten gauza guztiak +gelditu dena +gelditu dena +gelditu gauza guztiak +gelditu gauza guztiak +utzi dena +utzi dena bertan behera +utzi gauza guztiak +utzi gauza guztiak bertan behera \ No newline at end of file diff --git a/ovos_core/intent_services/locale/eu/stop.intent b/ovos_core/intent_services/locale/eu/stop.intent new file mode 100644 index 00000000000..8fe457d6a1d --- /dev/null +++ b/ovos_core/intent_services/locale/eu/stop.intent @@ -0,0 +1,17 @@ +Eten uneko ekintza +Eten uneko jarduera +Gelditu al zaitezke orain? +Gelditu aribideko prozesua +Gelditu ataza horren burutzea +Gelditu egiten ari zaren hori +Gelditu uneko eragiketa +Mesedez, amaitu hori +Mesedez, bukatu uneko zeregina +Mesedez, gelditu hori +Mesedez, gelditu uneko ekintza +Mesedez, utzi uneko zeregina +Utzi lan hori egiteari +Utzi uneko agindua betetzeari +gelditu +gelditu hori +utzi hori egiteari \ No newline at end of file diff --git a/ovos_core/intent_services/locale/gl-es/global_stop.intent b/ovos_core/intent_services/locale/gl-es/global_stop.intent new file mode 100644 index 00000000000..848a8815606 --- /dev/null +++ b/ovos_core/intent_services/locale/gl-es/global_stop.intent @@ -0,0 +1,31 @@ +Cancelar todas as operacións pendentes +Cancelar todas as tarefas +Deter todas as accións en marcha +Deter todos os procesos en curso +Interromper inmediatamente todas as actividades +Interromper todos os procesos en curso +Parar todas as accións +Parar todas as actividades activas +Parar todas as tarefas actuais +Parar todo agora +Rematar todas as actividades +Rematar todas as actividades en execución +Rematar todas as operacións +Rematar todas as tarefas abertas +Rematar todos os procesos +acabalo todo +acabar todo +cancelalo todo +cancelar todo +detelo todo +deter todo +finalizalo todo +finalizar todo +interrompelo todo +interromper todo +paralo todo +paralo todo +parar todo +parar todo +rematalo todo +rematar todo \ No newline at end of file diff --git a/ovos_core/intent_services/locale/gl-es/stop.intent b/ovos_core/intent_services/locale/gl-es/stop.intent new file mode 100644 index 00000000000..ffab1c5400b --- /dev/null +++ b/ovos_core/intent_services/locale/gl-es/stop.intent @@ -0,0 +1,17 @@ +Acaba isto +Cancela a tarefa actual +Interrompe a acción actual +Para isto +Parar a acción actual +Parar a actividade actual +Parar a operación actual +Parar de executar esta tarefa +Parar de executar o comando actual +Parar de traballar niso +Parar o proceso en curso +Parar o que estás a facer +Podes parar agora? +Remata a tarefa actual +parar +parar de facer iso +parar iso \ No newline at end of file diff --git a/ovos_core/intent_services/locale/it-it/global_stop.intent b/ovos_core/intent_services/locale/it-it/global_stop.intent index 9244952020d..5ac2c3611ca 100644 --- a/ovos_core/intent_services/locale/it-it/global_stop.intent +++ b/ovos_core/intent_services/locale/it-it/global_stop.intent @@ -1,31 +1,2 @@ -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] ferma tutto smetti tutto \ No newline at end of file diff --git a/ovos_core/intent_services/locale/it-it/stop.intent b/ovos_core/intent_services/locale/it-it/stop.intent index beaf1a2831d..40a46473560 100644 --- a/ovos_core/intent_services/locale/it-it/stop.intent +++ b/ovos_core/intent_services/locale/it-it/stop.intent @@ -1,15 +1,3 @@ -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] -[UNUSED] basta fermati piantala diff --git a/ovos_core/version.py b/ovos_core/version.py index 30ee7623721..60cb24f3c6d 100644 --- a/ovos_core/version.py +++ b/ovos_core/version.py @@ -1,8 +1,8 @@ # START_VERSION_BLOCK VERSION_MAJOR = 0 VERSION_MINOR = 2 -VERSION_BUILD = 17 -VERSION_ALPHA = 0 +VERSION_BUILD = 18 +VERSION_ALPHA = 2 # END_VERSION_BLOCK # for compat with old imports diff --git a/scripts/sync_translations.py b/scripts/sync_translations.py index 506d95343de..492ac5454f7 100644 --- a/scripts/sync_translations.py +++ b/scripts/sync_translations.py @@ -21,8 +21,11 @@ data = json.load(f) for fid, samples in data.items(): if samples: - samples = [s for s in samples if s] # s may be None - with open(f"{locale}/{lang.lower()}/{fid}", "w") as f: + samples = [s.strip() for s in samples + if s and s.strip() != "[UNUSED]"] # s may be None + p = f"{locale}/{lang.lower()}/{fid.lstrip('/')}" + os.makedirs(dirname(p), exist_ok=True) + with open(p, "w") as f: f.write("\n".join(sorted(samples))) if os.path.isfile(dialogs): @@ -30,8 +33,11 @@ data = json.load(f) for fid, samples in data.items(): if samples: - samples = [s for s in samples if s] # s may be None - with open(f"{locale}/{lang.lower()}/{fid}", "w") as f: + samples = [s.strip() for s in samples + if s and s.strip() != "[UNUSED]"] # s may be None + p = f"{locale}/{lang.lower()}/{fid.lstrip('/')}" + os.makedirs(dirname(p), exist_ok=True) + with open(p, "w") as f: f.write("\n".join(sorted(samples))) if os.path.isfile(vocs): @@ -39,8 +45,11 @@ data = json.load(f) for fid, samples in data.items(): if samples: - samples = [s for s in samples if s] # s may be None - with open(f"{locale}/{lang.lower()}/{fid}", "w") as f: + samples = [s.strip() for s in samples + if s and s.strip() != "[UNUSED]"] # s may be None + p = f"{locale}/{lang.lower()}/{fid.lstrip('/')}" + os.makedirs(dirname(p), exist_ok=True) + with open(p, "w") as f: f.write("\n".join(sorted(samples))) if os.path.isfile(regexes): @@ -48,7 +57,10 @@ data = json.load(f) for fid, samples in data.items(): if samples: - samples = [s for s in samples if s] # s may be None - with open(f"{locale}/{lang.lower()}/{fid}", "w") as f: + samples = [s.strip() for s in samples + if s and s.strip() != "[UNUSED]"] # s may be None + p = f"{locale}/{lang.lower()}/{fid.lstrip('/')}" + os.makedirs(dirname(p), exist_ok=True) + with open(p, "w") as f: f.write("\n".join(sorted(samples))) diff --git a/translations/eu/intents.json b/translations/eu/intents.json new file mode 100644 index 00000000000..47848691259 --- /dev/null +++ b/translations/eu/intents.json @@ -0,0 +1,54 @@ +{ + "stop.intent": [ + "Gelditu al zaitezke orain?", + "Eten uneko ekintza", + "Eten uneko jarduera", + "Mesedez, utzi uneko zeregina", + "Mesedez, gelditu uneko ekintza", + "Mesedez, amaitu hori", + "Mesedez, gelditu hori", + "Mesedez, bukatu uneko zeregina", + "Utzi uneko agindua betetzeari", + "Gelditu ataza horren burutzea", + "Gelditu uneko eragiketa", + "Gelditu aribideko prozesua", + "Gelditu egiten ari zaren hori", + "Utzi lan hori egiteari", + "gelditu", + "utzi hori egiteari", + "gelditu hori" + ], + "global_stop.intent": [ + "Utzi bertan behera aribideko prozesu guztiak", + "Utzi bertan behera uneko ekintza guztiak", + "Utzi egiteko dauden eragiketa guztiak", + "Utzi zeregin guztiak", + "Eten ekintza guztiak", + "Eten jarduera aktibo guztiak", + "Amaitu prozesu guztiak", + "Amaitu jarduera guztiak", + "Amaitu zabalik dauden zeregin guztiak", + "Gelditu jarduera guztiak berehala", + "Gelditu aribideko prozesu guztiak", + "Geratu uneko zeregin guztiak", + "Geratu gauza guztiak orain", + "Bukatu eragiketa guztiak", + "Bukatu uneko jarduera guztiak", + "utzi dena bertan behera", + "utzi gauza guztiak bertan behera", + "utzi dena", + "utzi gauza guztiak", + "eten dena", + "eten gauza guztiak", + "amaitu dena", + "amaitu gauza guztiak", + "bukatu dena", + "bukatu gauza guztiak", + "gelditu dena", + "gelditu gauza guztiak", + "gelditu dena", + "gelditu gauza guztiak", + "bukatu dena", + "bukatu gauza guztiak" + ] +} \ No newline at end of file diff --git a/translations/gl-es/intents.json b/translations/gl-es/intents.json new file mode 100644 index 00000000000..bc73a30e27c --- /dev/null +++ b/translations/gl-es/intents.json @@ -0,0 +1,54 @@ +{ + "stop.intent": [ + "Podes parar agora?", + "Parar a acción actual", + "Parar a actividade actual", + "Cancela a tarefa actual", + "Interrompe a acción actual", + "Acaba isto", + "Para isto", + "Remata a tarefa actual", + "Parar de executar o comando actual", + "Parar de executar esta tarefa", + "Parar a operación actual", + "Parar o proceso en curso", + "Parar o que estás a facer", + "Parar de traballar niso", + "parar", + "parar de facer iso", + "parar iso" + ], + "global_stop.intent": [ + "Deter todos os procesos en curso", + "Deter todas as accións en marcha", + "Cancelar todas as operacións pendentes", + "Cancelar todas as tarefas", + "Parar todas as accións", + "Parar todas as actividades activas", + "Rematar todos os procesos", + "Rematar todas as actividades", + "Rematar todas as tarefas abertas", + "Interromper inmediatamente todas as actividades", + "Interromper todos os procesos en curso", + "Parar todas as tarefas actuais", + "Parar todo agora", + "Rematar todas as operacións", + "Rematar todas as actividades en execución", + "deter todo", + "detelo todo", + "cancelar todo", + "cancelalo todo", + "parar todo", + "paralo todo", + "rematar todo", + "rematalo todo", + "acabar todo", + "acabalo todo", + "interromper todo", + "interrompelo todo", + "parar todo", + "paralo todo", + "finalizar todo", + "finalizalo todo" + ] +} \ No newline at end of file