From c0316dba3aaa6727ff65760306c0b572d87d39c5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 22 Jul 2020 17:35:36 +0200 Subject: [PATCH] Use python3, switch from apper to discover, small changes to italian translation --- po/it.po | 4 ++-- src/mambatray | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/po/it.po b/po/it.po index c0a52fd..55452e6 100644 --- a/po/it.po +++ b/po/it.po @@ -21,11 +21,11 @@ msgstr "" #: src/mambatray:28 msgid "Add/Remove software packages..." -msgstr "Aggiungi/Rimuovi pacchetti software..." +msgstr "Aggiungi/Rimuovi applicazioni..." #: src/mambatray:31 msgid "Check for updates now..." -msgstr "Aggiorna il sistema..." +msgstr "Verifica la presenza di aggiornamenti..." #: src/mambatray:34 msgid "openmamba components..." diff --git a/src/mambatray b/src/mambatray index 7ecb8c3..db5c1d7 100755 --- a/src/mambatray +++ b/src/mambatray @@ -1,6 +1,6 @@ -#!/usr/bin/python3.6 +#!/usr/bin/python3 # mambatray 2 -# Copyright (C) 2011-2019 by Silvan Calarco +# Copyright (C) 2011-2020 by Silvan Calarco # Copyright (C) 2011 by michiamophil # 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") QMessageBox.about(self.menu, _("About"), "
"+_("openmamba control center")+"" - "

Copyright(c) 2011-2019 by Silvan Calarco" + "

Copyright(c) 2011-2020 by Silvan Calarco" "
Copyright(c) 2011 by michiamophil" "

"+_("System info:")+"
" - ""+_(version)+"
http://openmamba.org
") + ""+_(version)+"
https://openmamba.org
") def FormattaInfo(self): result = [] @@ -174,7 +174,7 @@ class SystemTrayIcon(QSystemTrayIcon): if desktop_session == 'plasma': softwareCheckUpgradesProcess.start("/usr/bin/pkcon", ['refresh', 'force']) elif desktop_session == 'kde': - softwareCheckUpgradesProcess.start("/opt/kde/bin/apper", ['--updates']) + softwareCheckUpgradesProcess.start("/usr/bin/plasma-discover") else: softwareCheckUpgradesProcess.start("/usr/bin/gpk-update-viewer")