Use python3, switch from apper to discover, small changes to italian translation
This commit is contained in:
parent
2d74975e4a
commit
c0316dba3a
4
po/it.po
4
po/it.po
@ -21,11 +21,11 @@ msgstr ""
|
|||||||
|
|
||||||
#: src/mambatray:28
|
#: src/mambatray:28
|
||||||
msgid "Add/Remove software packages..."
|
msgid "Add/Remove software packages..."
|
||||||
msgstr "Aggiungi/Rimuovi pacchetti software..."
|
msgstr "Aggiungi/Rimuovi applicazioni..."
|
||||||
|
|
||||||
#: src/mambatray:31
|
#: src/mambatray:31
|
||||||
msgid "Check for updates now..."
|
msgid "Check for updates now..."
|
||||||
msgstr "Aggiorna il sistema..."
|
msgstr "Verifica la presenza di aggiornamenti..."
|
||||||
|
|
||||||
#: src/mambatray:34
|
#: src/mambatray:34
|
||||||
msgid "openmamba components..."
|
msgid "openmamba components..."
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/python3.6
|
#!/usr/bin/python3
|
||||||
# mambatray 2
|
# mambatray 2
|
||||||
# Copyright (C) 2011-2019 by Silvan Calarco
|
# Copyright (C) 2011-2020 by Silvan Calarco
|
||||||
# Copyright (C) 2011 by michiamophil
|
# Copyright (C) 2011 by michiamophil
|
||||||
# Distributed under the terms of the GPL version 3 FLOSS License
|
# Distributed under the terms of the GPL version 3 FLOSS License
|
||||||
#
|
#
|
||||||
@ -143,10 +143,10 @@ class SystemTrayIcon(QSystemTrayIcon):
|
|||||||
version = _("Error: Unable to find /etc/openmamba-release")
|
version = _("Error: Unable to find /etc/openmamba-release")
|
||||||
QMessageBox.about(self.menu, _("About"),
|
QMessageBox.about(self.menu, _("About"),
|
||||||
"<center><b>"+_("openmamba control center")+"</b>"
|
"<center><b>"+_("openmamba control center")+"</b>"
|
||||||
"<br><br>Copyright(c) 2011-2019 by Silvan Calarco"
|
"<br><br>Copyright(c) 2011-2020 by Silvan Calarco"
|
||||||
"<br>Copyright(c) 2011 by michiamophil"
|
"<br>Copyright(c) 2011 by michiamophil"
|
||||||
"<br><br><b>"+_("System info:")+"</b></center>"
|
"<br><br><b>"+_("System info:")+"</b></center>"
|
||||||
""+_(version)+"<center><a href=\"http://openmamba.org\">http://openmamba.org</a></center>")
|
""+_(version)+"<center><a href=\"https://openmamba.org\">https://openmamba.org</a></center>")
|
||||||
|
|
||||||
def FormattaInfo(self):
|
def FormattaInfo(self):
|
||||||
result = []
|
result = []
|
||||||
@ -174,7 +174,7 @@ class SystemTrayIcon(QSystemTrayIcon):
|
|||||||
if desktop_session == 'plasma':
|
if desktop_session == 'plasma':
|
||||||
softwareCheckUpgradesProcess.start("/usr/bin/pkcon", ['refresh', 'force'])
|
softwareCheckUpgradesProcess.start("/usr/bin/pkcon", ['refresh', 'force'])
|
||||||
elif desktop_session == 'kde':
|
elif desktop_session == 'kde':
|
||||||
softwareCheckUpgradesProcess.start("/opt/kde/bin/apper", ['--updates'])
|
softwareCheckUpgradesProcess.start("/usr/bin/plasma-discover")
|
||||||
else:
|
else:
|
||||||
softwareCheckUpgradesProcess.start("/usr/bin/gpk-update-viewer")
|
softwareCheckUpgradesProcess.start("/usr/bin/gpk-update-viewer")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user