forked from qt-creator/qt-creator
I10N: First translation fixes for 2.1
Fix README, some spelling errors, remove contractions, exclamation marks, correct some plural forms, join split messages. Add QCoreApplication::translate to non-Q_OBJECT-classes. Fix some lupdate warnings about discarding meta-data (//:).
This commit is contained in:
@@ -107,7 +107,7 @@ bool ResourceEditorW::createNew(const QString &contents)
|
||||
return rc;
|
||||
}
|
||||
|
||||
bool ResourceEditorW::open(const QString &fileName /*= QString()*/)
|
||||
bool ResourceEditorW::open(const QString &fileName /* = QString() */)
|
||||
{
|
||||
if (debugResourceEditorW)
|
||||
qDebug() << "ResourceEditorW::open: " << fileName;
|
||||
@@ -133,10 +133,10 @@ bool ResourceEditorW::open(const QString &fileName /*= QString()*/)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ResourceEditorFile::save(const QString &name /*= QString()*/)
|
||||
bool ResourceEditorFile::save(const QString &name /* = QString() */)
|
||||
{
|
||||
if (debugResourceEditorW)
|
||||
qDebug() << ">ResourceEditorW::save: " << name;
|
||||
qDebug(">ResourceEditorW::save: %s", qPrintable(name));
|
||||
|
||||
const QString oldFileName = fileName();
|
||||
const QString actualName = name.isEmpty() ? oldFileName : name;
|
||||
|
||||
Reference in New Issue
Block a user