[SCM] Kingston update notifier (update-notifier-kde) branch, master, updated. 01faa0baee8f1316e1306a9b26e8806a1c5b198f

Pino Toscano pino-guest at alioth.debian.org
Sun Jan 30 18:31:49 UTC 2011


The following commit has been merged in the master branch:
commit 01faa0baee8f1316e1306a9b26e8806a1c5b198f
Author: Pino Toscano <pino at kde.org>
Date:   Sun Jan 30 19:31:32 2011 +0100

    really use i18np instead of i18n
---
 src/notifier.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/notifier.cpp b/src/notifier.cpp
index 8ad07e1..03458cc 100644
--- a/src/notifier.cpp
+++ b/src/notifier.cpp
@@ -59,8 +59,8 @@ void notifier_t::notify_new_updates(int updates, int security_updates) {
       if(updates==0) {
         show_update_notification(i18n("You should update your system"), i18np("There is %1 security update available", "There are %1 security updates available", security_updates==0), "dialog-warning");
       } else {
-        const QString updates_text = i18n("%1 update", "%1 updates", updates);
-        const QString security_updates_text = i18n("%1 security update", "%1 security updates", security_updates);
+        const QString updates_text = i18np("%1 update", "%1 updates", updates);
+        const QString security_updates_text = i18np("%1 security update", "%1 security updates", security_updates);
         show_update_notification(i18n("You should update your system"), i18nc("%1 is e.g. '3 updates'; %2 is e.g. '1 security update'", "There are: %1, and %2", updates_text, security_updates_text), "dialog-warning");
       }
     }

-- 
Kingston update notifier (update-notifier-kde)



More information about the pkg-kde-commits mailing list