Skip to content

Commit

Permalink
Update i18n and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hvelarde committed Jun 16, 2016
1 parent 6ebf9a1 commit 04c28d5
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 47 deletions.
4 changes: 2 additions & 2 deletions CHANGES.rst
Expand Up @@ -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]


Expand Down
6 changes: 3 additions & 3 deletions README.rst
Expand Up @@ -44,7 +44,7 @@ Known Issues
For more information, see `ResponsiveVoice FAQ <http://responsivevoice.org/faq/>`_.

Some browser add-ons (e.g., `Privacy Badger <https://www.eff.org/privacybadger>`_), 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
Expand Down Expand Up @@ -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
Expand All @@ -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'.
26 changes: 13 additions & 13 deletions 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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -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 ""
Expand All @@ -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 ""
@@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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"
@@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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"
2 changes: 1 addition & 1 deletion src/collective/texttospeech/tests/test_texttospeech.robot
Expand Up @@ -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

0 comments on commit 04c28d5

Please sign in to comment.