diff --git a/CHANGELOG b/CHANGELOG index b8da5b3..6ec6e34 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,13 @@ +v 0.10.1 [26-mar-2022] + - Fix - issue #9 + +v 0.10.0 [19-mar-2022] + - Add french translation + v 0.9.0 [04-feb-2022] - Fix - Add minimal version required, issue #5 - Fix - Corrections to english messages, issue #6 - - Fix - Update and complete spanish translation, thanks to me, :) + - Fix - Update and complete Spanish translation, thanks to me, :) v 0.8.0 [13-jun-2021] - Update easymacro.py @@ -25,7 +31,7 @@ v 0.3.0 [12-nov-2019] - Test install numpy v 0.2.0 [18-oct-2019] - - Add spanish + - Add Spanish translation v 0.1.0 [18-oct-2019] - Initial version diff --git a/README.md b/README.md index 85b5f1a..7bc6a24 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,5 @@ SWIFT / BIC: TRWIBEB1XXX Thanks for translations: -English - @LibreOfficiant -French - @LibreOfficiant - -* Help Us +* English - @LibreOfficiant +* French - @LibreOfficiant diff --git a/VERSION b/VERSION index 2774f85..71172b4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.10.0 \ No newline at end of file +0.10.1 \ No newline at end of file diff --git a/conf.py b/conf.py index cc95ef8..cd64ba0 100644 --- a/conf.py +++ b/conf.py @@ -26,7 +26,7 @@ import logging TYPE_EXTENSION = 1 # ~ https://semver.org/ -VERSION = '0.10.0' +VERSION = '0.10.1' # ~ Your great extension name, not used spaces NAME = 'ZAZPip' diff --git a/files/ZAZPip_v0.10.0.oxt b/files/ZAZPip_v0.10.1.oxt similarity index 75% rename from files/ZAZPip_v0.10.0.oxt rename to files/ZAZPip_v0.10.1.oxt index 18b6f8d..d862a02 100644 Binary files a/files/ZAZPip_v0.10.0.oxt and b/files/ZAZPip_v0.10.1.oxt differ diff --git a/source/description.xml b/source/description.xml index bfdc8fb..b13b213 100644 --- a/source/description.xml +++ b/source/description.xml @@ -1,7 +1,7 @@ - + diff --git a/source/locales/base.pot b/source/locales/base.pot index 31c259b..d6e8fe0 100644 --- a/source/locales/base.pot +++ b/source/locales/base.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2022-01-28 13:40-0600\n" +"POT-Creation-Date: 2022-03-26 11:23-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -55,6 +55,18 @@ msgstr "" msgid "Enter the package name to install" msgstr "" +#: source/pythonpath/main.py:218 +msgid "Do you really want to install package: {}?" +msgstr "" + +#: source/pythonpath/main.py:247 +msgid "install" +msgstr "" + +#: source/pythonpath/main.py:249 +msgid "upgrade" +msgstr "" + #: source/pythonpath/main.py:252 msgid "" "Do you want to {}:\n" @@ -73,6 +85,13 @@ msgid "" "{}?" msgstr "" +#: source/pythonpath/main.py:310 +msgid "" +"Do you want to install from:\n" +"\n" +"{}" +msgstr "" + #: source/pythonpath/main.py:337 msgid "Do you want to save this Proxy settings?" msgstr "" @@ -109,6 +128,10 @@ msgstr "" msgid "~Close" msgstr "" +#: source/pythonpath/main.py:635 +msgid "Zaz-Pip - Proxy settings" +msgstr "" + #: source/pythonpath/main.py:646 msgid "Host: " msgstr "" diff --git a/source/locales/en/LC_MESSAGES/base.mo b/source/locales/en/LC_MESSAGES/base.mo index 99851d3..f472dce 100644 Binary files a/source/locales/en/LC_MESSAGES/base.mo and b/source/locales/en/LC_MESSAGES/base.mo differ diff --git a/source/locales/en/LC_MESSAGES/base.po b/source/locales/en/LC_MESSAGES/base.po index ee40ba6..7a734a5 100644 --- a/source/locales/en/LC_MESSAGES/base.po +++ b/source/locales/en/LC_MESSAGES/base.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2022-01-28 13:40-0600\n" +"POT-Creation-Date: 2022-03-26 11:23-0600\n" "PO-Revision-Date: 2021-01-21 16:32-0500\n" "Last-Translator: \n" "Language-Team: \n" @@ -57,6 +57,18 @@ msgstr "" msgid "Enter the package name to install" msgstr "" +#: source/pythonpath/main.py:218 +msgid "Do you really want to install package: {}?" +msgstr "" + +#: source/pythonpath/main.py:247 +msgid "install" +msgstr "" + +#: source/pythonpath/main.py:249 +msgid "upgrade" +msgstr "" + #: source/pythonpath/main.py:252 msgid "" "Do you want to {}:\n" @@ -75,6 +87,13 @@ msgid "" "{}?" msgstr "" +#: source/pythonpath/main.py:310 +msgid "" +"Do you want to install from:\n" +"\n" +"{}" +msgstr "" + #: source/pythonpath/main.py:337 msgid "Do you want to save this Proxy settings?" msgstr "" @@ -111,6 +130,10 @@ msgstr "" msgid "~Close" msgstr "" +#: source/pythonpath/main.py:635 +msgid "Zaz-Pip - Proxy settings" +msgstr "" + #: source/pythonpath/main.py:646 msgid "Host: " msgstr "" diff --git a/source/locales/es/LC_MESSAGES/base.mo b/source/locales/es/LC_MESSAGES/base.mo index ca8536c..6fce401 100644 Binary files a/source/locales/es/LC_MESSAGES/base.mo and b/source/locales/es/LC_MESSAGES/base.mo differ diff --git a/source/locales/es/LC_MESSAGES/base.po b/source/locales/es/LC_MESSAGES/base.po index 7bea83c..cb222a8 100644 --- a/source/locales/es/LC_MESSAGES/base.po +++ b/source/locales/es/LC_MESSAGES/base.po @@ -5,17 +5,17 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2022-01-28 13:40-0600\n" -"PO-Revision-Date: 2022-01-28 13:43-0600\n" +"POT-Creation-Date: 2022-03-26 11:23-0600\n" +"PO-Revision-Date: 2022-03-26 11:28-0600\n" "Last-Translator: \n" "Language-Team: \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: pygettext.py 1.5\n" -"X-Generator: Poedit 3.0\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: pygettext.py 1.5\n" +"X-Generator: Poedit 3.0.1\n" #: source/pythonpath/main.py:81 msgid "Do you want to install 'Python installer package' (PIP)?" @@ -23,7 +23,7 @@ msgstr "¿Desea instalar el instalador de paquetes Python (PIP)?" #: source/pythonpath/main.py:93 msgid "Downloading PIP…" -msgstr "Descargando PIP..." +msgstr "Descargando PIP…" #: source/pythonpath/main.py:96 msgid "Unable to connect to internet" @@ -39,7 +39,7 @@ msgstr "Se ha guardado el archivo de instalación de PIP" #: source/pythonpath/main.py:108 msgid "Starting PIP installation…" -msgstr "Iniciando la instalación de PIP..." +msgstr "Iniciando la instalación de PIP…" #: source/pythonpath/main.py:122 msgid "PIP was installed sucessfully" @@ -51,12 +51,24 @@ msgstr "Ha fallado la instalación de PIP, vea el registro" #: source/pythonpath/main.py:198 msgid "Package not found…" -msgstr "Paquete no encontrado..." +msgstr "Paquete no encontrado…" #: source/pythonpath/main.py:213 msgid "Enter the package name to install" msgstr "Introduzca el nombre del paquete a instalar" +#: source/pythonpath/main.py:218 +msgid "Do you really want to install package: {}?" +msgstr "¿Desea instalar el paquete: {}?" + +#: source/pythonpath/main.py:247 +msgid "install" +msgstr "instalar" + +#: source/pythonpath/main.py:249 +msgid "upgrade" +msgstr "actualizar" + #: source/pythonpath/main.py:252 msgid "" "Do you want to {}:\n" @@ -81,6 +93,16 @@ msgstr "" "\n" "{} ?" +#: source/pythonpath/main.py:310 +msgid "" +"Do you want to install from:\n" +"\n" +"{}" +msgstr "" +"¿Desea desinstalar desde:\n" +"\n" +"{} ?" + #: source/pythonpath/main.py:337 msgid "Do you want to save this Proxy settings?" msgstr "¿Desea guardar la configuración del Proxy?" @@ -95,7 +117,7 @@ msgstr "¿Desea eliminar la configuración del Proxy?" #: source/pythonpath/main.py:355 msgid "Proxy settings deleted sucessfully" -msgstr "PIP instalado correctamente" +msgstr "Configuración del Proxy borrada correctamente" #: source/pythonpath/main.py:413 msgid "'Python installer package' (PIP) is not installed" @@ -117,6 +139,10 @@ msgstr "Paquetes" msgid "~Close" msgstr "~Cerrar" +#: source/pythonpath/main.py:635 +msgid "Zaz-Pip - Proxy settings" +msgstr "Zaz-Pip - Configuración del Proxy" + #: source/pythonpath/main.py:646 msgid "Host: " msgstr "Host: " diff --git a/source/locales/fr/LC_MESSAGES/base.mo b/source/locales/fr/LC_MESSAGES/base.mo index ece391e..b8821cf 100644 Binary files a/source/locales/fr/LC_MESSAGES/base.mo and b/source/locales/fr/LC_MESSAGES/base.mo differ diff --git a/source/locales/fr/LC_MESSAGES/base.po b/source/locales/fr/LC_MESSAGES/base.po index b3a432e..a7556b7 100644 --- a/source/locales/fr/LC_MESSAGES/base.po +++ b/source/locales/fr/LC_MESSAGES/base.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2022-01-28 13:40-0600\n" -"PO-Revision-Date: 2022-03-17 12:23-0600\n" +"POT-Creation-Date: 2022-03-26 11:23-0600\n" +"PO-Revision-Date: 2022-03-26 11:41-0600\n" "Last-Translator: \n" "Language-Team: \n" "Language: fr_FR\n" @@ -57,6 +57,18 @@ msgstr "Paquet non trouvé…" msgid "Enter the package name to install" msgstr "Nom du paquet à installer" +#: source/pythonpath/main.py:218 +msgid "Do you really want to install package: {}?" +msgstr "Souhaitez-vous désinstaller :{} ?" + +#: source/pythonpath/main.py:247 +msgid "install" +msgstr "installer" + +#: source/pythonpath/main.py:249 +msgid "upgrade" +msgstr "mise à niveau" + #: source/pythonpath/main.py:252 msgid "" "Do you want to {}:\n" @@ -81,6 +93,16 @@ msgstr "" "\n" "{} ?" +#: source/pythonpath/main.py:310 +msgid "" +"Do you want to install from:\n" +"\n" +"{}" +msgstr "" +"Souhaitez-vous installer :\n" +"\n" +"{} ?" + #: source/pythonpath/main.py:337 msgid "Do you want to save this Proxy settings?" msgstr "Enregistrer les données du mandataire (Proxy) ?" @@ -117,6 +139,10 @@ msgstr "Paquets" msgid "~Close" msgstr "~Fermer" +#: source/pythonpath/main.py:635 +msgid "Zaz-Pip - Proxy settings" +msgstr "Zaz-PIP Données mandataire (Proxy)" + #: source/pythonpath/main.py:646 msgid "Host: " msgstr "Hôte: " diff --git a/source/pythonpath/main.py b/source/pythonpath/main.py index ee13c8f..07557ea 100644 --- a/source/pythonpath/main.py +++ b/source/pythonpath/main.py @@ -215,7 +215,7 @@ class Controllers(object): self.d.txt_search.set_focus() return - msg = _(f'Do you really want to install package: {name}?') + msg = _('Do you really want to install package: {}?').format(name) if not app.question(msg): return @@ -244,9 +244,9 @@ class Controllers(object): return def lst_package_double_click(self, event): - opt = 'install' + opt = _('install') if self._states['list']: - opt = 'upgrade' + opt = _('upgrade') name = self.d.lst_package.value msg = _('Do you want to {}:\n\n{}?').format(opt, name) @@ -307,7 +307,7 @@ class Controllers(object): if not path: return - msg = _(f'Do you want to install from:\n\n{path}') + msg = _('Do you want to install from:\n\n{}').format(path) if not app.question(msg): return @@ -632,7 +632,7 @@ def _create_dialog(): def _create_dialog_proxy(): args= { 'Name': 'dlg_proxy', - 'Title': 'Zaz-Pip - Proxy settings', + 'Title': _('Zaz-Pip - Proxy settings'), 'Width': 150, 'Height': 100, }