Skip to content

Commit

Permalink
Merge upstream/master
Browse files Browse the repository at this point in the history
  • Loading branch information
ultrasound1372 committed May 12, 2021
2 parents 6b4ab8e + 8444710 commit fc36375
Show file tree
Hide file tree
Showing 15 changed files with 703 additions and 256 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ addon/synthDrivers/ibmtts
*.mo
*.py[co]
*.nvda-addon
*.code-workspace
setup.cfg
.sconsign.dblite
123 changes: 75 additions & 48 deletions IBMTTS.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 'IBMTTS' '19.2b6'\n"
"Project-Id-Version: 'IBMTTS' '21.03a1'\n"
"Report-Msgid-Bugs-To: '[email protected]'\n"
"POT-Creation-Date: 2019-05-24 07:35+0800\n"
"POT-Creation-Date: 2021-03-18 07:53-0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -17,78 +17,112 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: addon\synthDrivers\_ibmeci.py:51
#: addon\synthDrivers\_ibmeci.py:57
msgid "Castilian Spanish"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:52
#: addon\synthDrivers\_ibmeci.py:58
msgid "Latin American Spanish"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:53
#: addon\synthDrivers\_ibmeci.py:59
msgid "Brazilian Portuguese"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:54
#: addon\synthDrivers\_ibmeci.py:60
msgid "French"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:55
#: addon\synthDrivers\_ibmeci.py:61
msgid "French Canadian"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:56
#: addon\synthDrivers\_ibmeci.py:62
msgid "Finnish"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:57
#: addon\synthDrivers\_ibmeci.py:63
msgid "Chinese"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:58
#: addon\synthDrivers\_ibmeci.py:64
msgid "Japanese"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:59
#: addon\synthDrivers\_ibmeci.py:65
msgid "Korean"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:60
#: addon\synthDrivers\_ibmeci.py:66
msgid "German"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:61
#: addon\synthDrivers\_ibmeci.py:67
msgid "Italian"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:62
#: addon\synthDrivers\_ibmeci.py:68
msgid "American English"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:63
#: addon\synthDrivers\_ibmeci.py:69
msgid "British English"
msgstr ""

#: addon\synthDrivers\ibmeci.py:91
#: addon\synthDrivers\_ibmeci.py:70
msgid "Swedish"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:71
msgid "Norwegian"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:72
msgid "Danish"
msgstr ""

#: addon\synthDrivers\_ibmeci.py:73
msgid "Hong Kong Cantonese"
msgstr ""

#: addon\synthDrivers\ibmeci.py:142
msgid "Rate boos&t"
msgstr ""

#: addon\synthDrivers\ibmeci.py:92
msgid "Head Size"
#: addon\synthDrivers\ibmeci.py:144
msgid "Head size"
msgstr ""

#: addon\synthDrivers\ibmeci.py:92
#: addon\synthDrivers\ibmeci.py:145
msgid "Roughness"
msgstr ""

#: addon\synthDrivers\ibmeci.py:92
#: addon\synthDrivers\ibmeci.py:146
msgid "Breathiness"
msgstr ""

#: addon\synthDrivers\ibmeci.py:92
#: addon\synthDrivers\ibmeci.py:147
msgid "Enable backquote voice &tags"
msgstr ""

#: addon\synthDrivers\ibmeci.py:148
msgid "Enable &abbreviation dictionary"
msgstr ""

#: addon\synthDrivers\ibmeci.py:149
msgid "Enable phrase prediction"
msgstr ""

#: addon\synthDrivers\ibmeci.py:150
msgid "&Shorten pauses"
msgstr ""

#: addon\synthDrivers\ibmeci.py:151
msgid ""
"Always Send Current Speech Settings (enable to prevent some tags from "
"sticking, disable for viavoice binary compatibility)"
msgstr ""

