forked from qt-creator/qt-creator
Improve translated strings
Change-Id: I7a45c6f8dcbb0e1b3c17a60823664fe1943c5654 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
+2
-2
@@ -232,7 +232,7 @@ Section {
|
||||
text: qsTr("Kerning")
|
||||
Layout.fillWidth: true
|
||||
backendValue: (backendValues.font_kerning === undefined) ? dummyBackendValue : backendValues.font_kerning
|
||||
tooltip: qsTr("Enables or disables the kerning OpenType feature when shaping the text. This may " +
|
||||
tooltip: qsTr("Enables or disables the kerning OpenType feature when shaping the text. Disabling this may " +
|
||||
"improve performance when creating or changing the text, at the expense of some cosmetic features. The default value is true.")
|
||||
}
|
||||
|
||||
@@ -241,7 +241,7 @@ Section {
|
||||
Layout.fillWidth: true
|
||||
backendValue: (backendValues.font_preferShaping === undefined) ? dummyBackendValue : backendValues.font_preferShaping
|
||||
tooltip: qsTr("Sometimes, a font will apply complex rules to a set of characters in order to display them correctly.\n" +
|
||||
"In some writing systems, such as Brahmic scripts, this is required in order for the text to be legible, whereas in" +
|
||||
"In some writing systems, such as Brahmic scripts, this is required in order for the text to be legible, whereas in " +
|
||||
"Latin script,\n it is merely a cosmetic feature. Setting the preferShaping property to false will disable all such features\nwhen they are not required, which will improve performance in most cases.")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ AndroidPackageInstallationStepWidget::AndroidPackageInstallationStepWidget(Andro
|
||||
|
||||
QString AndroidPackageInstallationStepWidget::summaryText() const
|
||||
{
|
||||
return tr("<b>Make install</b>");
|
||||
return "<b>" + tr("Make install") + "</b>";
|
||||
}
|
||||
|
||||
QString AndroidPackageInstallationStepWidget::displayName() const
|
||||
|
||||
@@ -237,8 +237,8 @@ void TestSettingsWidget::onAddFilterClicked()
|
||||
{
|
||||
TestFilterDialog dialog;
|
||||
dialog.setWindowTitle(tr("Add Filter"));
|
||||
dialog.setDetailsText(tr("<p>Specify a filter expression to be added to the list of filters."
|
||||
"<br/>Wildcards are not supported.</p>"));
|
||||
dialog.setDetailsText("<p>" + tr("Specify a filter expression to be added to the list of filters."
|
||||
"<br/>Wildcards are not supported.") + "</p>");
|
||||
if (dialog.exec() == QDialog::Accepted) {
|
||||
const QString &filter = dialog.filterPath();
|
||||
if (!filter.isEmpty())
|
||||
@@ -254,8 +254,8 @@ void TestSettingsWidget::onEditFilterClicked()
|
||||
|
||||
TestFilterDialog dialog;
|
||||
dialog.setWindowTitle(tr("Edit Filter"));
|
||||
dialog.setDetailsText(tr("<p>Specify a filter expression that will replace \"%1\"."
|
||||
"<br/>Wildcards are not supported.</p>").arg(oldFilter));
|
||||
dialog.setDetailsText("<p>" + tr("Specify a filter expression that will replace \"%1\"."
|
||||
"<br/>Wildcards are not supported.").arg(oldFilter) + "</p>");
|
||||
dialog.setDefaultFilterPath(oldFilter);
|
||||
if (dialog.exec() == QDialog::Accepted) {
|
||||
const QString &edited = dialog.filterPath();
|
||||
|
||||
@@ -196,7 +196,7 @@ void ClangHoverHandler::processToolTipInfo(const CppTools::ToolTipInfo &info)
|
||||
}
|
||||
|
||||
if (!info.sizeInBytes.isEmpty())
|
||||
text.append(tr("\n\n%1 bytes").arg(info.sizeInBytes));
|
||||
text.append("\n\n" + tr("%n bytes", 0, info.sizeInBytes));
|
||||
|
||||
setToolTip(text);
|
||||
m_reportPriority(priority());
|
||||
|
||||
@@ -77,9 +77,9 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="draftCheckBox">
|
||||
<property name="toolTip">
|
||||
<string>Checked - Mark change as private
|
||||
Unchecked - Unmark change as private
|
||||
Semi-checked - Do not change current state</string>
|
||||
<string>Checked - Mark change as private.
|
||||
Unchecked - Remove mark.
|
||||
Partially checked - Do not change current state.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Draft/private</string>
|
||||
|
||||
@@ -187,7 +187,7 @@ void ActionHandler::createActions()
|
||||
d->synchronizeBrowserAction = registerCommand(
|
||||
Constants::ACTION_SYNC_BROWSER, nullptr, Core::Context(),
|
||||
tr("Synchronize Browser and Diagram") + "<br><i><small>"
|
||||
+ tr("Press && Hold for options") + "</small></i>", QKeySequence(),
|
||||
+ tr("Press && Hold for Options") + "</small></i>", QKeySequence(),
|
||||
Utils::Icons::LINK.icon())->action();
|
||||
d->synchronizeBrowserAction->setCheckable(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user