[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    KDE/kdebase/workspace/libs/plasmaclock
From:       Andrew Coles <andrew_coles () yahoo ! co ! uk>
Date:       2009-05-17 22:04:18
Message-ID: 1242597858.996020.27730.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 969291 by coles:

Fixed a plural issue affecting some languages with the time strings sent to the TTS \
service (as reported by Marce Villarino).

Introduces three new strings (singular forms of three existing strings).

CCMAIL: mvillarino@gmail.com
CCMAIL: kde-i18n-doc@kde.org
CCMAIL: plasma-devel@kde.org



 M  +15 -12    clockapplet.cpp  


--- trunk/KDE/kdebase/workspace/libs/plasmaclock/clockapplet.cpp #969290:969291
@@ -220,21 +220,24 @@
         if (time.minute() == 0) {
             if (KGlobal::locale()->use12Clock()) {
                 if (time.hour() < 12) {
-                    text = i18nc("Text sent to the text to speech service "
-                                    "when minutes==0 and it is AM",
-                                "It is %1 o clock a m",
-                                time.hour());
+                    text = i18ncp("Text sent to the text to speech service "
+                                     "when minutes==0 and it is AM",
+                                 "It is 1 o clock a m",
+                                 "It is %1 o clock a m",
+                                 time.hour());
                 } else {
-                    text = i18nc("Text sent to the text to speech service "
-                                    "when minutes==0 and it is PM",
-                                "It is %1 o clock p m",
-                                time.hour()-12);
+                    text = i18ncp("Text sent to the text to speech service "
+                                     "when minutes==0 and it is PM",
+                                 "It is 1 o clock p m",
+                                 "It is %1 o clock p m",
+                                 time.hour()-12);
                 }
             } else {
-                text = i18nc("Text sent to the text to speech service "
-                                "when minutes==0 and it is the 24 hour clock",
-                                "It is %1 o clock",
-                                time.hour());
+                text = i18ncp("Text sent to the text to speech service "
+                                 "when minutes==0 and it is the 24 hour clock",
+                                 "It is 1 o clock",
+                                 "It is %1 o clock",
+                                 time.hour());
             }
         } else {
             if (KGlobal::locale()->use12Clock()) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic