From kde-i18n-doc Sun May 17 22:04:18 2009 From: Andrew Coles Date: Sun, 17 May 2009 22:04:18 +0000 To: kde-i18n-doc Subject: KDE/kdebase/workspace/libs/plasmaclock Message-Id: <1242597858.996020.27730.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=124259788317210 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()) {