This commit is contained in:
El Mau 2022-03-26 23:03:54 -06:00
commit 4b7b0c359f
14 changed files with 128 additions and 26 deletions

View File

@ -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

View File

@ -27,7 +27,5 @@ SWIFT / BIC: TRWIBEB1XXX
Thanks for translations:
English - @LibreOfficiant
French - @LibreOfficiant
* Help Us
* English - @LibreOfficiant
* French - @LibreOfficiant

View File

@ -1 +1 @@
0.10.0
0.10.1

View File

@ -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'

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:l="http://libreoffice.org/extensions/description/2011">
<identifier value="net.elmau.zaz.pip"/>
<version value="0.10.0"/>
<version value="0.10.1"/>
<dependencies>
<l:LibreOffice-minimal-version value="7.0"/>
</dependencies>

View File

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 ""

View File

@ -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 ""

View File

@ -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: "

View File

@ -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: "

View File

@ -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,
}