Changeset 8654


Ignore:
Timestamp:
Apr 24, 2019, 12:24:29 PM (5 weeks ago)
Author:
daduve
Message:

wip

Location:
first-aid-kit/trunk/fuentes
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • first-aid-kit/trunk/fuentes/first-aid-kit.install/usr/share/first-aid-kit/AptBox.py

    r8638 r8654  
    1212import sys
    1313import os
     14import subprocess
    1415import time
    1516
     
    142143                        self.core.working=True
    143144                        self.core.dprint("Modifying repositories.........","[AptBox]")
    144                         os.system('lliurex-apt2')
    145                         self.thread_ret={"status":True,"msg":"BROKEN"}
     145                        proc=subprocess.Popen('lliurex-apt2',shell=True, stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE, executable="/bin/bash")
     146                        output,error=proc.communicate()
    146147                       
    147                 except Exception as e:
     148                        if error == '':
     149                                self.error=False
     150                        else:
     151                                self.info_box_stack.set_visible_child_name("infobox")
     152                                self.txt_check_apt.set_text(_("Sorry but the app to modify the repositories can't be opened"))
     153                                self.error=True
     154                               
     155                except subprocess.CalledProcessError as e:
    148156                        self.core.dprint("(apt_execute_button_thread)Error: %s"%e,"[AptBox]")
     157                        self.info_box_stack.set_visible_child_name("infobox")
     158                        self.txt_check_apt.set_text(_("Sorry but the app to modify the repositories can't be opened"))
     159                        self.error=True
    149160                        return False
    150161                       
     
    162173                self.apt_execute_button.show()
    163174                self.apt_execute_button.set_sensitive(True)
    164                 self.info_box_stack.set_visible_child_name("empty_box")
    165                 self.info_box_stack.set_visible_child_name("infobox")
    166                 self.txt_check_apt.set_text(_("You have mofified the repositories."))
    167                 self.core.dprint("You have mofified the repositories...FINISHED!!","[AptBox]")
     175                if not self.error:
     176                        self.info_box_stack.set_visible_child_name("empty_box")
     177                        self.info_box_stack.set_visible_child_name("infobox")
     178                        self.txt_check_apt.set_text(_("You have mofified the repositories."))
     179                        self.core.dprint("You have mofified the repositories...FINISHED!!","[AptBox]")
    168180               
    169181        #check_apt_execute_button_thread
  • first-aid-kit/trunk/fuentes/first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py

    r8653 r8654  
    194194                        self.info_box_stack.set_visible_child_name("empty_box")
    195195                        self.info_box_stack.set_visible_child_name("infobox")
    196                         self.txt_check_pmb.set_text(_("You have modified PMB admin passwd"))
     196                        self.txt_check_pmb.set_text(_("New PMB admin passwd is admin."))
    197197                        self.core.dprint("You have modified PMB admin passwd...FINISHED!!","[PmbBox]")
    198198
  • first-aid-kit/trunk/fuentes/lliurex-po/first-aid-kit/ca_ES.UTF-8@valencia.po

    r8634 r8654  
    280280"canvis......."
    281281
    282 #~ msgid "Sorry you are not a server. You can't access to /net files."
    283 #~ msgstr "No eres un Server, no posees acceso a los ficheros de /NET."
     282#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     283msgid "PMB it's NOT installed or not detected"
     284msgstr "El PMB no esta instalado o no esta detectado."
     285
     286#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     287msgid "Reset your PMB admin passwd"
     288msgstr "Resetear la contraseña de admin en el PMB "
     289
     290#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     291msgid "PMB it's NOT installed"
     292msgstr "El PMB no esta instalado."
     293
     294#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     295msgid "You're resetting admin passwd to PMB, please wait...."
     296msgstr "Se esta reseteando la contraseña del usuario admin en el PMB, por favor espera... "
     297
     298#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     299msgid "New PMB admin passwd is admin."
     300msgstr "La nueva contraseña del usuario admin en el PMB es admin. "
     301
     302#: ../first-aid-kit.install/usr/share/first-aid-kit/FirstAidKit.py
     303msgid "Sorry you are not a server. You can't access to /net files."
     304msgstr "Lo siento no eres un server. No posees acceso a las operaciones sobre /net"
     305
     306#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     307msgid "You are modifying the repositories, close the external app when you finished with it."
     308msgstr "Estas modificando los repositorios, cierra la aplicacion externa cuando termines."
     309
     310#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     311msgid "Sorry but the app to modify the repositories can't be opened."
     312msgstr "Lo siento pero la aplicación para modificar los repositorios no puede abrirse."
     313
     314#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     315msgid "You have mofified the repositories."
     316msgstr "Has modificado los repositorios."
     317
     318#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     319msgid "Modify your repositories"
     320msgstr "Modifica los repositorios"
  • first-aid-kit/trunk/fuentes/lliurex-po/first-aid-kit/ca_ES@valencia.po

    r8631 r8654  
    280280"canvis......."
    281281
    282 #~ msgid "Sorry you are not a server. You can't access to /net files."
    283 #~ msgstr "No eres un Server, no posees acceso a los ficheros de /NET."
     282#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     283msgid "PMB it's NOT installed or not detected"
     284msgstr "El PMB no esta instalado o no esta detectado."
     285
     286#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     287msgid "Reset your PMB admin passwd"
     288msgstr "Resetear la contraseña de admin en el PMB "
     289
     290#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     291msgid "PMB it's NOT installed"
     292msgstr "El PMB no esta instalado."
     293
     294#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     295msgid "You're resetting admin passwd to PMB, please wait...."
     296msgstr "Se esta reseteando la contraseña del usuario admin en el PMB, por favor espera... "
     297
     298#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     299msgid "New PMB admin passwd is admin."
     300msgstr "La nueva contraseña del usuario admin en el PMB es admin. "
     301
     302#: ../first-aid-kit.install/usr/share/first-aid-kit/FirstAidKit.py
     303msgid "Sorry you are not a server. You can't access to /net files."
     304msgstr "Lo siento no eres un server. No posees acceso a las operaciones sobre /net"
     305
     306#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     307msgid "You are modifying the repositories, close the external app when you finished with it."
     308msgstr "Estas modificando los repositorios, cierra la aplicacion externa cuando termines."
     309
     310#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     311msgid "Sorry but the app to modify the repositories can't be opened."
     312msgstr "Lo siento pero la aplicación para modificar los repositorios no puede abrirse."
     313
     314#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     315msgid "You have mofified the repositories."
     316msgstr "Has modificado los repositorios."
     317
     318#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     319msgid "Modify your repositories"
     320msgstr "Modifica los repositorios"
  • first-aid-kit/trunk/fuentes/lliurex-po/first-aid-kit/es.po

    r8628 r8654  
    258258#: ../first-aid-kit.install/usr/share/first-aid-kit/StartBarBox.py:186
    259259msgid "The startup bar is adding at your system, applying changes....."
    260 msgstr ""
    261 "La barrra de arranque se esta añadiendo a tu sistema, aplicando cambios...."
    262 
    263 #~ msgid "Sorry you are not a server. You can't access to /net files."
    264 #~ msgstr "No eres un Server, no posees acceso a los ficheros de /NET."
     260msgstr "La barrra de arranque se esta añadiendo a tu sistema, aplicando cambios...."
     261
     262#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     263msgid "PMB it's NOT installed or not detected"
     264msgstr "El PMB no esta instalado o no esta detectado."
     265
     266#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     267msgid "PMB it's NOT installed"
     268msgstr "El PMB no esta instalado."
     269
     270#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     271msgid "Reset your PMB admin passwd"
     272msgstr "Resetear la contraseña de admin en el PMB "
     273
     274#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     275msgid "You're resetting admin passwd to PMB, please wait...."
     276msgstr "Se esta reseteando la contraseña del usuario admin en el PMB, por favor espera... "
     277
     278#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     279msgid "New PMB admin passwd is admin."
     280msgstr "La nueva contraseña del usuario admin en el PMB es admin. "
     281
     282#: ../first-aid-kit.install/usr/share/first-aid-kit/FirstAidKit.py
     283msgid "Sorry you are not a server. You can't access to /net files."
     284msgstr "Lo siento no eres un server. No posees acceso a las operaciones sobre /net"
     285
     286#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     287msgid "You are modifying the repositories, close the external app when you finished with it."
     288msgstr "Estas modificando los repositorios, cierra la aplicacion externa cuando termines."
     289
     290#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     291msgid "Sorry but the app to modify the repositories can't be opened."
     292msgstr "Lo siento pero la aplicación para modificar los repositorios no puede abrirse."
     293
     294#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     295msgid "You have mofified the repositories."
     296msgstr "Has modificado los repositorios."
     297
     298#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     299msgid "Modify your repositories"
     300msgstr "Modifica los repositorios"
  • first-aid-kit/trunk/fuentes/lliurex-po/first-aid-kit/es_ES.po

    r8631 r8654  
    279279"La barrra de arranque se esta añadiendo a tu sistema, aplicando cambios...."
    280280
    281 #~ msgid "Sorry you are not a server. You can't access to /net files."
    282 #~ msgstr "No eres un Server, no posees acceso a los ficheros de /NET."
     281#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     282msgid "PMB it's NOT installed or not detected"
     283msgstr "El PMB no esta instalado o no esta detectado."
     284
     285#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     286msgid "Reset your PMB admin passwd"
     287msgstr "Resetear la contraseña de admin en el PMB "
     288
     289#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     290msgid "PMB it's NOT installed"
     291msgstr "El PMB no esta instalado."
     292
     293#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     294msgid "You're resetting admin passwd to PMB, please wait...."
     295msgstr "Se esta reseteando la contraseña del usuario admin en el PMB, por favor espera... "
     296
     297#: ../first-aid-kit.install/usr/share/first-aid-kit/PmbBox.py
     298msgid "New PMB admin passwd is admin."
     299msgstr "La nueva contraseña del usuario admin en el PMB es admin. "
     300
     301#: ../first-aid-kit.install/usr/share/first-aid-kit/FirstAidKit.py
     302msgid "Sorry you are not a server. You can't access to /net files."
     303msgstr "Lo siento no eres un server. No posees acceso a las operaciones sobre /net"
     304
     305#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     306msgid "You are modifying the repositories, close the external app when you finished with it."
     307msgstr "Estas modificando los repositorios, cierra la aplicacion externa cuando termines."
     308
     309#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     310msgid "Sorry but the app to modify the repositories can't be opened."
     311msgstr "Lo siento pero la aplicación para modificar los repositorios no puede abrirse."
     312
     313#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     314msgid "You have mofified the repositories."
     315msgstr "Has modificado los repositorios."
     316
     317#: ../first-aid-kit.install/usr/share/first-aid-kit/AptBox.py
     318msgid "Modify your repositories"
     319msgstr "Modifica los repositorios"
Note: See TracChangeset for help on using the changeset viewer.