Skip to content

Commit

Permalink
Add french translation, thanks to Rémy Ruiz
Browse files Browse the repository at this point in the history
fix english messages, english and spanish readme, thanks to Rémy Ruiz
update IBMTTS version.
  • Loading branch information
davidacm committed Apr 6, 2019
1 parent bcac393 commit fbd9cac
Show file tree
Hide file tree
Showing 8 changed files with 321 additions and 29 deletions.
18 changes: 9 additions & 9 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.2b2'\n"
"Project-Id-Version: 'IBMTTS' '19.2b4'\n"
"Report-Msgid-Bugs-To: 'nvda-translations@freelists.org'\n"
"POT-Creation-Date: 2019-03-30 14:53-0600\n"
"POT-Creation-Date: 2019-04-06 16:17-0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -135,7 +135,7 @@ msgid ""
msgstr ""

#. Translators: The title displayed when the IBMTTS files folder and library name have been set.
#. Translators: The title displayed when copying IBMTTS fails to Add-on was successful.
#. Translators: The title displayed when copying IBMTTS files to Add-on was successful.
#: addon\globalPlugins\ibmtts.py:54 addon\globalPlugins\ibmtts.py:101
msgid "Success"
msgstr ""
Expand All @@ -160,7 +160,7 @@ msgstr ""
msgid "Error"
msgstr ""

#. Translators: A message to ask the user to copy IBMTTS fails to Add-on folder.
#. 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 "
Expand All @@ -182,28 +182,28 @@ msgstr ""
msgid "Please wait while IBMTTS files are copied into add-on."
msgstr ""

#. Translators: a message dialog asking to retry or cancel when copying IBMTTS fails.
#. Translators: a message dialog asking to retry or cancel when copying IBMTTS files.
#: addon\globalPlugins\ibmtts.py:85
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 fails
#. Translators: the title of a retry cancel dialog when copying IBMTTS files.
#: addon\globalPlugins\ibmtts.py:87
msgid "Error Copying"
msgstr ""

#. Translators: The message displayed when copying IBMTTS fails to Add-on was successful.
#. Translators: The message displayed when copying IBMTTS files to Add-on was successful.
#: addon\globalPlugins\ibmtts.py:99
msgid ""
"Successfully copied IBMTTS fails. The local copy will be used after restart "
"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
msgid "Error copying IBMTTS fails"
msgid "Error copying IBMTTS files"
msgstr ""

#. # Translators: message box when user is installing the addon in NVDA.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
Also in this category you can copy the external IBMTTS files into Add-on.
Please note: if the synthesizer is inside the add-on, the driver will update the ini library paths automatically. So you can use it on portable NVDA versions.

#packaging it for distribution.
# Packaging it for distribution.
Open a command line, change to the Add-on root folder and run the scons command. The created add-on, if there were no errors, is placed in the root directory.

## Notes:
Expand Down
4 changes: 2 additions & 2 deletions addon/doc/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Soporte para las configuraciones de voz,variante, velocidad, tono, entonación y volumen.
* Soporte de parámetros extra como tamaño de la cabeza, carraspeo, respiración. ¡Cree su propia voz!
* Habilite o deshabilite las etiquetas de cambio de voz. Desactívalas para protegerte de códigos maliciosos de bromistas, actívalas para hacer muchas cosas divertidas con el sintetizador. ¡Diversión segura garantizada!
* Turvo de voz. Si el sintetizador no te habla lo suficientemente rápido ¡entonces activa el turbo de voz y obtén la velocidad máxima!
* Turbo de voz. Si el sintetizador no te habla lo suficientemente rápido ¡entonces activa el turbo de voz y obtén la velocidad máxima!
* cambios automáticos de idioma. ¡Permítele al sintetizador hablar en el idioma correcto!
* Soporte de índice. El cursor nunca se perderá al usar las características de leer todo.
* Filtro de expresiones anti crashing. El controlador reconoce las expresiones que pueden dañar el funcionamiento del sintetizador.
Expand All @@ -25,7 +25,7 @@
En esta categoría también puedes copiar los archivos externos de IBMTTS dentro del complemento.
Nota: si el sintetizador se encuentra dentro del complemento, el controlador actualizará las rutas del archivo ini automáticamente. Así que puedes usarlo en versiones portables de NVDA.

#Empaquetar el complemento para su distribución.
# Empaquetar el complemento para su distribución.
Abra una línea de comandos, cambie al directorio raíz del complemento y ejecute el comando scons. El complemento creado, si no hay errores, será puesto en la carpeta raíz del complemento.

## Notas:
Expand Down
32 changes: 32 additions & 0 deletions addon/doc/fr/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Pilote IBMTTS, extension pour NVDA #
Cette extension implémente la compatibilité NVDA avec le synthétiseur IBMTTS.
Nous ne pouvons pas distribuer les bibliothèques IBMTTS. Donc, c'est juste le pilote.
Si vous souhaitez améliorer ce pilote, n'hésitez pas à envoyer librement vos pull requests via github !

# 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, 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 !
* Prise en charge d'indexation. Le curseur ne sera jamais perdu lors de l'utilisation des fonctionnalités lire tout.
* Expressions de filtre anti-crash. Le pilote reconnaît les expressions pouvant endommager le fonctionnement du synthétiseur.

# 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 !

## 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:
* 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.
16 changes: 9 additions & 7 deletions addon/globalPlugins/ibmtts.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _onSetLocalClick(self, evt):
# Translators: The message displayed when the current source path is relative.
gui.messageBox(_("Relative paths are not allowed."), _("Error"), wx.OK|wx.ICON_ERROR, self)
return
# Translators: A message to ask the user to copy IBMTTS fails to Add-on folder.
# Translators: A message to ask the user to copy IBMTTS files to Add-on folder.
if gui.messageBox(_("Are you sure to copy IBMTTS files to local NVDA driver Add-on? It may not work in some IBMTTS distributions."),
# Translators: The title of the Asking dialog displayed when trying to copy IBMTTS files.
_("Copy IBMTTS files"),
Expand All @@ -81,9 +81,9 @@ def _onSetLocalClick(self, evt):
res = True
break
except Exception:
# Translators: a message dialog asking to retry or cancel when copying IBMTTS fails.
# Translators: a message dialog asking to retry or cancel when copying IBMTTS files.
message=_("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.")
# Translators: the title of a retry cancel dialog when copying IBMTTS fails
# Translators: the title of a retry cancel dialog when copying IBMTTS files.
title=_("Error Copying")
if winUser.MessageBox(None,message,title,winUser.MB_RETRYCANCEL) != winUser.IDRETRY:
res=False
Expand All @@ -95,13 +95,13 @@ def _onSetLocalClick(self, evt):
self._ttsPath.SetValue("ibmtts")
# this parameter is saved even if the user doesn't click accept button.
config.conf['ibmeci']['TTSPath'] = self._ttsPath.GetValue()
# Translators: The message displayed when copying IBMTTS fails to Add-on was successful.
gui.messageBox(_("Successfully copied IBMTTS fails. The local copy will be used after restart NVDA."),
# Translators: The title displayed when copying IBMTTS fails to Add-on was successful.
# Translators: The message displayed when copying IBMTTS files to Add-on was successful.
gui.messageBox(_("Successfully copied IBMTTS files. The local copy will be used after restart NVDA."),
# Translators: The title displayed when copying IBMTTS files to Add-on was successful.
_("Success"),wx.OK|wx.ICON_INFORMATION,self)
else:
# Translators: The message displayed when errors were found while trying to copy IBMTTS files to Add-on.
gui.messageBox(_("Error copying IBMTTS fails"), _("Error"), wx.OK|wx.ICON_ERROR, self)
gui.messageBox(_("Error copying IBMTTS files"), _("Error"), wx.OK|wx.ICON_ERROR, self)

def copyTtsFiles(self):
import installer
Expand All @@ -127,3 +127,5 @@ def __init__(self):
super(GlobalPlugin, self).__init__()
gui.settingsDialogs.NVDASettingsDialog.categoryClasses.append(IBMTTSSettingsPanel)


#__all__ = ['settingsDB']
18 changes: 9 additions & 9 deletions addon/locale/es/LC_MESSAGES/nvda.po
Original file line number Diff line number Diff line change
Expand Up @@ -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: 2019-03-30 14:53-0600\n"
"PO-Revision-Date: 2019-03-30 14:58-0600\n"
"POT-Creation-Date: 2019-04-06 16:09-0600\n"
"PO-Revision-Date: 2019-04-06 16:11-0600\n"
"Last-Translator: David CM <dhf360@gmail.com>\n"
"Language-Team: José Manuel Delicado <jmdaweb@hotmail.com>\n"
"Language: es\n"
Expand Down Expand Up @@ -142,7 +142,7 @@ msgstr ""
"archivos de IBMTTS en el complemento\"."

#. Translators: The title displayed when the IBMTTS files folder and library name have been set.
#. Translators: The title displayed when copying IBMTTS fails to Add-on was successful.
#. Translators: The title displayed when copying IBMTTS files to Add-on was successful.
#: addon\globalPlugins\ibmtts.py:54 addon\globalPlugins\ibmtts.py:101
msgid "Success"
msgstr "Correcto"
Expand All @@ -169,7 +169,7 @@ msgstr "Las rutas relativas no son permitidas."
msgid "Error"
msgstr "Error"

#. Translators: A message to ask the user to copy IBMTTS fails to Add-on folder.
#. 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 "
Expand All @@ -194,7 +194,7 @@ msgid "Please wait while IBMTTS files are copied into add-on."
msgstr ""
"Por favor espere mientras los archivos de IBMTTS se copian en el complemento."

#. Translators: a message dialog asking to retry or cancel when copying IBMTTS fails.
#. Translators: a message dialog asking to retry or cancel when copying IBMTTS files.
#: addon\globalPlugins\ibmtts.py:85
msgid ""
"Unable to copy a file. Perhaps it is currently being used by another process "
Expand All @@ -204,23 +204,23 @@ msgstr ""
"o no tienes suficiente espacio en la unidad a la que se están copiando los "
"archivos."

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

#. Translators: The message displayed when copying IBMTTS fails to Add-on was successful.
#. Translators: The message displayed when copying IBMTTS files to Add-on was successful.
#: addon\globalPlugins\ibmtts.py:99
msgid ""
"Successfully copied IBMTTS fails. The local copy will be used after restart "
"Successfully copied IBMTTS files. The local copy will be used after restart "
"NVDA."
msgstr ""
"Archivos de IBMTTS copiados correctamente. La copia local será usada después "
"de reiniciar NVDA."

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

#. # Translators: message box when user is installing the addon in NVDA.
Expand Down
Loading

0 comments on commit fbd9cac

Please sign in to comment.