aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/addon
diff options
context:
space:
mode:
authorGravatar un1versal2016-02-11 04:33:11 +0000
committerGravatar un1versal2016-02-27 10:47:52 +0000
commitf41c1f2868ee7d318b29e4c076db45a8b0346b3d (patch)
tree62f05c4fb396a2361c457b9d0ee68385b1eed2b0 /src/modules/addon
parentstatusbarapplet: update tootip add space between double-click and main text (diff)
downloadKVIrc-f41c1f2868ee7d318b29e4c076db45a8b0346b3d.tar.gz
KVIrc-f41c1f2868ee7d318b29e4c076db45a8b0346b3d.tar.bz2
KVIrc-f41c1f2868ee7d318b29e4c076db45a8b0346b3d.zip
QMessageBox/setWindowTitle: fix headers titles: capitalization, syntax + try to improve entries
+ add window title to find and replace dialog
Diffstat (limited to 'src/modules/addon')
-rw-r--r--src/modules/addon/AddonFunctions.cpp2
-rw-r--r--src/modules/addon/AddonManagementDialog.cpp6
-rw-r--r--src/modules/addon/PackAddonDialog.cpp8
-rw-r--r--src/modules/addon/WebAddonInterfaceDialog.cpp2
4 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/addon/AddonFunctions.cpp b/src/modules/addon/AddonFunctions.cpp
index 0ca479c00..2bc7a0d91 100644
--- a/src/modules/addon/AddonFunctions.cpp
+++ b/src/modules/addon/AddonFunctions.cpp
@@ -241,7 +241,7 @@ namespace AddonFunctions
}
if(!KviFileUtils::deleteDir(szUnpackPath))
- QMessageBox::warning(NULL,__tr2qs_ctx("Warning While Unpacking Addon","addon"),__tr2qs_ctx("Failed to delete the directory '%1'","addon").arg(szUnpackPath));
+ QMessageBox::warning(NULL,__tr2qs_ctx("Warning While Unpacking Addon - KVIrc","addon"),__tr2qs_ctx("Failed to delete the directory '%1'","addon").arg(szUnpackPath));
return true;
}
diff --git a/src/modules/addon/AddonManagementDialog.cpp b/src/modules/addon/AddonManagementDialog.cpp
index 16f1068de..955fa01a5 100644
--- a/src/modules/addon/AddonManagementDialog.cpp
+++ b/src/modules/addon/AddonManagementDialog.cpp
@@ -98,7 +98,7 @@ AddonListViewItem::~AddonListViewItem()
AddonManagementDialog::AddonManagementDialog(QWidget * p)
: QWidget(p)
{
- setWindowTitle(__tr2qs_ctx("Manage Script-Based Addons","addon"));
+ setWindowTitle(__tr2qs_ctx("Manage Addons - KVIrc","addon"));
setObjectName("Addon manager");
setWindowIcon(*(g_pIconManager->getSmallIcon(KviIconManager::Addons)));
@@ -275,7 +275,7 @@ void AddonManagementDialog::uninstallScript()
if(QMessageBox::question(
this,
- __tr2qs_ctx("Confirm addon uninstallation","addon"),
+ __tr2qs_ctx("Confirm Addon Uninstallation - KVIrc","addon"),
txt, __tr2qs_ctx("Yes","addon"), __tr2qs_ctx("No","addon"),0,1
) != 0) return;
@@ -303,7 +303,7 @@ void AddonManagementDialog::installScript()
if(!KviFileDialog::askForOpenFileName(
szFileName,
- __tr2qs_ctx("Please Select the Addon Installation File","addon"),
+ __tr2qs_ctx("Select a Installation File - KVIrc","addon"),
QString(),KVI_FILTER_ADDON,false,true,this
)) return;
diff --git a/src/modules/addon/PackAddonDialog.cpp b/src/modules/addon/PackAddonDialog.cpp
index 24933b430..4f0ccd5f6 100644
--- a/src/modules/addon/PackAddonDialog.cpp
+++ b/src/modules/addon/PackAddonDialog.cpp
@@ -157,7 +157,7 @@ bool PackAddonDialog::packAddon()
{
if(QMessageBox::question(
this,
- __tr2qs_ctx("Export Addon - KVIrc","addon"),
+ __tr2qs_ctx("Exporting Addon Confirmation - KVIrc","addon"),
__tr2qs_ctx("File %1 already exists. Do you want to overwrite it?","addon").arg(info.szSavePath),
QMessageBox::Yes,
QMessageBox::No
@@ -179,13 +179,13 @@ bool PackAddonDialog::packAddon()
if(!AddonFunctions::pack(info,szError))
{
QMessageBox::critical(this,
- __tr2qs_ctx("Addon Packaging Error","addon"),
+ __tr2qs_ctx("Addon Packaging - KVIrc","addon"),
szError,QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton
);
return false;
}
- QMessageBox::information(this,__tr2qs_ctx("Export Addon - KVIrc","addon"),__tr2qs_ctx("Package saved successfully in %1","addon").arg(m_szSavePath),QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton);
+ QMessageBox::information(this,__tr2qs_ctx("Exporting Addon Completed - KVIrc","addon"),__tr2qs_ctx("The Package was saved successfully in %1","addon").arg(m_szSavePath),QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton);
return true;
}
@@ -399,7 +399,7 @@ PackAddonSummaryFilesWidget::PackAddonSummaryFilesWidget(PackAddonDialog * pPare
: QDialog(pParent)
{
setObjectName("addon_package_summary_file_dialog");
- setWindowTitle(__tr2qs_ctx("File Summary","addon"));
+ setWindowTitle(__tr2qs_ctx("File Summary Review - KVIrc","addon"));
setWindowModality(Qt::WindowModal);
setModal(true);
diff --git a/src/modules/addon/WebAddonInterfaceDialog.cpp b/src/modules/addon/WebAddonInterfaceDialog.cpp
index d67aa0aa0..ba8b8e33c 100644
--- a/src/modules/addon/WebAddonInterfaceDialog.cpp
+++ b/src/modules/addon/WebAddonInterfaceDialog.cpp
@@ -40,7 +40,7 @@
WebAddonInterfaceDialog::WebAddonInterfaceDialog(QWidget * par)
: KviWebPackageManagementDialog(par)
{
- setWindowTitle(__tr2qs_ctx("KVIrc : Download Addons","theme"));
+ setWindowTitle(__tr2qs_ctx("Download Addons - KVIrc","theme"));
setPackagePageUrl(
QString::fromLatin1("http://www.kvirc.de/app/addons.php?version=" KVI_VERSION "&lang=%1")