From c7efa600fdfaa3a844a1db236eb0a8de780576b0 Mon Sep 17 00:00:00 2001 From: Yannick PLASSIARD Date: Wed, 19 Dec 2018 09:42:27 +0100 Subject: [PATCH] Clarifies license info and global clean-mp --- addon/globalPlugins/translate/__init__.py | 6 ++++++ addon/locale/fr/LC_MESSAGES/nvda.po | 6 +----- buildVars.py | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/addon/globalPlugins/translate/__init__.py b/addon/globalPlugins/translate/__init__.py index 3ad8fe2..92e214f 100644 --- a/addon/globalPlugins/translate/__init__.py +++ b/addon/globalPlugins/translate/__init__.py @@ -4,6 +4,12 @@ #Copyright (C) 2018 Yannick PLASSIARD #This file is covered by the GNU General Public License. #See the file LICENSE for more details. +#This add-on also uses the following external libraries: +#markupbase, htmlentitydefs, HTMLParser: Come from the Python2 standard installation. +#mtranslate: MIT License + +# Moreover, the mtranslate package relies on URLLib, part of Python2 standard installation to +# connect to the Google Translate server. diff --git a/addon/locale/fr/LC_MESSAGES/nvda.po b/addon/locale/fr/LC_MESSAGES/nvda.po index 540857a..06f975f 100644 --- a/addon/locale/fr/LC_MESSAGES/nvda.po +++ b/addon/locale/fr/LC_MESSAGES/nvda.po @@ -92,11 +92,7 @@ msgstr "Traduction désactivée." msgid "Enables translation to the desired language." msgstr "Active la traduction automatique." -#. Add-on summary, usually the user visible name of the addon. -#. Translators: Summary for this add-on to be shown on installation and add-on information. -#: buildVars.py:17 -msgid "Translates spoken text to the desired language" -msgstr "Traduit le texte parlé dans la langue sélectionnée." + #. Add-on description #. Translators: Long description to be shown for this add-on on add-on information from add-ons manager diff --git a/buildVars.py b/buildVars.py index 0f4275b..8c2faff 100644 --- a/buildVars.py +++ b/buildVars.py @@ -14,13 +14,13 @@ "addon_name" : "translate", # Add-on summary, usually the user visible name of the addon. # Translators: Summary for this add-on to be shown on installation and add-on information. - "addon_summary" : _("Translates spoken text to the desired language"), + "addon_summary" : _("Translate"), # Add-on description # Translators: Long description to be shown for this add-on on add-on information from add-ons manager "addon_description" : _("""Uses the Google Translate API to translate each spoken text to the desired language, on the fly. This add-on requires an internet connection."""), # version - "addon_version" : "2018.12", + "addon_version" : "2018.12.1", # Author(s) "addon_author" : u"Yannick PLASSIARD ", # URL for the add-on documentation support