[PC-BSD Commits] r7656 - in pcbsd: current/src-qt4/pc-systemupdatertray stable/SystemUpdaterTray

svn at pcbsd.org svn at pcbsd.org
Wed Sep 29 08:52:51 PDT 2010


Author: kris
Date: 2010-09-29 08:52:51 -0700 (Wed, 29 Sep 2010)
New Revision: 7656

Modified:
   pcbsd/current/src-qt4/pc-systemupdatertray/UpdaterTray.cpp
   pcbsd/stable/SystemUpdaterTray/UpdaterTray.cpp
Log:

Removed unnecessary ! marks from some notifications :)



Modified: pcbsd/current/src-qt4/pc-systemupdatertray/UpdaterTray.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-systemupdatertray/UpdaterTray.cpp	2010-09-29 15:34:43 UTC (rev 7655)
+++ pcbsd/current/src-qt4/pc-systemupdatertray/UpdaterTray.cpp	2010-09-29 15:52:51 UTC (rev 7656)
@@ -358,7 +358,7 @@
    if ( SysUrl.isEmpty() || PatchSet.isEmpty() || Version.isEmpty() || Arch.isEmpty() )
    {
         // Bad patch file?
-        QMessageBox::information( 0, tr("Error!"), tr("Error parsing sysupdate.conf!!!"), QMessageBox::Ok );
+        QMessageBox::information( 0, tr("Error!"), tr("Error parsing sysupdate.conf!"), QMessageBox::Ok );
         return;
    }
 
@@ -438,7 +438,7 @@
 
     programstatus = SYSTEM_UPDATE_AVAIL;
 
-    newMsg = "<font color=\"#ff0000\">" + tr("Update available!") + "</font>";
+    newMsg = "<font color=\"#ff0000\">" + tr("Update available") + "</font>";
     QPixmap PixmapIcon2("/PCBSD/SystemUpdater/images/sysupdates.png");
 
  
@@ -586,7 +586,7 @@
    tooltipStr += "<br><hr>";
 
    if (programstatus == SYSTEM_UP2DATE ) {
-      tooltipStr += "<br>" + tr("Your system is fully updated!");
+      tooltipStr += "<br>" + tr("Your system is fully updated");
    }
    
    if (programstatus == CHECK_FAILED ) {
@@ -598,7 +598,7 @@
    }
    
    if (programstatus == SYSTEM_UPDATE_AVAIL) {
-      tooltipStr += "<br>" + tr("System updates available!");
+      tooltipStr += "<br>" + tr("System updates available");
    }
 
    if ( autoStatus == AUTODOWNLOAD) {
@@ -617,7 +617,7 @@
    // If the program has a PBI update
    if ( pbistatus == PBI_UPDATES_AVAIL ) 
    {
-      tooltipStr += "<br><br>" + tr("PBI updates available!") + "<br><br>";
+      tooltipStr += "<br><br>" + tr("PBI updates available") + "<br><br>";
       tooltipStr += updatePBITextList;
    }
    

Modified: pcbsd/stable/SystemUpdaterTray/UpdaterTray.cpp
===================================================================
--- pcbsd/stable/SystemUpdaterTray/UpdaterTray.cpp	2010-09-29 15:34:43 UTC (rev 7655)
+++ pcbsd/stable/SystemUpdaterTray/UpdaterTray.cpp	2010-09-29 15:52:51 UTC (rev 7656)
@@ -357,7 +357,7 @@
    if ( SysUrl.isEmpty() || PatchSet.isEmpty() || Version.isEmpty() || Arch.isEmpty() )
    {
         // Bad patch file?
-        QMessageBox::information( 0, tr("Error!"), tr("Error parsing sysupdate.conf!!!"), QMessageBox::Ok );
+        QMessageBox::information( 0, tr("Error!"), tr("Error parsing sysupdate.conf!"), QMessageBox::Ok );
         return;
    }
 
@@ -423,7 +423,7 @@
 
     programstatus = SYSTEM_UPDATE_AVAIL;
 
-    newMsg = "<font color=\"#ff0000\">" + tr("Update available!") + "</font>";
+    newMsg = "<font color=\"#ff0000\">" + tr("Update available") + "</font>";
     QPixmap PixmapIcon2("/PCBSD/SystemUpdater/images/sysupdates.png");
 
  
@@ -571,7 +571,7 @@
    tooltipStr += "<br><hr>";
 
    if (programstatus == SYSTEM_UP2DATE ) {
-      tooltipStr += "<br>" + tr("Your system is fully updated!");
+      tooltipStr += "<br>" + tr("Your system is fully updated");
    }
    
    if (programstatus == CHECK_FAILED ) {
@@ -583,7 +583,7 @@
    }
    
    if (programstatus == SYSTEM_UPDATE_AVAIL) {
-      tooltipStr += "<br>" + tr("System updates available!");
+      tooltipStr += "<br>" + tr("System updates available");
    }
 
    if ( autoStatus == AUTODOWNLOAD) {
@@ -602,7 +602,7 @@
    // If the program has a PBI update
    if ( pbistatus == PBI_UPDATES_AVAIL ) 
    {
-      tooltipStr += "<br><br>" + tr("PBI updates available!") + "<br><br>";
+      tooltipStr += "<br><br>" + tr("PBI updates available") + "<br><br>";
       tooltipStr += updatePBITextList;
    }
    



More information about the Commits mailing list