forked from qt-creator/qt-creator
Tr: Various small fixes
Change-Id: Ic86d6b6a4aae7b301557eaa4296beb9a31399e03 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -18989,8 +18989,8 @@ Doppelklicken Sie einen Eintrag um ihn zu ändern.</translation>
|
|||||||
<translation>Datei "%1" konnte nicht zum Schreiben der Protokolle geöffnet werden.</translation>
|
<translation>Datei "%1" konnte nicht zum Schreiben der Protokolle geöffnet werden.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Save Enabled Categories As</source>
|
<source>Save Enabled Categories As...</source>
|
||||||
<translation>Ausgewählte Kategorien speichern unter</translation>
|
<translation>Ausgewählte Kategorien speichern unter...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Failed to write preset file "%1".</source>
|
<source>Failed to write preset file "%1".</source>
|
||||||
@@ -27390,7 +27390,7 @@ Private Check-Ins werden standardmäßig nicht zum entfernten Repository gepusht
|
|||||||
<translation>ALT+I,Alt+C</translation>
|
<translation>ALT+I,Alt+C</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Settings ...</source>
|
<source>Settings...</source>
|
||||||
<translation>Einstellungen...</translation>
|
<translation>Einstellungen...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
@@ -31889,8 +31889,8 @@ Beispiel: *.cpp%1*.h</translation>
|
|||||||
<translation>In die Zwischenablage kopieren</translation>
|
<translation>In die Zwischenablage kopieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Cannot handle MIME type of message %1</source>
|
<source>Cannot handle MIME type "%1" of message.</source>
|
||||||
<translation>MIME type %1 der Nachricht kann nicht verarbeitet werden</translation>
|
<translation>MIME type "%1" der Nachricht kann nicht verarbeitet werden.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Generic StdIO Language Server</source>
|
<source>Generic StdIO Language Server</source>
|
||||||
@@ -32025,7 +32025,7 @@ Beispiel: *.cpp%1*.h</translation>
|
|||||||
<translation>In "%1" ist keine ID angegeben.</translation>
|
<translation>In "%1" ist keine ID angegeben.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Could not parse JSON message "%1".</source>
|
<source>Could not parse JSON message: "%1".</source>
|
||||||
<translation>Die JSON-Nachricht konnte nicht ausgewertet werden: "%1".</translation>
|
<translation>Die JSON-Nachricht konnte nicht ausgewertet werden: "%1".</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
@@ -38801,7 +38801,7 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw
|
|||||||
<translation>%1: Vollständiger Pfad zur Hauptdatei.</translation>
|
<translation>%1: Vollständiger Pfad zur Hauptdatei.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>%1: The name the active kit.</source>
|
<source>%1: The name of the active kit.</source>
|
||||||
<extracomment>%1 is something like "Active project"</extracomment>
|
<extracomment>%1 is something like "Active project"</extracomment>
|
||||||
<translation>%1: Der Name des aktiven Kits.</translation>
|
<translation>%1: Der Name des aktiven Kits.</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -44979,7 +44979,7 @@ wirklich löschen?</translation>
|
|||||||
<translation>Vollständiger Pfad zum Ziel-"bin"-Verzeichnis der Qt-Version des aktiven Kits des aktiven Projekts.<br>Wahrscheinlich sollten Sie stattdessen %1 nutzen.</translation>
|
<translation>Vollständiger Pfad zum Ziel-"bin"-Verzeichnis der Qt-Version des aktiven Kits des aktiven Projekts.<br>Wahrscheinlich sollten Sie stattdessen %1 nutzen.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Full path to the libexec bin directory of the Qt version in the active kit of the active project.</source>
|
<source>Full path to the libexec directory of the Qt version in the active kit of the active project.</source>
|
||||||
<translation>Vollständiger Pfad zum Host-"libexec"-Verzeichnis der Qt-Version des aktiven Kits des aktiven Projekts.</translation>
|
<translation>Vollständiger Pfad zum Host-"libexec"-Verzeichnis der Qt-Version des aktiven Kits des aktiven Projekts.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|||||||
@@ -10705,8 +10705,8 @@ will also disable the following plugins:
|
|||||||
<translation>Očekivana vrsta %1, ali vrijednost je sadržavala %2</translation>
|
<translation>Očekivana vrsta %1, ali vrijednost je sadržavala %2</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Could not parse JSON message "%1".</source>
|
<source>Could not parse JSON message: "%1".</source>
|
||||||
<translation>Nije moguće obraditi JSON poruku "%1".</translation>
|
<translation>Nije moguće obraditi JSON poruku: "%1".</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Expected a JSON object, but got a JSON "%1".</source>
|
<source>Expected a JSON object, but got a JSON "%1".</source>
|
||||||
|
|||||||
@@ -77,8 +77,7 @@ JsonRpcMessage::JsonRpcMessage(const BaseMessage &message)
|
|||||||
if (doc.isObject())
|
if (doc.isObject())
|
||||||
m_jsonObject = doc.object();
|
m_jsonObject = doc.object();
|
||||||
else if (doc.isNull())
|
else if (doc.isNull())
|
||||||
m_parseError =
|
m_parseError = Tr::tr("Could not parse JSON message: \"%1\".").arg(error.errorString());
|
||||||
Tr::tr("Could not parse JSON message \"%1\".").arg(error.errorString());
|
|
||||||
else
|
else
|
||||||
m_parseError =
|
m_parseError =
|
||||||
Tr::tr("Expected a JSON object, but got a JSON \"%1\" value.").arg(docType(doc));
|
Tr::tr("Expected a JSON object, but got a JSON \"%1\" value.").arg(docType(doc));
|
||||||
|
|||||||
@@ -622,7 +622,7 @@ void LoggingViewManagerWidget::saveLoggingsToFile() const
|
|||||||
void LoggingViewManagerWidget::saveEnabledCategoryPreset() const
|
void LoggingViewManagerWidget::saveEnabledCategoryPreset() const
|
||||||
{
|
{
|
||||||
Utils::FilePath fp = Utils::FileUtils::getSaveFilePath(ICore::dialogParent(),
|
Utils::FilePath fp = Utils::FileUtils::getSaveFilePath(ICore::dialogParent(),
|
||||||
Tr::tr("Save Enabled Categories As"));
|
Tr::tr("Save Enabled Categories As..."));
|
||||||
if (fp.isEmpty())
|
if (fp.isEmpty())
|
||||||
return;
|
return;
|
||||||
const QList<LoggingCategoryItem> enabled = m_categoryModel->enabledCategories();
|
const QList<LoggingCategoryItem> enabled = m_categoryModel->enabledCategories();
|
||||||
|
|||||||
@@ -559,7 +559,7 @@ void FossilPluginPrivate::createRepositoryActions(const Core::Context &context)
|
|||||||
m_fossilContainer->addAction(command);
|
m_fossilContainer->addAction(command);
|
||||||
m_commandLocator->appendCommand(command);
|
m_commandLocator->appendCommand(command);
|
||||||
|
|
||||||
action = new QAction(Tr::tr("Settings ..."), this);
|
action = new QAction(Tr::tr("Settings..."), this);
|
||||||
m_repositoryActionList.append(action);
|
m_repositoryActionList.append(action);
|
||||||
command = Core::ActionManager::registerAction(action, Constants::CONFIGURE_REPOSITORY, context);
|
command = Core::ActionManager::registerAction(action, Constants::CONFIGURE_REPOSITORY, context);
|
||||||
connect(action, &QAction::triggered, this, &FossilPluginPrivate::configureRepository);
|
connect(action, &QAction::triggered, this, &FossilPluginPrivate::configureRepository);
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ void BaseClientInterface::parseCurrentMessage()
|
|||||||
if (m_currentMessage.mimeType == JsonRpcMessage::jsonRpcMimeType()) {
|
if (m_currentMessage.mimeType == JsonRpcMessage::jsonRpcMimeType()) {
|
||||||
emit messageReceived(JsonRpcMessage(m_currentMessage));
|
emit messageReceived(JsonRpcMessage(m_currentMessage));
|
||||||
} else {
|
} else {
|
||||||
emit error(Tr::tr("Cannot handle MIME type of message %1")
|
emit error(Tr::tr("Cannot handle MIME type \"%1\" of message.")
|
||||||
.arg(QString::fromUtf8(m_currentMessage.mimeType)));
|
.arg(QString::fromUtf8(m_currentMessage.mimeType)));
|
||||||
}
|
}
|
||||||
m_currentMessage = BaseMessage();
|
m_currentMessage = BaseMessage();
|
||||||
|
|||||||
@@ -1183,7 +1183,7 @@ void Project::addVariablesToMacroExpander(const QByteArray &prefix,
|
|||||||
});
|
});
|
||||||
expander->registerVariable(fullPrefix + "Kit:Name",
|
expander->registerVariable(fullPrefix + "Kit:Name",
|
||||||
//: %1 is something like "Active project"
|
//: %1 is something like "Active project"
|
||||||
Tr::tr("%1: The name the active kit.").arg(descriptor),
|
Tr::tr("%1: The name of the active kit.").arg(descriptor),
|
||||||
[targetGetter]() -> QString {
|
[targetGetter]() -> QString {
|
||||||
if (const Target *const target = targetGetter())
|
if (const Target *const target = targetGetter())
|
||||||
return target->kit()->displayName();
|
return target->kit()->displayName();
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ void QtSupportPlugin::extensionsInitialized()
|
|||||||
|
|
||||||
expander->registerVariable(
|
expander->registerVariable(
|
||||||
"ActiveProject::QT_HOST_LIBEXECS",
|
"ActiveProject::QT_HOST_LIBEXECS",
|
||||||
Tr::tr("Full path to the libexec bin directory of the Qt version in the active kit "
|
Tr::tr("Full path to the libexec directory of the Qt version in the active kit "
|
||||||
"of the active project."),
|
"of the active project."),
|
||||||
[]() {
|
[]() {
|
||||||
const QtVersion *const qt = activeQtVersion();
|
const QtVersion *const qt = activeQtVersion();
|
||||||
|
|||||||
@@ -69,8 +69,7 @@ static FormatTask format(FormatTask task)
|
|||||||
process.setCommand({executable, options});
|
process.setCommand({executable, options});
|
||||||
process.runBlocking();
|
process.runBlocking();
|
||||||
if (process.result() != ProcessResult::FinishedWithSuccess) {
|
if (process.result() != ProcessResult::FinishedWithSuccess) {
|
||||||
task.error = Tr::tr("TextEditor", "Failed to format: %1.")
|
task.error = Tr::tr("Failed to format: %1.").arg(process.exitMessage());
|
||||||
.arg(process.exitMessage());
|
|
||||||
return task;
|
return task;
|
||||||
}
|
}
|
||||||
const QString output = process.cleanedStdErr();
|
const QString output = process.cleanedStdErr();
|
||||||
@@ -249,8 +248,7 @@ void updateEditorText(QPlainTextEdit *editor, const QString &text)
|
|||||||
|
|
||||||
static void showError(const QString &error)
|
static void showError(const QString &error)
|
||||||
{
|
{
|
||||||
Core::MessageManager::writeFlashing(Tr::tr("TextEditor", "Error in text formatting: %1")
|
Core::MessageManager::writeFlashing(Tr::tr("Error in text formatting: %1").arg(error.trimmed()));
|
||||||
.arg(error.trimmed()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user