From 04c28d5700ff433ad4aed22fd740c6f2f340e171 Mon Sep 17 00:00:00 2001 From: hvelarde Date: Thu, 16 Jun 2016 12:24:35 -0300 Subject: [PATCH] Update i18n and documentation --- CHANGES.rst | 4 +-- README.rst | 6 ++-- .../locales/collective.texttospeech.pot | 26 ++++++++--------- .../es/LC_MESSAGES/collective.texttospeech.po | 28 +++++++++---------- .../LC_MESSAGES/collective.texttospeech.po | 28 +++++++++---------- .../tests/test_texttospeech.robot | 2 +- 6 files changed, 47 insertions(+), 47 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 7c06de0..6559e53 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,14 +4,14 @@ Changelog 1.0b2 (unreleased) ------------------ -- To avoid displaying the '🔊 Listen' button with an incorrect voice, +- To avoid displaying the 'Listen' button with an incorrect voice, the feature is now globally disabled by default at installation time. [hvelarde] - ResponsiveVoice library is now only loaded when needed. [hvelarde] -- The '🔊 Listen' button is now shown only after ResponsiveVoice library has been loaded. +- The 'Listen' button is now shown only after ResponsiveVoice library has been loaded. [rodfersou] diff --git a/README.rst b/README.rst index e50d219..87b6edb 100644 --- a/README.rst +++ b/README.rst @@ -44,7 +44,7 @@ Known Issues For more information, see `ResponsiveVoice FAQ `_. Some browser add-ons (e.g., `Privacy Badger `_), could block ResponsiveVoice library disabling the Text-to-Speech feature. -In those cases the '🔊 Listen' button will not be available, +In those cases the 'Listen' button will not be available, neither the Text-To-Speech control panel configlet will work. Don't Panic @@ -84,7 +84,7 @@ Select which content types will have the feature enabled and select which voice The Text-To-Speech control panel configlet. -A viewlet with a '🔊 Listen' button will be displayed on objects with the feature enabled. +A viewlet with a 'Listen' button will be displayed on objects with the feature enabled. .. figure:: https://raw.githubusercontent.com/collective/collective.texttospeech/master/docs/viewlet.png :align: center @@ -93,4 +93,4 @@ A viewlet with a '🔊 Listen' button will be displayed on objects with the feat The Text-To-Speech feature enabled. -You can pause/resume the reader at any time by selecting '⏸ Pause'/'▶ Resume'. +You can pause/resume the reader at any time by selecting 'Pause'/'Resume'. diff --git a/src/collective/texttospeech/locales/collective.texttospeech.pot b/src/collective/texttospeech/locales/collective.texttospeech.pot index c7256b9..9e456c6 100644 --- a/src/collective/texttospeech/locales/collective.texttospeech.pot +++ b/src/collective/texttospeech/locales/collective.texttospeech.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2016-06-15 19:56+0000\n" +"POT-Creation-Date: 2016-06-16 15:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -38,10 +38,22 @@ msgstr "" msgid "If selected, Text-to-Speech feature will be enabled sitewide." msgstr "" +#: collective/texttospeech/browser/templates/texttospeech.pt:1 +msgid "Listen" +msgstr "" + #: collective/texttospeech/interfaces.py:26 msgid "Only objects of these content types will display a Text-to-Speech button." msgstr "" +#: collective/texttospeech/browser/templates/texttospeech.pt:1 +msgid "Pause" +msgstr "" + +#: collective/texttospeech/browser/templates/texttospeech.pt:1 +msgid "Resume" +msgstr "" + #: collective/texttospeech/browser/templates/texttospeech.pt:13 msgid "Speech synthesis control" msgstr "" @@ -67,15 +79,3 @@ msgstr "" #: collective/texttospeech/profiles.zcml:23 msgid "collective.texttospeech: uninstall" msgstr "" - -#: collective/texttospeech/browser/templates/texttospeech.pt:1 -msgid "⏸ Pause" -msgstr "" - -#: collective/texttospeech/browser/templates/texttospeech.pt:1 -msgid "▶ Resume" -msgstr "" - -#: collective/texttospeech/browser/templates/texttospeech.pt:1 -msgid "🔊 Listen" -msgstr "" diff --git a/src/collective/texttospeech/locales/es/LC_MESSAGES/collective.texttospeech.po b/src/collective/texttospeech/locales/es/LC_MESSAGES/collective.texttospeech.po index 702a7c5..d9223df 100644 --- a/src/collective/texttospeech/locales/es/LC_MESSAGES/collective.texttospeech.po +++ b/src/collective/texttospeech/locales/es/LC_MESSAGES/collective.texttospeech.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2016-06-15 19:56+0000\n" -"PO-Revision-Date: 2016-06-15 16:57-0300\n" +"POT-Creation-Date: 2016-06-16 15:16+0000\n" +"PO-Revision-Date: 2016-06-16 12:17-0300\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -41,10 +41,22 @@ msgstr "Aquí puede modificar las configuraciones de síntesis de habla." msgid "If selected, Text-to-Speech feature will be enabled sitewide." msgstr "Si está seleccionado, la funcionalidad de síntesis de habla estará habilitada en el sitio." +#: collective/texttospeech/browser/templates/texttospeech.pt:1 +msgid "Listen" +msgstr "Escuchar" + #: collective/texttospeech/interfaces.py:26 msgid "Only objects of these content types will display a Text-to-Speech button." msgstr "Sólo los objetos de estos tipos de contenido mostrarán el botón de síntesis de habla." +#: collective/texttospeech/browser/templates/texttospeech.pt:1 +msgid "Pause" +msgstr "Pausar" + +#: collective/texttospeech/browser/templates/texttospeech.pt:1 +msgid "Resume" +msgstr "Continuar" + #: collective/texttospeech/browser/templates/texttospeech.pt:13 msgid "Speech synthesis control" msgstr "Control de la síntesis de habla" @@ -70,15 +82,3 @@ msgstr "Voz utilizada para leer el texto." #: collective/texttospeech/profiles.zcml:23 msgid "collective.texttospeech: uninstall" msgstr "collective.texttospeech: uninstall" - -#: collective/texttospeech/browser/templates/texttospeech.pt:1 -msgid "⏸ Pause" -msgstr "⏸ Pausar" - -#: collective/texttospeech/browser/templates/texttospeech.pt:1 -msgid "▶ Resume" -msgstr "▶ Continuar" - -#: collective/texttospeech/browser/templates/texttospeech.pt:1 -msgid "🔊 Listen" -msgstr "🔊 Escuchar" diff --git a/src/collective/texttospeech/locales/pt_BR/LC_MESSAGES/collective.texttospeech.po b/src/collective/texttospeech/locales/pt_BR/LC_MESSAGES/collective.texttospeech.po index d11f529..30aef38 100644 --- a/src/collective/texttospeech/locales/pt_BR/LC_MESSAGES/collective.texttospeech.po +++ b/src/collective/texttospeech/locales/pt_BR/LC_MESSAGES/collective.texttospeech.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2016-06-15 19:56+0000\n" -"PO-Revision-Date: 2016-06-15 16:57-0300\n" +"POT-Creation-Date: 2016-06-16 15:16+0000\n" +"PO-Revision-Date: 2016-06-16 12:16-0300\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -41,10 +41,22 @@ msgstr "Aqui pode modificar as configurações de síntese de voz." msgid "If selected, Text-to-Speech feature will be enabled sitewide." msgstr "Se estiver selecionado, a funcionalidade de síntese de voz estará habilitada no site." +#: collective/texttospeech/browser/templates/texttospeech.pt:1 +msgid "Listen" +msgstr "Ouvir" + #: collective/texttospeech/interfaces.py:26 msgid "Only objects of these content types will display a Text-to-Speech button." msgstr "Só objetos de esses tipos de conteúdo mostrarão o botão de síntese de voz." +#: collective/texttospeech/browser/templates/texttospeech.pt:1 +msgid "Pause" +msgstr "Pausar" + +#: collective/texttospeech/browser/templates/texttospeech.pt:1 +msgid "Resume" +msgstr "Continuar" + #: collective/texttospeech/browser/templates/texttospeech.pt:13 msgid "Speech synthesis control" msgstr "Controle da síntese de voz" @@ -70,15 +82,3 @@ msgstr "Voz utilizada para ler o texto." #: collective/texttospeech/profiles.zcml:23 msgid "collective.texttospeech: uninstall" msgstr "collective.texttospeech: uninstall" - -#: collective/texttospeech/browser/templates/texttospeech.pt:1 -msgid "⏸ Pause" -msgstr "⏸ Pausar" - -#: collective/texttospeech/browser/templates/texttospeech.pt:1 -msgid "▶ Resume" -msgstr "▶ Continuar" - -#: collective/texttospeech/browser/templates/texttospeech.pt:1 -msgid "🔊 Listen" -msgstr "🔊 Ouvir" diff --git a/src/collective/texttospeech/tests/test_texttospeech.robot b/src/collective/texttospeech/tests/test_texttospeech.robot index f217904..2ee5668 100644 --- a/src/collective/texttospeech/tests/test_texttospeech.robot +++ b/src/collective/texttospeech/tests/test_texttospeech.robot @@ -36,7 +36,7 @@ Test Text-To-Speech Wait Until Element Is Visible css=${viewlet_button_selector} # test the reader - Click Button 🔊 Listen + Click Button Listen Sleep 5 Wait for ResponsiveVoice to read the text # TODO: test interaction with the reader