summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-09-22 15:16:48 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-09-22 18:37:25 (GMT)
commitb7b21318c4edf10f5eaadd9481a58fd04f6947ea (patch)
tree8da4739514f2dbeb9be64141e2fbba450879275b
parent66da7e609e92fff2322c1ef42e4ac9132bc33fab (diff)
downloadQt-b7b21318c4edf10f5eaadd9481a58fd04f6947ea.zip
Qt-b7b21318c4edf10f5eaadd9481a58fd04f6947ea.tar.gz
Qt-b7b21318c4edf10f5eaadd9481a58fd04f6947ea.tar.bz2
fix QApp::translate() calls
Reviewed-By: Simon Hausmann
-rw-r--r--src/3rdparty/webkit/WebCore/platform/qt/Localizations.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/3rdparty/webkit/WebCore/platform/qt/Localizations.cpp b/src/3rdparty/webkit/WebCore/platform/qt/Localizations.cpp
index 0733617..977b284 100644
--- a/src/3rdparty/webkit/WebCore/platform/qt/Localizations.cpp
+++ b/src/3rdparty/webkit/WebCore/platform/qt/Localizations.cpp
@@ -444,7 +444,7 @@ String localizedMediaControlElementHelpText(const String& name)
String localizedMediaTimeDescription(float time)
{
if (!isfinite(time))
- return QCoreApplication::translate("QWebPage," "Indefinite time", "Media time description");
+ return QCoreApplication::translate("QWebPage", "Indefinite time", "Media time description");
int seconds = (int)fabsf(time);
int days = seconds / (60 * 60 * 24);
@@ -453,18 +453,18 @@ String localizedMediaTimeDescription(float time)
seconds %= 60;
if (days) {
- return QCoreApplication::translate("QWebPage," "%1 days %2 hours %3 minutes %4 seconds", "Media time description").arg(days).arg(hours).arg(minutes).arg(seconds);
+ return QCoreApplication::translate("QWebPage", "%1 days %2 hours %3 minutes %4 seconds", "Media time description").arg(days).arg(hours).arg(minutes).arg(seconds);
}
if (hours) {
- return QCoreApplication::translate("QWebPage," "%1 hours %2 minutes %3 seconds", "Media time description").arg(hours).arg(minutes).arg(seconds);
+ return QCoreApplication::translate("QWebPage", "%1 hours %2 minutes %3 seconds", "Media time description").arg(hours).arg(minutes).arg(seconds);
}
if (minutes) {
- return QCoreApplication::translate("QWebPage," "%1 minutes %2 seconds", "Media time description").arg(minutes).arg(seconds);
+ return QCoreApplication::translate("QWebPage", "%1 minutes %2 seconds", "Media time description").arg(minutes).arg(seconds);
}
- return QCoreApplication::translate("QWebPage," "%1 seconds", "Media time description").arg(seconds);
+ return QCoreApplication::translate("QWebPage", "%1 seconds", "Media time description").arg(seconds);
}
#endif // ENABLE(VIDEO)