From ebfc69401e604b220ce81baa73cc5209f7fc733c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 11 Oct 2011 00:08:25 +0200 Subject: [PATCH] Fix strings in italian language in main code (use english) and use it.po for translation --- po/it.po | 9 +++++++++ src/mambatray | 4 +--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/po/it.po b/po/it.po index 992e57a..d74d509 100644 --- a/po/it.po +++ b/po/it.po @@ -79,3 +79,12 @@ msgstr "Firewall abilitato per la sessione corrente" msgid "Could not enable firewall" msgstr "Non รจ stato possibile abilitare il firewall" +msgid "Not Open Source openmamba components" +msgstr "Componenti non Open Source di openmamba" + +msgid "The following components are available for update: " +msgstr "I seguenti componenti sono disponibili per l'aggiornamento: " + +msgid "Ok to proceed?" +msgstr "Aggiornare adesso?" + diff --git a/src/mambatray b/src/mambatray index 67a1184..cb75d64 100755 --- a/src/mambatray +++ b/src/mambatray @@ -161,8 +161,6 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon): networkProxyProcess.execute("/opt/kde/bin/kcmshell4", QtCore.QStringList(list(set(['proxy'])))) - - def SRPMSCheckUpgradeList(self): checkSRPMSUpdatesTimer.stop() global contatore, lista, NetsrpmsArg @@ -190,7 +188,7 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon): global NetsrpmsArg, lista if not lista == []: Lista = self.Lista() - msg = QtGui.QMessageBox.question(menu, ("Updates"), (_("I seguenti pacchetti saranno aggiornati: ") + Lista + ".\n" + _("Sei d'accordo?")), QtGui.QMessageBox.Yes | QtGui.QMessageBox.No, QtGui.QMessageBox.Yes) + msg = QtGui.QMessageBox.question(menu, (_("Not Open Source openmamba components")), (_("The following components are available for update: ") + "\n\n" + Lista + "\n\n" + _("Ok to proceed?")), QtGui.QMessageBox.Yes | QtGui.QMessageBox.No, QtGui.QMessageBox.Yes) if msg == QtGui.QMessageBox.Yes: NetsrpmsArg = '-u' self.SRPMSCheckUpgradeList()