Tr: Move some html out of texts

Change-Id: I46c8d81630e18e244f16cefe696d662632340008
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2023-05-26 10:17:38 +02:00
parent 0c1974f9b8
commit bc52355f98
3 changed files with 9 additions and 7 deletions

View File

@@ -20339,8 +20339,8 @@ z.B. name = &quot;m_test_foo_&quot;:
<translation>Dateien ignorieren</translation> <translation>Dateien ignorieren</translation>
</message> </message>
<message> <message>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Ignore files that match these wildcard patterns, one wildcard per line.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source> <source>Ignore files that match these wildcard patterns, one wildcard per line.</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Dateien ignorieren, die diesen Platzhalter-Filtern entsprechen. Ein Filter pro Zeile.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation> <translation>Dateien ignorieren, die diesen Platzhalter-Filtern entsprechen. Ein Filter pro Zeile.</translation>
</message> </message>
<message> <message>
<source>Ignore precompiled headers</source> <source>Ignore precompiled headers</source>
@@ -25092,8 +25092,8 @@ Das Setzen von Haltepunkten anhand von Dateinamen und Zeilennummern könnte fehl
<translation>Schriftgröße des Debuggers mit Editor synchronisieren</translation> <translation>Schriftgröße des Debuggers mit Editor synchronisieren</translation>
</message> </message>
<message> <message>
<source>&lt;p&gt;Not all source code lines generate executable code. Putting a breakpoint on such a line acts as if the breakpoint was set on the next line that generated code. Selecting &apos;Adjust Breakpoint Locations&apos; shifts the red breakpoint markers in such cases to the location of the true breakpoint.</source> <source>Not all source code lines generate executable code. Putting a breakpoint on such a line acts as if the breakpoint was set on the next line that generated code. Selecting &apos;Adjust Breakpoint Locations&apos; shifts the red breakpoint markers in such cases to the location of the true breakpoint.</source>
<translation>&lt;p&gt;Nicht aus allen Quellcode-Zeilen wird ausführbarer Code erzeugt. Wenn man dort einen Haltepunkt setzt, verhält er sich so, als ob er auf die nächste Zeile gesetzt worden wäre, aus der Maschinencode erzeugt wurde. Das Aktivieren der Einstellung &apos;Positionen der Haltepunkte korrigieren&apos; bewirkt, dass der Haltepunkt-Marker in so einem Fall an die Stelle des resultierenden Haltepunkts verschoben wird.</translation> <translation>Nicht aus allen Quellcode-Zeilen wird ausführbarer Code erzeugt. Wenn man dort einen Haltepunkt setzt, verhält er sich so, als ob er auf die nächste Zeile gesetzt worden wäre, aus der Maschinencode erzeugt wurde. Das Aktivieren der Einstellung &apos;Positionen der Haltepunkte korrigieren&apos; bewirkt, dass der Haltepunkt-Marker in so einem Fall an die Stelle des resultierenden Haltepunkts verschoben wird.</translation>
</message> </message>
<message> <message>
<source>Stopping and stepping in the debugger will automatically open views associated with the current location.</source> <source>Stopping and stepping in the debugger will automatically open views associated with the current location.</source>

View File

@@ -72,8 +72,10 @@ CppCodeModelSettingsWidget::CppCodeModelSettingsWidget(CppCodeModelSettings *s)
m_bigFilesLimitSpinBox->setValue(m_settings->indexerFileSizeLimitInMb()); m_bigFilesLimitSpinBox->setValue(m_settings->indexerFileSizeLimitInMb());
m_ignoreFilesCheckBox = new QCheckBox(Tr::tr("Ignore files")); m_ignoreFilesCheckBox = new QCheckBox(Tr::tr("Ignore files"));
m_ignoreFilesCheckBox->setToolTip(Tr::tr( m_ignoreFilesCheckBox->setToolTip(
"<html><head/><body><p>Ignore files that match these wildcard patterns, one wildcard per line.</p></body></html>")); "<html><head/><body><p>"
+ Tr::tr("Ignore files that match these wildcard patterns, one wildcard per line.")
+ "</p></body></html>");
m_ignoreFilesCheckBox->setChecked(m_settings->ignoreFiles()); m_ignoreFilesCheckBox->setChecked(m_settings->ignoreFiles());
m_ignorePatternTextEdit = new QPlainTextEdit(m_settings->ignorePattern()); m_ignorePatternTextEdit = new QPlainTextEdit(m_settings->ignorePattern());

View File

@@ -242,7 +242,7 @@ DebuggerSettings::DebuggerSettings()
adjustBreakpointLocations.setDisplayName(Tr::tr("Adjust Breakpoint Locations")); adjustBreakpointLocations.setDisplayName(Tr::tr("Adjust Breakpoint Locations"));
adjustBreakpointLocations.setToolTip( adjustBreakpointLocations.setToolTip(
"<p>" "<p>"
+ Tr::tr("<p>Not all source code lines generate " + Tr::tr("Not all source code lines generate "
"executable code. Putting a breakpoint on such a line acts as " "executable code. Putting a breakpoint on such a line acts as "
"if the breakpoint was set on the next line that generated code. " "if the breakpoint was set on the next line that generated code. "
"Selecting 'Adjust Breakpoint Locations' shifts the red " "Selecting 'Adjust Breakpoint Locations' shifts the red "