#. Translators: This is the label for the IBMTTS settings category in NVDA Settings screen.
#: addon\globalPlugins\ibmtts.py:17
msgid "IBMTTS"
Expand All @@ -112,8 +146,7 @@ msgstr ""
#. Translators: This is the button to copy external IBMTTS files into synth driver Add-on.
#: addon\globalPlugins\ibmtts.py:29
msgid ""
"&Copy IBMTTS files into driver add-on (may not work for some IBMTTS "
"distributions)"
"&Copy IBMTTS files in an add-on (may not work for some IBMTTS distributions)"
msgstr ""

#: addon\globalPlugins\ibmtts.py:41
Expand All @@ -136,7 +169,7 @@ msgstr ""

#. Translators: The title displayed when the IBMTTS files folder and library name have been set.
#. Translators: The title displayed when copying IBMTTS files to Add-on was successful.
#: addon\globalPlugins\ibmtts.py:54 addon\globalPlugins\ibmtts.py:101
#: addon\globalPlugins\ibmtts.py:54 addon\globalPlugins\ibmtts.py:102
msgid "Success"
msgstr ""

Expand All @@ -156,78 +189,72 @@ msgstr ""
msgid "Relative paths are not allowed."
msgstr ""

#: addon\globalPlugins\ibmtts.py:66 addon\globalPlugins\ibmtts.py:104
#: addon\globalPlugins\ibmtts.py:66 addon\globalPlugins\ibmtts.py:105
msgid "Error"
msgstr ""

#. Translators: A message to ask the user to copy IBMTTS files to Add-on folder.
#: addon\globalPlugins\ibmtts.py:69
msgid ""
"Are you sure to copy IBMTTS files to local NVDA driver Add-on? It may not "
"work in some IBMTTS distributions."
"Are you sure to copy IBMTTS files to local NVDA installation and register a "
"new add-on called \"eciLibraries\" to store the libraries? It may not work "
"in some IBMTTS distributions.\n"
"\t\tNote: after it, if you want to uninstall this add-on, you'll need to "
"uninstall two add-ons in order to delete IBMTTS files completelly from "
"NVDA. This one and \"eciLibraries\""
msgstr ""

#. Translators: The title of the Asking dialog displayed when trying to copy IBMTTS files.
#: addon\globalPlugins\ibmtts.py:71
#: addon\globalPlugins\ibmtts.py:72
msgid "Copy IBMTTS files"
msgstr ""

#. Translators: The title of the dialog presented while IBMTTS files are being copied.
#: addon\globalPlugins\ibmtts.py:75
#: addon\globalPlugins\ibmtts.py:76
msgid "Copying files"
msgstr ""

#. Translators: The message displayed while IBMTTS files are being copied.
#: addon\globalPlugins\ibmtts.py:77
#: addon\globalPlugins\ibmtts.py:78
msgid "Please wait while IBMTTS files are copied into add-on."
msgstr ""

#. Translators: a message dialog asking to retry or cancel when copying IBMTTS files.
#: addon\globalPlugins\ibmtts.py:85
#: addon\globalPlugins\ibmtts.py:86
msgid ""
"Unable to copy a file. Perhaps it is currently being used by another process "
"or you have run out of disc space on the drive you are copying to."
msgstr ""

#. Translators: the title of a retry cancel dialog when copying IBMTTS files.
#: addon\globalPlugins\ibmtts.py:87
#: addon\globalPlugins\ibmtts.py:88
msgid "Error Copying"
msgstr ""

#. Translators: The message displayed when copying IBMTTS files to Add-on was successful.
#: addon\globalPlugins\ibmtts.py:99
#: addon\globalPlugins\ibmtts.py:100
msgid ""
"Successfully copied IBMTTS files. The local copy will be used after restart "
"NVDA."
msgstr ""

#. Translators: The message displayed when errors were found while trying to copy IBMTTS files to Add-on.
#: addon\globalPlugins\ibmtts.py:104
#: addon\globalPlugins\ibmtts.py:105
msgid "Error copying IBMTTS files"
msgstr ""

