Fix - Issue #9

This commit is contained in:
El Mau 2022-03-26 11:45:03 -06:00
parent b3c783c1fe
commit d7d65bb8ba
8 changed files with 114 additions and 16 deletions

View File

@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -55,6 +55,18 @@ msgstr ""
msgid "Enter the package name to install" msgid "Enter the package name to install"
msgstr "" 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 #: source/pythonpath/main.py:252
msgid "" msgid ""
"Do you want to {}:\n" "Do you want to {}:\n"
@ -73,6 +85,13 @@ msgid ""
"{}?" "{}?"
msgstr "" msgstr ""
#: source/pythonpath/main.py:310
msgid ""
"Do you want to install from:\n"
"\n"
"{}"
msgstr ""
#: source/pythonpath/main.py:337 #: source/pythonpath/main.py:337
msgid "Do you want to save this Proxy settings?" msgid "Do you want to save this Proxy settings?"
msgstr "" msgstr ""
@ -109,6 +128,10 @@ msgstr ""
msgid "~Close" msgid "~Close"
msgstr "" msgstr ""
#: source/pythonpath/main.py:635
msgid "Zaz-Pip - Proxy settings"
msgstr ""
#: source/pythonpath/main.py:646 #: source/pythonpath/main.py:646
msgid "Host: " msgid "Host: "
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "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" "PO-Revision-Date: 2021-01-21 16:32-0500\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -57,6 +57,18 @@ msgstr ""
msgid "Enter the package name to install" msgid "Enter the package name to install"
msgstr "" 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 #: source/pythonpath/main.py:252
msgid "" msgid ""
"Do you want to {}:\n" "Do you want to {}:\n"
@ -75,6 +87,13 @@ msgid ""
"{}?" "{}?"
msgstr "" msgstr ""
#: source/pythonpath/main.py:310
msgid ""
"Do you want to install from:\n"
"\n"
"{}"
msgstr ""
#: source/pythonpath/main.py:337 #: source/pythonpath/main.py:337
msgid "Do you want to save this Proxy settings?" msgid "Do you want to save this Proxy settings?"
msgstr "" msgstr ""
@ -111,6 +130,10 @@ msgstr ""
msgid "~Close" msgid "~Close"
msgstr "" msgstr ""
#: source/pythonpath/main.py:635
msgid "Zaz-Pip - Proxy settings"
msgstr ""
#: source/pythonpath/main.py:646 #: source/pythonpath/main.py:646
msgid "Host: " msgid "Host: "
msgstr "" msgstr ""

View File

@ -5,17 +5,17 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "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: 2022-01-28 13:43-0600\n" "PO-Revision-Date: 2022-03-26 11:28-0600\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: es\n" "Language: es\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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" "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 #: source/pythonpath/main.py:81
msgid "Do you want to install 'Python installer package' (PIP)?" 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 #: source/pythonpath/main.py:93
msgid "Downloading PIP…" msgid "Downloading PIP…"
msgstr "Descargando PIP..." msgstr "Descargando PIP"
#: source/pythonpath/main.py:96 #: source/pythonpath/main.py:96
msgid "Unable to connect to internet" 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 #: source/pythonpath/main.py:108
msgid "Starting PIP installation…" msgid "Starting PIP installation…"
msgstr "Iniciando la instalación de PIP..." msgstr "Iniciando la instalación de PIP"
#: source/pythonpath/main.py:122 #: source/pythonpath/main.py:122
msgid "PIP was installed sucessfully" 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 #: source/pythonpath/main.py:198
msgid "Package not found…" msgid "Package not found…"
msgstr "Paquete no encontrado..." msgstr "Paquete no encontrado"
#: source/pythonpath/main.py:213 #: source/pythonpath/main.py:213
msgid "Enter the package name to install" msgid "Enter the package name to install"
msgstr "Introduzca el nombre del paquete a instalar" 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 #: source/pythonpath/main.py:252
msgid "" msgid ""
"Do you want to {}:\n" "Do you want to {}:\n"
@ -81,6 +93,16 @@ msgstr ""
"\n" "\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 #: source/pythonpath/main.py:337
msgid "Do you want to save this Proxy settings?" msgid "Do you want to save this Proxy settings?"
msgstr "¿Desea guardar la configuración del Proxy?" 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 #: source/pythonpath/main.py:355
msgid "Proxy settings deleted sucessfully" msgid "Proxy settings deleted sucessfully"
msgstr "PIP instalado correctamente" msgstr "Configuración del Proxy borrada correctamente"
#: source/pythonpath/main.py:413 #: source/pythonpath/main.py:413
msgid "'Python installer package' (PIP) is not installed" msgid "'Python installer package' (PIP) is not installed"
@ -117,6 +139,10 @@ msgstr "Paquetes"
msgid "~Close" msgid "~Close"
msgstr "~Cerrar" msgstr "~Cerrar"
#: source/pythonpath/main.py:635
msgid "Zaz-Pip - Proxy settings"
msgstr "Zaz-Pip - Configuración del Proxy"
#: source/pythonpath/main.py:646 #: source/pythonpath/main.py:646
msgid "Host: " msgid "Host: "
msgstr "Host: " msgstr "Host: "

View File

@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "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: 2022-03-17 12:23-0600\n" "PO-Revision-Date: 2022-03-26 11:41-0600\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: fr_FR\n" "Language: fr_FR\n"
@ -57,6 +57,18 @@ msgstr "Paquet non trouvé…"
msgid "Enter the package name to install" msgid "Enter the package name to install"
msgstr "Nom du paquet à installer" 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 #: source/pythonpath/main.py:252
msgid "" msgid ""
"Do you want to {}:\n" "Do you want to {}:\n"
@ -81,6 +93,16 @@ msgstr ""
"\n" "\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 #: source/pythonpath/main.py:337
msgid "Do you want to save this Proxy settings?" msgid "Do you want to save this Proxy settings?"
msgstr "Enregistrer les données du mandataire (Proxy) ?" msgstr "Enregistrer les données du mandataire (Proxy) ?"
@ -117,6 +139,10 @@ msgstr "Paquets"
msgid "~Close" msgid "~Close"
msgstr "~Fermer" msgstr "~Fermer"
#: source/pythonpath/main.py:635
msgid "Zaz-Pip - Proxy settings"
msgstr "Zaz-PIP Données mandataire (Proxy)"
#: source/pythonpath/main.py:646 #: source/pythonpath/main.py:646
msgid "Host: " msgid "Host: "
msgstr "Hôte: " msgstr "Hôte: "

View File

@ -215,7 +215,7 @@ class Controllers(object):
self.d.txt_search.set_focus() self.d.txt_search.set_focus()
return 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): if not app.question(msg):
return return
@ -244,9 +244,9 @@ class Controllers(object):
return return
def lst_package_double_click(self, event): def lst_package_double_click(self, event):
opt = 'install' opt = _('install')
if self._states['list']: if self._states['list']:
opt = 'upgrade' opt = _('upgrade')
name = self.d.lst_package.value name = self.d.lst_package.value
msg = _('Do you want to {}:\n\n{}?').format(opt, name) msg = _('Do you want to {}:\n\n{}?').format(opt, name)
@ -307,7 +307,7 @@ class Controllers(object):
if not path: if not path:
return 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): if not app.question(msg):
return return