KDE/kdebase/workspace/libs/plasmaclock
Andrew Coles
andrew_coles at yahoo.co.uk
Mon May 18 00:04:18 CEST 2009
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 at gmail.com
CCMAIL: kde-i18n-doc at kde.org
CCMAIL: plasma-devel at 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()) {
More information about the Plasma-devel
mailing list