aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/extensionmanager/extensionmanagerwidget.cpp
diff options
context:
space:
mode:
authorLeena Miettinen <[email protected]>2024-06-25 10:34:55 +0200
committerLeena Miettinen <[email protected]>2024-06-26 14:09:17 +0000
commita81e4fb277b298de630132eb4e4e1b0d1b4a2b98 (patch)
tree4245371dd3fb5398c4838c3c1c201db32653f5d7 /src/plugins/extensionmanager/extensionmanagerwidget.cpp
parentd6eee1e25072133183541cbf17ed9186a0268302 (diff)
Extensions: Edit UI text
- Add dots to ends of messages - Replace "plugin" with "extension" in translatable text - Fix capitalization of headings and button labels - Change wording Change-Id: I24a3ca6de6a5a0a4509bab34ad2f50cbcf40c73a Reviewed-by: Eike Ziller <[email protected]> Reviewed-by: Leena Miettinen <[email protected]>
Diffstat (limited to 'src/plugins/extensionmanager/extensionmanagerwidget.cpp')
-rw-r--r--src/plugins/extensionmanager/extensionmanagerwidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/extensionmanager/extensionmanagerwidget.cpp b/src/plugins/extensionmanager/extensionmanagerwidget.cpp
index b62951529ee..a9761e8ebff 100644
--- a/src/plugins/extensionmanager/extensionmanagerwidget.cpp
+++ b/src/plugins/extensionmanager/extensionmanagerwidget.cpp
@@ -279,8 +279,8 @@ public:
: QWidget(parent)
{
m_label = new InfoLabel;
- m_checkBox = new QCheckBox(Tr::tr("Load on Start"));
- m_restartButton = new Button(Tr::tr("Restart now"), Button::MediumPrimary);
+ m_checkBox = new QCheckBox(Tr::tr("Load on start"));
+ m_restartButton = new Button(Tr::tr("Restart Now"), Button::MediumPrimary);
m_restartButton->setVisible(false);
m_pluginView.hide();
@@ -667,9 +667,9 @@ void ExtensionManagerWidget::fetchAndInstallPlugin(const QUrl &url)
struct StorageStruct
{
StorageStruct() {
- progressDialog.reset(new QProgressDialog(Tr::tr("Downloading Plugin..."),
- Tr::tr("Cancel"), 0, 0,
- ICore::dialogParent()));
+ progressDialog.reset(new QProgressDialog(
+ Tr::tr("Downloading..."), Tr::tr("Cancel"), 0, 0, ICore::dialogParent()));
+ progressDialog->setWindowTitle(Tr::tr("Download Extension"));
progressDialog->setWindowModality(Qt::ApplicationModal);
progressDialog->setFixedSize(progressDialog->sizeHint());
progressDialog->setAutoClose(false);
@@ -694,7 +694,7 @@ void ExtensionManagerWidget::fetchAndInstallPlugin(const QUrl &url)
QMessageBox::warning(
ICore::dialogParent(),
Tr::tr("Download Error"),
- Tr::tr("Could not download Plugin") + "\n\n" + storage->url.toString() + "\n\n"
+ Tr::tr("Cannot download extension") + "\n\n" + storage->url.toString() + "\n\n"
+ Tr::tr("Code: %1.").arg(query.reply()->error()));
}
};