Changeset 2644 for lliurex-mirror


Ignore:
Timestamp:
Oct 19, 2016, 4:54:36 PM (3 years ago)
Author:
hectorgh
Message:

adding trnaslations

Location:
lliurex-mirror/trunk/fuentes
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-mirror/trunk/fuentes/lliurex-mirror-gui/usr/share/lliurex-mirror/lliurex-mirror.py

    r2643 r2644  
    251251                self.configuration_infobar.connect("response",self.ib_response)
    252252               
     253               
    253254                self.arrow_eb.add_events(Gdk.EventMask.BUTTON_RELEASE_MASK )
    254255                self.arrow_eb.connect("button-release-event",self.arrow_clicked)
     
    10751076                if self.updating_mirror!=None and self.updating_mirror!=self.current_mirror:
    10761077                        if self.updating_mirror.info["executing"]:
    1077                                 self.set_info_text(_("'%(mirror-name)s' is currently %(updating-or-exporting)s.")%{"mirror-name"self.updating_mirror.info["NAME"], "updating-or-exporting":_('updating') if self.updating_mirror.info["updating"] else _('exporting')},Gtk.MessageType.ERROR)
     1078                                self.set_info_text(_("'%(mirror-name)s' is currently %(updating-or-exporting)s.")%{"mirror-name": self.updating_mirror.info["NAME"], "updating-or-exporting": _('updating') if self.updating_mirror.info["updating"] else _('exporting')},Gtk.MessageType.ERROR)
    10781079                                return False
    10791080               
     
    19441945                ret=self.llx_conn.get_last_log()
    19451946                if ret!=None:
    1946                         os.system("xdg-open %s &"%ret)
     1947                        os.system("scite %s &"%ret)
    19471948               
    19481949        #def info_button_clicked
  • lliurex-mirror/trunk/fuentes/lliurex-mirror-gui/usr/share/lliurex-mirror/lliurex_mirror_connect.py

    r2635 r2644  
    236236                        ret=self.client.get_last_log(self.credentials,"MirrorManager")
    237237                        txt=base64.b64decode(ret["msg"])
    238                         tmp_file=tempfile.mkstemp(suffix=".lliurex-mirror")
     238                        tmp_file=tempfile.mkstemp(suffix=".lliurex-mirror.log")
    239239                        f=os.fdopen(tmp_file[0],"w")
    240240                        f.write(txt)
Note: See TracChangeset for help on using the changeset viewer.