forked from qt-creator/qt-creator
Fix strings
Change-Id: I12e52c7e584d26205b98672a65257af5c55dda24 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user