From 2c0a24d3aa79c3ef8394a6ca859cd0cfd41bac64 Mon Sep 17 00:00:00 2001 From: davidacm Date: Tue, 6 Dec 2022 17:09:21 -0600 Subject: [PATCH] version v22.12 updated the changelog for the release. updated the template strings (for ease of translators) updated spanish documentation and strings. added requirements.txt, this file is used to install the python modules needed to manage the tools of this add-on --- IBMTTS.pot | 24 +++++++++++------------ addon/doc/es/README.md | 6 ++++++ addon/locale/es/LC_MESSAGES/nvda.po | 30 ++++++++++++++--------------- changelog.md | 18 ++++++++++------- requirements.txt | 9 +++++++++ 5 files changed, 53 insertions(+), 34 deletions(-) create mode 100644 requirements.txt diff --git a/IBMTTS.pot b/IBMTTS.pot index 47ca469..392154e 100644 --- a/IBMTTS.pot +++ b/IBMTTS.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 'IBMTTS' 'v22.07.3'\n" "Report-Msgid-Bugs-To: 'nvda-translations@freelists.org'\n" -"POT-Creation-Date: 2022-08-16 21:09-0600\n" +"POT-Creation-Date: 2022-12-06 16:44-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -85,43 +85,43 @@ msgstr "" msgid "Hong Kong Cantonese" msgstr "" -#: addon\synthDrivers\ibmeci.py:163 +#: addon\synthDrivers\ibmeci.py:169 msgid "Rate boos&t" msgstr "" -#: addon\synthDrivers\ibmeci.py:165 +#: addon\synthDrivers\ibmeci.py:171 msgid "Hea&d size" msgstr "" -#: addon\synthDrivers\ibmeci.py:166 +#: addon\synthDrivers\ibmeci.py:172 msgid "Rou&ghness" msgstr "" -#: addon\synthDrivers\ibmeci.py:167 +#: addon\synthDrivers\ibmeci.py:173 msgid "Breathi&ness" msgstr "" -#: addon\synthDrivers\ibmeci.py:168 +#: addon\synthDrivers\ibmeci.py:174 msgid "Enable backquote voice &tags" msgstr "" -#: addon\synthDrivers\ibmeci.py:169 -msgid "Enable &abbreviation dictionary" +#: addon\synthDrivers\ibmeci.py:175 +msgid "Enable &abbreviation expansion" msgstr "" -#: addon\synthDrivers\ibmeci.py:170 +#: addon\synthDrivers\ibmeci.py:176 msgid "Enable phras&e prediction" msgstr "" -#: addon\synthDrivers\ibmeci.py:171 +#: addon\synthDrivers\ibmeci.py:177 msgid "&Shorten pauses" msgstr "" -#: addon\synthDrivers\ibmeci.py:172 +#: addon\synthDrivers\ibmeci.py:178 msgid "Al&ways Send Current Speech Settings" msgstr "" -#: addon\synthDrivers\ibmeci.py:173 +#: addon\synthDrivers\ibmeci.py:179 msgid "Sa&mple Rate" msgstr "" diff --git a/addon/doc/es/README.md b/addon/doc/es/README.md index 2058bc2..90d2a4a 100644 --- a/addon/doc/es/README.md +++ b/addon/doc/es/README.md @@ -75,6 +75,12 @@ para saber cómo empaquetar las bibliotecas en un complemento separado. * Las herramientas scons y gettext de este proyecto son compatibles con python 3 únicamente. No funcionan en python 2.7. * Puede agregar los archivos extra requeridos de IBMTTS dentro del complemento (para uso personal solamente). Simplemente cópielos dentro de "addon\synthDrivers\ibmtts". Ajuste el nombre de la librería por defecto en "settingsDB.py" si es necesario. +## Reporte de problemas. + +Si encuentra un problema de seguridad con algunas de las bibliotecas compatibles con este controlador, no abra un problema de github ni lo comente en los foros antes de que se resuelva el problema. Informe el problema en [este formulario.](https://docs.google.com/forms/d/123gSqayOAsIQLx1NiI98fEqr46oiJRZ9nNq0_KIF9WU/edit) + +Si el problema no perjudica el controlador o el lector de pantallas, abra un [problema de github aquí.](https://github.com/davidacm/NVDA-IBMTTS-Driver/issues) + ## Referencias. Este controlador está basado en el SDK de Viavoice de IBM (IBMTTS) la documentación está disponible en [este enlace](http://web.archive.org/web/20191125091344/http://www.wizzardsoftware.com/docs/tts.pdf) diff --git a/addon/locale/es/LC_MESSAGES/nvda.po b/addon/locale/es/LC_MESSAGES/nvda.po index 05e8245..bee9d0a 100644 --- a/addon/locale/es/LC_MESSAGES/nvda.po +++ b/addon/locale/es/LC_MESSAGES/nvda.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: IBMTTS for NVDA\n" "Report-Msgid-Bugs-To: 'nvda-translations@freelists.org'\n" -"POT-Creation-Date: 2022-08-16 21:09-0600\n" -"PO-Revision-Date: 2022-08-16 21:11-0600\n" +"POT-Creation-Date: 2022-12-06 16:44-0600\n" +"PO-Revision-Date: 2022-12-06 17:08-0600\n" "Last-Translator: Rémy Ruiz \n" "Language-Team: José Manuel Delicado \n" "Language: es\n" @@ -16,7 +16,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.1\n" +"X-Generator: Poedit 3.2.2\n" "X-Poedit-SourceCharset: iso-8859-1\n" #: addon\synthDrivers\_ibmeci.py:61 @@ -87,53 +87,53 @@ msgstr "Danés" msgid "Hong Kong Cantonese" msgstr "Cantonés de Hong Kong" -#: addon\synthDrivers\ibmeci.py:163 +#: addon\synthDrivers\ibmeci.py:169 msgid "Rate boos&t" msgstr "&Turbo de voz" -#: addon\synthDrivers\ibmeci.py:165 +#: addon\synthDrivers\ibmeci.py:171 #, fuzzy #| msgid "Head size" msgid "Hea&d size" msgstr "Tamaño de la cabeza" -#: addon\synthDrivers\ibmeci.py:166 +#: addon\synthDrivers\ibmeci.py:172 #, fuzzy #| msgid "Roughness" msgid "Rou&ghness" msgstr "Carraspeo" -#: addon\synthDrivers\ibmeci.py:167 +#: addon\synthDrivers\ibmeci.py:173 #, fuzzy #| msgid "Breathiness" msgid "Breathi&ness" msgstr "Respiración" -#: addon\synthDrivers\ibmeci.py:168 +#: addon\synthDrivers\ibmeci.py:174 msgid "Enable backquote voice &tags" msgstr "Activar &etiquetas de cambio de voz" -#: addon\synthDrivers\ibmeci.py:169 -msgid "Enable &abbreviation dictionary" -msgstr "Habilitar diccionario de abreviaturas" +#: addon\synthDrivers\ibmeci.py:175 +msgid "Enable &abbreviation expansion" +msgstr "Habilitar expansión de abreviaturas" -#: addon\synthDrivers\ibmeci.py:170 +#: addon\synthDrivers\ibmeci.py:176 #, fuzzy #| msgid "Enable phrase prediction" msgid "Enable phras&e prediction" msgstr "habilitar predicción de frases" -#: addon\synthDrivers\ibmeci.py:171 +#: addon\synthDrivers\ibmeci.py:177 msgid "&Shorten pauses" msgstr "Acortar las pausas" -#: addon\synthDrivers\ibmeci.py:172 +#: addon\synthDrivers\ibmeci.py:178 #, fuzzy #| msgid "Always Send Current Speech Settings" msgid "Al&ways Send Current Speech Settings" msgstr "Siempre enviar las configuraciones de voz actuales" -#: addon\synthDrivers\ibmeci.py:173 +#: addon\synthDrivers\ibmeci.py:179 msgid "Sa&mple Rate" msgstr "&Frecuencia de muestreo" diff --git a/changelog.md b/changelog.md index b01a3bd..0d4660d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,8 +1,12 @@ -# v22.08 +# v22.12 -* added soundcard detection change functionality. Sometimes IBMTTS was not able to detect those changes, E.G. when connecting a new sound device output. -* The abbreviation dictionary setting is now set directly through the API instead of through annotations -* updated readme and always send current speech settings description. -* Updated juar anticrash expression further. -* Annotations are now only sent at the beginning of speech sequences. The long term solution could be better, but this should fix #74. This also means that IBMTTS is now compatible with the always send current speech settings option. -* isIBM now applies if the IBMTTS version is 6.2 or higher. Fixes #69 +* updated spanish strings and documentation. +* updated the template of locale strings (for translators). +* fixed a spanish crashing pattern. +* changed the Chinese character encoding from GB2312 to CP936 (GBK). This enables IBMTTS implementations that support it to read more characters, including Traditional Chinese ones. This should be backwards compatible with GB2312, but versions that only support that encoding won't be able to read the extra characters. Fixes #57. +* Updated readme with new information on the best DLL to use for IBMTTS. Added a new section to explain how to report new issues. +* Removed access to the 22 kHz option that previously appeared if using IBMTTS, due to some reasons related with the IBMTTS libraries. +* Updated IBMTTS anticrash to catch more cases. +* Updated german interface and documentation. +* Updated voice names to use the proper set. This also means that voices 3, 5, and 6 are finally named properly after many years. +* Renamed Enable abbreviation dictionary setting to Enable abbreviation expansion for clarity. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..a266e94 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,9 @@ +autopep8==1.6.0 +entrypoints==0.3 +flake8==3.7.9 +Markdown==3.1.1 +mccabe==0.6.1 +pycodestyle==2.5.0 +pyflakes==2.1.1 +SCons==4.3.0 +toml==0.10.2