Fix strings

Change-Id: I12e52c7e584d26205b98672a65257af5c55dda24
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
Jarek Kobus
2014-12-05 16:39:29 +01:00
committed by hjk
parent 901da05def
commit 95c13a230e
4 changed files with 5 additions and 5 deletions

View File

@@ -198,9 +198,9 @@ bool CorePlugin::initialize(const QStringList &arguments, QString *errorMessage)
[]() { return QDate::currentDate().toString(Qt::DefaultLocaleShortDate); });
expander->registerVariable("CurrentTime:Locale", tr("The current time (Locale)."),
[]() { return QTime::currentTime().toString(Qt::DefaultLocaleShortDate); });
expander->registerPrefix("CurrentDate:", tr("The current date (QDate formatstring)"),
expander->registerPrefix("CurrentDate:", tr("The current date (QDate formatstring)."),
[](const QString &fmt) { return QDate::currentDate().toString(fmt); });
expander->registerPrefix("CurrentTime:", tr("The current time (QTime formatstring)"),
expander->registerPrefix("CurrentTime:", tr("The current time (QTime formatstring)."),
[](const QString &fmt) { return QTime::currentTime().toString(fmt); });
return success;