Commit ad21b485 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

L10n: tr()-Fixes.

parent fbdfb3ac
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>&lt;a href=&quot;http://pastebin.com&quot;&gt;pastebin.com&lt;/a&gt; allows to send posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.</string> <string>&lt;a href=&quot;http://pastebin.com&quot;&gt;pastebin.com&lt;/a&gt; allows for sending posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.</string>
</property> </property>
</widget> </widget>
</item> </item>
......
...@@ -181,7 +181,7 @@ QString DebuggingHelperOptionPage::id() const ...@@ -181,7 +181,7 @@ QString DebuggingHelperOptionPage::id() const
QString DebuggingHelperOptionPage::displayName() const QString DebuggingHelperOptionPage::displayName() const
{ {
return tr("Debugging Helper"); return QCoreApplication::translate("Debugger", "Debugging Helper");
} }
QString DebuggingHelperOptionPage::category() const QString DebuggingHelperOptionPage::category() const
...@@ -215,7 +215,8 @@ QWidget *DebuggingHelperOptionPage::createPage(QWidget *parent) ...@@ -215,7 +215,8 @@ QWidget *DebuggingHelperOptionPage::createPage(QWidget *parent)
m_ui.setupUi(w); m_ui.setupUi(w);
m_ui.dumperLocationChooser->setExpectedKind(Utils::PathChooser::Command); m_ui.dumperLocationChooser->setExpectedKind(Utils::PathChooser::Command);
m_ui.dumperLocationChooser->setPromptDialogTitle(tr("Choose DebuggingHelper Location")); m_ui.dumperLocationChooser->setPromptDialogTitle(QCoreApplication::translate("Debugger",
"Choose DebuggingHelper Location"));
m_ui.dumperLocationChooser->setInitialBrowsePathBackup( m_ui.dumperLocationChooser->setInitialBrowsePathBackup(
ICore::instance()->resourcePath() + "../../lib"); ICore::instance()->resourcePath() + "../../lib");
......
...@@ -522,7 +522,7 @@ DEBUGGER_EXPORT ConfigurationCheck checkDebugConfiguration(const DebuggerStartPa ...@@ -522,7 +522,7 @@ DEBUGGER_EXPORT ConfigurationCheck checkDebugConfiguration(const DebuggerStartPa
requiredTypes = engineTypes(sp); requiredTypes = engineTypes(sp);
} }
if (requiredTypes.isEmpty()) { if (requiredTypes.isEmpty()) {
result.errorMessage = DebuggerPlugin::tr("Internal error: Unable to determine debugger engine type for this configuration"); result.errorMessage = QLatin1String("Internal error: Unable to determine debugger engine type for this configuration");
return result; return result;
} }
if (debug) if (debug)
......
...@@ -141,7 +141,7 @@ QmlCppEngine::QmlCppEngine(const DebuggerStartParameters &sp, ...@@ -141,7 +141,7 @@ QmlCppEngine::QmlCppEngine(const DebuggerStartParameters &sp,
setObjectName(QLatin1String("QmlCppEngine")); setObjectName(QLatin1String("QmlCppEngine"));
d->m_cppEngine = DebuggerRunControlFactory::createEngine(slaveEngineType, sp, this, errorMessage); d->m_cppEngine = DebuggerRunControlFactory::createEngine(slaveEngineType, sp, this, errorMessage);
if (!d->m_cppEngine) { if (!d->m_cppEngine) {
*errorMessage = tr("The slave debugging engine requires for combined QML/C++-Debugging could not be created:").arg(*errorMessage); *errorMessage = tr("The slave debugging engine required for combined QML/C++-Debugging could not be created: %1").arg(*errorMessage);
return; return;
} }
d->m_activeEngine = d->m_cppEngine; d->m_activeEngine = d->m_cppEngine;
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
<item row="2" column="1"> <item row="2" column="1">
<widget class="QLabel" name="qmlDebuggingLibStatus"> <widget class="QLabel" name="qmlDebuggingLibStatus">
<property name="text"> <property name="text">
<string>TextLabel</string> <string notr="true">TextLabel</string>
</property> </property>
</widget> </widget>
</item> </item>
......
...@@ -529,7 +529,7 @@ ProjectExplorer::RunControl* S60DeviceDebugRunControlFactory::create(ProjectExpl ...@@ -529,7 +529,7 @@ ProjectExplorer::RunControl* S60DeviceDebugRunControlFactory::create(ProjectExpl
const Debugger::DebuggerStartParameters startParameters = s60DebuggerStartParams(rc); const Debugger::DebuggerStartParameters startParameters = s60DebuggerStartParams(rc);
const Debugger::ConfigurationCheck check = Debugger::checkDebugConfiguration(startParameters); const Debugger::ConfigurationCheck check = Debugger::checkDebugConfiguration(startParameters);
if (!check) { if (!check) {
Core::ICore::instance()->showWarningWithOptions(tr("Debugger for Symbian Platform"), Core::ICore::instance()->showWarningWithOptions(S60DeviceDebugRunControl::tr("Debugger for Symbian Platform"),
check.errorMessage, check.errorDetailsString(), check.settingsCategory, check.settingsPage); check.errorMessage, check.errorDetailsString(), check.settingsCategory, check.settingsPage);
return 0; return 0;
} }
...@@ -538,7 +538,7 @@ ProjectExplorer::RunControl* S60DeviceDebugRunControlFactory::create(ProjectExpl ...@@ -538,7 +538,7 @@ ProjectExplorer::RunControl* S60DeviceDebugRunControlFactory::create(ProjectExpl
QString S60DeviceDebugRunControlFactory::displayName() const QString S60DeviceDebugRunControlFactory::displayName() const
{ {
return tr("Debug on Device"); return S60DeviceDebugRunControl::tr("Debug on Device");
} }
ProjectExplorer::RunConfigWidget *S60DeviceDebugRunControlFactory::createConfigurationWidget(RunConfiguration* /*runConfiguration */) ProjectExplorer::RunConfigWidget *S60DeviceDebugRunControlFactory::createConfigurationWidget(RunConfiguration* /*runConfiguration */)
......
...@@ -180,7 +180,7 @@ QtVersionManager::QtVersionManager() ...@@ -180,7 +180,7 @@ QtVersionManager::QtVersionManager()
ProjectExplorer::MingwToolChain *tc = createToolChain<ProjectExplorer::MingwToolChain>(ProjectExplorer::Constants::MINGW_TOOLCHAIN_ID); ProjectExplorer::MingwToolChain *tc = createToolChain<ProjectExplorer::MingwToolChain>(ProjectExplorer::Constants::MINGW_TOOLCHAIN_ID);
if (tc) { if (tc) {
tc->setCompilerPath(QDir::fromNativeSeparators(mingwDir) + QLatin1String("/bin/gcc.exe")); tc->setCompilerPath(QDir::fromNativeSeparators(mingwDir) + QLatin1String("/bin/gcc.exe"));
tc->setDisplayName(tr("Mingw from %1").arg(version->displayName())); tc->setDisplayName(tr("MinGW from %1").arg(version->displayName()));
ProjectExplorer::ToolChainManager::instance()->registerToolChain(tc); ProjectExplorer::ToolChainManager::instance()->registerToolChain(tc);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment