aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme
diff options
context:
space:
mode:
authorGravatar un1versal2015-12-09 11:58:53 +0000
committerGravatar un1versal2015-12-19 02:40:22 +0000
commit7d4516afc4cd194f9224dcd5e07e0f234c162fdf (patch)
treea1a165c897339fcbd35a27108fe16c999a3041e2 /src/modules/theme
parentMerge pull request #1776 from TheReign/issue_1754_2 (diff)
downloadKVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.gz
KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.bz2
KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.zip
src/modules typos: capitalize, formatting, consistency and syntax fixes
Diffstat (limited to 'src/modules/theme')
-rw-r--r--src/modules/theme/PackThemeDialog.cpp2
-rw-r--r--src/modules/theme/ThemeFunctions.cpp6
-rw-r--r--src/modules/theme/ThemeManagementDialog.cpp10
-rw-r--r--src/modules/theme/libkvitheme.cpp18
4 files changed, 18 insertions, 18 deletions
diff --git a/src/modules/theme/PackThemeDialog.cpp b/src/modules/theme/PackThemeDialog.cpp
index e12a125e3..c4c16e916 100644
--- a/src/modules/theme/PackThemeDialog.cpp
+++ b/src/modules/theme/PackThemeDialog.cpp
@@ -137,7 +137,7 @@ PackThemeDataWidget::PackThemeDataWidget(PackThemeDialog * pParent)
{
setObjectName("theme_package_data_page");
setTitle(__tr2qs_ctx("Theme Data","theme"));
- setSubTitle(__tr2qs_ctx("This is the information list for the themes you're packaging. If it looks OK press \"Next\" to continue, otherwise press \"Cancel\" and rewiew your themes first.","theme"));
+ setSubTitle(__tr2qs_ctx("This is the information list for the themes you're packaging. If it looks OK press \"Next\" to continue, otherwise press \"Cancel\" and review your themes first.","theme"));
}
void PackThemeDataWidget::parseThemes(KviPointerList<KviThemeInfo> * pThemeInfoList)
diff --git a/src/modules/theme/ThemeFunctions.cpp b/src/modules/theme/ThemeFunctions.cpp
index 1af4319f9..0d0e31a92 100644
--- a/src/modules/theme/ThemeFunctions.cpp
+++ b/src/modules/theme/ThemeFunctions.cpp
@@ -51,7 +51,7 @@ namespace ThemeFunctions
static bool notAValidThemePackage(QString &szError)
{
- szError = __tr2qs_ctx("The selected file does not seem to be a valid KVIrc theme package","theme");
+ szError = __tr2qs_ctx("The selected file doesn't seem to be a valid KVIrc theme package","theme");
return false;
}
@@ -71,9 +71,9 @@ namespace ThemeFunctions
if(!r.readHeader(szThemePackageFileName))
{
- qDebug("The selected file does not seem to be a valid KVIrc package");
+ qDebug("The selected file doesn't seem to be a valid KVIrc package");
QString szErr = r.lastError();
- szError = QString(__tr2qs_ctx("The selected file does not seem to be a valid KVIrc package: %1","theme")).arg(szErr);
+ szError = QString(__tr2qs_ctx("The selected file doesn't seem to be a valid KVIrc package: %1","theme")).arg(szErr);
return false;
}
diff --git a/src/modules/theme/ThemeManagementDialog.cpp b/src/modules/theme/ThemeManagementDialog.cpp
index 06b85485d..99e0757a3 100644
--- a/src/modules/theme/ThemeManagementDialog.cpp
+++ b/src/modules/theme/ThemeManagementDialog.cpp
@@ -138,7 +138,7 @@ ThemeManagementDialog::ThemeManagementDialog(QWidget * parent)
pTool = new QToolButton(pHBox);
pTool->setIcon(*(g_pIconManager->getBigIcon(KVI_BIGICON_SAVE)));
pTool->setIconSize(QSize(32,32));
- pTool->setToolTip(__tr2qs_ctx("Save Current Theme...","theme"));
+ pTool->setToolTip(__tr2qs_ctx("Save current theme...","theme"));
connect(pTool,SIGNAL(clicked()),this,SLOT(saveCurrentTheme()));
pSep = new QFrame(pHBox);
@@ -149,13 +149,13 @@ ThemeManagementDialog::ThemeManagementDialog(QWidget * parent)
m_pPackThemeButton->setIcon(*(g_pIconManager->getBigIcon(KVI_BIGICON_PACK)));
m_pPackThemeButton->setIconSize(QSize(32,32));
- m_pPackThemeButton->setToolTip(__tr2qs_ctx("Export Selected Themes to a Distributable Package","theme"));
+ m_pPackThemeButton->setToolTip(__tr2qs_ctx("Export selected themes to a distributable package","theme"));
connect(m_pPackThemeButton,SIGNAL(clicked()),this,SLOT(packTheme()));
m_pDeleteThemeButton = new QToolButton(pHBox);
m_pDeleteThemeButton->setIcon(*(g_pIconManager->getBigIcon(KVI_BIGICON_REMOVE)));
m_pDeleteThemeButton->setIconSize(QSize(32,32));
- m_pDeleteThemeButton->setToolTip(__tr2qs_ctx("Delete Selected Themes","theme"));
+ m_pDeleteThemeButton->setToolTip(__tr2qs_ctx("Delete selected themes","theme"));
connect(m_pDeleteThemeButton,SIGNAL(clicked()),this,SLOT(deleteTheme()));
pSep = new QFrame(pHBox);
@@ -165,13 +165,13 @@ ThemeManagementDialog::ThemeManagementDialog(QWidget * parent)
pTool = new QToolButton(pHBox);
pTool->setIcon(*(g_pIconManager->getBigIcon(KVI_BIGICON_OPEN)));
pTool->setIconSize(QSize(32,32));
- pTool->setToolTip(__tr2qs_ctx("Install Theme Package From Disk","theme"));
+ pTool->setToolTip(__tr2qs_ctx("Install theme package from disk","theme"));
connect(pTool,SIGNAL(clicked()),this,SLOT(installFromFile()));
pTool = new QToolButton(pHBox);
pTool->setIcon(*(g_pIconManager->getBigIcon(KVI_BIGICON_WWW)));
pTool->setIconSize(QSize(32,32));
- pTool->setToolTip(__tr2qs_ctx("Get More Themes...","theme"));
+ pTool->setToolTip(__tr2qs_ctx("Get more themes...","theme"));
connect(pTool,SIGNAL(clicked()),this,SLOT(getMoreThemes()));
QWidget *w= new QWidget(pHBox);
diff --git a/src/modules/theme/libkvitheme.cpp b/src/modules/theme/libkvitheme.cpp
index 333c078c6..f4e493a29 100644
--- a/src/modules/theme/libkvitheme.cpp
+++ b/src/modules/theme/libkvitheme.cpp
@@ -94,18 +94,18 @@ static bool theme_kvs_cmd_install(KviKvsModuleCommandCall * c)
!sw: -e | --external
<theme> is an absolute directory containing a theme
!sw: -b | --builtin
- <theme> is the name of a builtin theme (a subdirectory of the kvirc global themes directory)
+ <theme> is the name of a builtin theme (a subdirectory of the KVIrc global themes directory)
!sw: -u | --user
- <theme> is the name of an user theme (a subdirectory of the kvirc local themes directory)
+ <theme> is the name of an user theme (a subdirectory of the KVIrc local themes directory)
@description:
Attempts to apply the global theme specified by <theme>.
If the -b switch is present then <theme> is assumed to be a name of
- a builtin installed theme (a subdirectory of the kvirc global themes directory).
+ a builtin installed theme (a subdirectory of the KVIrc global themes directory).
If the -l switch is present then <theme> is assumed to be a name of
- an user installed theme (a subdirectory of the kvirc local themes directory).
+ an user installed theme (a subdirectory of the KVIrc local themes directory).
If the -e switch is present then <theme> is assumed to be an absolute
directory containing the theme data.
- If no switch is present then kvirc tries to determine automatically the
+ If no switch is present then KVIrc tries to determine automatically the
type of theme (user, builtin or external).
*/
static bool theme_kvs_cmd_apply(KviKvsModuleCommandCall * c)
@@ -161,7 +161,7 @@ static bool theme_kvs_fnc_info(KviKvsModuleFunctionCall * c)
KviThemeInfo theme;
if(!theme.load(szTheme,KviThemeInfo::Auto))
{
- c->warning(__tr2qs_ctx("The theme package '%Q' does not exist","theme"),&szTheme);
+ c->warning(__tr2qs_ctx("The theme package '%Q' doesn't exist","theme"),&szTheme);
return true;
}
@@ -203,7 +203,7 @@ static bool theme_kvs_cmd_screenshot(KviKvsModuleCommandCall * c)
bool bResult = KviFileDialog::askForSaveFileName(
szTmp,
- __tr2qs_ctx("Choose a file to save the screenshot to","theme"),
+ __tr2qs_ctx("Choose a Filename to Save the Screenshot to","theme"),
szFileName,
"*.png",
false,
@@ -275,8 +275,8 @@ static bool theme_kvs_cmd_dialog(KviKvsModuleCommandCall *c)
<package_name> is the visible name of the package (something like "My Theme Set").[br]
<package_version> is the version of the package in the form X.Y.Z.[br]
<package_description> is a textual description of the package.
- <package_author> is the name of the person that is creating the package (NOT necessairly the themes contained within).
- <package_image> is the path of an image to be used as package rappresentative image. If the package is going
+ <package_author> is the name of the person that is creating the package (NOT necessarily the themes contained within).
+ <package_image> is the path of an image to be used as package representative image. If the package is going
to contain a single theme you may specify the theme's screenshot here. Pass an empty string if you
don't want an image to be stored in the package.
<theme> is a either a single path to a directory containing a theme as it's exported by kvirc,