#. Translators: the message shown if the driver can't find libraries during installation.
#: addon\installTasks.py:12
#: addon\installTasks.py:13
msgid ""
"The synthesizer won't be available until you set IBMTTS files. NVDA won't "
"show this synthesizer in teh synthesizers list because you need to set the "
"show this synthesizer in teh synthesizers lists because you need to set the "
"IBMTTS files location first.\n"
"\tTo do it open the NVDA settings dialog, select IBMTTS category and use the "
"\"Browse for IBMTTS library\" button to select the IBMTTS files folder.\n"
msgstr ""

#. Translators: message box when user is installing the addon in NVDA.
#: addon\installTasks.py:16
msgid ""
"if you are using another copy of IBMTTS or similar with a different name, "
"you should not load this driver in the same NVDA session. If you do it, NVDA "
"will fail.\n"
"To resolve it switch to another synthesizer (E.G espeak) then restart NVDA. "
"Afther that, you can use this new driver."
msgstr ""

#. Translators: title of message box when user is installing NVDA
#: addon\installTasks.py:22
#: addon\installTasks.py:24
msgid "IBMTTS driver for NVDA"
msgstr ""

Expand All @@ -241,4 +268,4 @@ msgstr ""
#. Translators: Long description to be shown for this add-on on add-on information from add-ons manager
#: buildVars.py:20
msgid "This is the IBMTTS synthesizer driver for NVDA."
msgstr ""
msgstr ""
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
If you want to improve this driver, feel free to send your pull requests!

