tr()-Fixes in master.

- Add missing Q_OBJECTS
- Clean up Android, fix capitalization, remove redundant
  translations.

Change-Id: I24583b7e363ff8f90cad3b8257b676888e8a59db
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Friedemann Kleint
2012-05-25 16:21:19 +02:00
committed by hjk
parent bc9326abb7
commit 753acdcf82
13 changed files with 45 additions and 27 deletions

View File

@@ -198,8 +198,8 @@ void AndroidPackageCreationStep::checkRequiredLibraries()
QProcess readelfProc;
QString appPath = androidTarget()->targetApplicationPath();
if (!QFile::exists(appPath)) {
raiseError(tr("Can't find read elf information"),
tr("Can't find '%1'.\n"
raiseError(tr("Cannot find read elf information"),
tr("Cannot find '%1'.\n"
"Please make sure your application is "
"built successfully and is selected in Application tab ('Run option') ").arg(appPath));
return;
@@ -249,7 +249,7 @@ void AndroidPackageCreationStep::checkRequiredLibrariesForRun()
{
QProcess readelfProc;
if (!QFile::exists(m_appPath)) {
raiseError(tr("Can't find read elf information"),
raiseError(tr("Cannot find read elf information"),
tr("Can't find '%1'.\n"
"Please make sure your application is "
"built successfully and is selected in Application tab ('Run option') ").arg(m_appPath));
@@ -386,7 +386,7 @@ bool AndroidPackageCreationStep::createPackage()
if (m_debugBuild || !m_certificateAlias.length()) {
build << QLatin1String("debug");
if (!QFile::copy(m_gdbServerSource, m_gdbServerDestination)) {
raiseError(tr("Can't copy gdbserver from '%1' to '%2'").arg(m_gdbServerSource)
raiseError(tr("Cannot copy gdbserver from '%1' to '%2'").arg(m_gdbServerSource)
.arg(m_gdbServerDestination));
return false;
}