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:
Friedemann Kleint
2010-09-10 10:51:43 +02:00
parent 4dd844d76a
commit 24cadd34a1
31 changed files with 107 additions and 75 deletions

View File

@@ -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;