# Download.
The latest release is available to [download from this page](https://github.com/ultrasound1372/NVDA-IBMTTS-Driver/releases/latest)
The latest release is available to [download in this link](https://davidacm.github.io/getlatest/gh/davidacm/NVDA-IBMTTS-Driver)

# Features:
* Voice, variant, rate, pitch, inflection and volume setting support.
Expand Down Expand Up @@ -42,8 +42,9 @@ The latest release is available to [download from this page](https://github.com/
This driver is based on the IBM tts sdk, the documentation is available on:
[this link](http://www.wizzardsoftware.com/docs/tts.pdf)

Or you can get a copy on [this repo](https://github.com/ultrasound1372/NVDA-IBMTTS-Driver)
Or you can get a copy on [this repo](https://github.com/david-acm/NVDA-IBMTTS-Driver)

See the files

[tts.pdf](https://cdn.jsdelivr.net/gh/davidacm/NVDA-IBMTTS-Driver/apiReference/tts.pdf)
or [tts.txt.](https://cdn.jsdelivr.net/gh/davidacm/NVDA-IBMTTS-Driver/apiReference/tts.txt)
or [tts.txt.](https://cdn.jsdelivr.net/gh/davidacm/NVDA-IBMTTS-Driver/apiReference/tts.txt)
20 changes: 16 additions & 4 deletions addon/doc/fr/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Caractéristiques :
* Prise en charge des paramètres de voix, variante, débit, hauteur, inflexion et volume.
* Prise en charge des paramètres supplémentaire taille de la tête, raucité, souffle. Créez votre propre voix !
* Prise en charge des paramètres supplémentaire taille de la tête, enrouement , respiration. Créez votre propre voix !
* Activer ou désactiver les balises de changement de voix. Désactivez-les pour vous protéger contre les codes malveillants des farceurs, activez-les pour permettre de faire beaucoup de choses amusantes avec le synthétiseur. Un plaisir garanti en toute sécurité !
* Voix turbo. Si le synthétiseur ne vous parle pas assez vite, activez la voix turbo et obtenez la vitesse maximale !
* Changement automatique de langue. Laissez le synthétiseur parler dans la bonne langue !
Expand All @@ -14,19 +14,31 @@

# Exigences.
## NVDA.
Vous avez besoin de NVDA 2018.4 ou une version ultérieure. Ce pilote est compatible avec Python 3, vous pouvez donc l’utiliser avec les futures versions de NVDA. Une fois que NVDA avec Python 3 sera disponible, ce pilote ne sera plus compatible avec Python 2.7. Veuillez utiliser les dernières versions de NVDA. C'est gratuit !
Vous avez besoin de NVDA 2018.2 ou une version ultérieure. Ce pilote est compatible avec Python 3, vous pouvez donc l’utiliser avec les futures versions de NVDA. Une fois que NVDA avec Python 3 sera disponible, ce pilote ne sera plus compatible avec Python 2.7. Veuillez utiliser les dernières versions de NVDA. C'est gratuit !

## Bibliothèques du synthétiseur IBMTTS.
Ce n'est que le pilote, vous devez vous procurer les bibliothèques ailleurs.

# Installation.
Installez-le simplement comme n'importe quel extension NVDA. Ouvrez ensuite les paramètres du dialogue NVDA et dans la catégorie IBMTTS définissez le chemin des fichiers IBMTTS.
Également dans cette catégorie, vous pouvez copier les fichiers externes IBMTTS dans l'extension.
Remarque : si le synthétiseur est dans l'extension, le pilote mettra à jour automatiquement les chemins du fichier ini. Vous pouvez donc l'utiliser sur les versions portables de NVDA.


# Empaquetage de l'extension pour sa distribution.
Ouvrez une ligne de commande, changer le dossier racine de l'extension et exécutez la commande scons. L'extension créée, s'il n'y a pas d'erreur, sera placée dans le dossier racine de l'extension.

## Notes:

* Si le synthétiseur est dans cette extension ou dans l'extension "eciLibraries", le pilote mettra à jour automatiquement les chemins du fichier ini. Vous pouvez donc l'utiliser sur les versions portables de NVDA.
* Lorsque vous utilisez le bouton "Copier les fichiers IBMTTS dans une extension", il créera une nouvelle extension dans NVDA. Par conséquent, si vous souhaitez désinstaller IBMTTS, vous devez désinstaller deux extensions: "Pilote IBMTTS" et "Eci libraries".
* Les outils scons et gettext sur ce projet sont uniquement compatibles avec Python 3. Ils ne fonctionnent pas avec Python 2.7.
* Vous pouvez ajouter les fichiers supplémentaires requis de IBMTTS dans l'extension (pour un usage personnel uniquement). Copiez-les simplement dans "addon \ synthDrivers \ ibmtts". Définissez le nom de la bibliothèque par défaut sur "settingsDB.py" si nécessaire.
* Vous pouvez ajouter les fichiers supplémentaires requis de IBMTTS dans l'extension (pour un usage personnel uniquement). Copiez-les simplement dans "addon \ synthDrivers \ ibmtts". Définissez le nom de la bibliothèque par défaut sur "settingsDB.py" si nécessaire.

# Références.
Ce pilote est basé sur le SDK de Viavoice de IBM (IBMTTS) disponible sur [Ce lien](http://www.wizzardsoftware.com/docs/tts.pdf)

ou vous pouvez trouver une copie sur [ce repos](https://github.com/david-acm/NVDA-IBMTTS-Driver)

Voir les fichiers
[tts.pdf](https://cdn.jsdelivr.net/gh/david-acm/NVDA-IBMTTS-Driver/apiReference/tts.pdf)
ou [tts.txt.](https://cdn.jsdelivr.net/gh/david-acm/NVDA-IBMTTS-Driver/apiReference/tts.txt)
2 changes: 1 addition & 1 deletion addon/doc/zh_CN/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

* 此插件实现了与IBMTTS合成器的NVDA兼容性。
* 我们无法分发IBMTTS库。所以这只是驱动。
* 如果您想改进此驱动程序,请随时发送您的拉取请求
* 如果您想改进此驱动程序,请随时发送您的 Pull request

## 特性:
* 支持语音,变体,速率,音高,变形和音量设置。
Expand Down
Loading

0 comments on commit fc36375

Please sign in to comment.