forked from qt-creator/qt-creator
Tr/Python: Simplify UI text for translation
Parametrize link target, and use markdown for simpler link syntax. Change-Id: I6d1bae0431aa4e5bd7c7ad39b1219289eda40391 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -40211,8 +40211,8 @@ fails because Clang does not understand the target architecture.</source>
|
||||
<translation>Python Language Server benutzen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>For a complete list of available options, consult the <a href="https://github.com/python-lsp/python-lsp-server/blob/develop/CONFIGURATION.md">Python LSP Server configuration documentation</a>.</source>
|
||||
<translation>Für eine vollständige Liste der verfügbaren Optionen siehe auch die <a href="https://github.com/python-lsp/python-lsp-server/blob/develop/CONFIGURATION.md">Dokumentation zur Python LSP-Server-Konfiguration</a>.</translation>
|
||||
<source>For a complete list of available options, consult the [Python LSP Server configuration documentation](%1).</source>
|
||||
<translation>Für eine vollständige Liste der verfügbaren Optionen siehe auch die [Dokumentation zur Python LSP-Server-Konfiguration](%1).</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Advanced</source>
|
||||
|
||||
@@ -414,11 +414,11 @@ public:
|
||||
|
||||
mainGroupLayout->addWidget(m_pluginsGroup);
|
||||
|
||||
const QString labelText = Tr::tr(
|
||||
"For a complete list of available options, consult the <a "
|
||||
"href=\"https://github.com/python-lsp/python-lsp-server/blob/develop/"
|
||||
"CONFIGURATION.md\">Python LSP Server configuration documentation</a>.");
|
||||
|
||||
const QString labelText = Tr::tr("For a complete list of available options, consult the "
|
||||
"[Python LSP Server configuration documentation](%1).")
|
||||
.arg("https://github.com/python-lsp/python-lsp-server/blob/"
|
||||
"develop/CONFIGURATION.md");
|
||||
m_advancedLabel->setTextFormat(Qt::MarkdownText);
|
||||
m_advancedLabel->setText(labelText);
|
||||
m_advancedLabel->setOpenExternalLinks(true);
|
||||
mainGroupLayout->addWidget(m_advancedLabel);
|
||||
|
||||
Reference in New Issue
Block a user