diff options
| author | 2015-12-09 11:58:53 +0000 | |
|---|---|---|
| committer | 2015-12-19 02:40:22 +0000 | |
| commit | 7d4516afc4cd194f9224dcd5e07e0f234c162fdf (patch) | |
| tree | a1a165c897339fcbd35a27108fe16c999a3041e2 /src/modules/reguser | |
| parent | Merge pull request #1776 from TheReign/issue_1754_2 (diff) | |
| download | KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.gz KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.bz2 KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.zip | |
src/modules typos: capitalize, formatting, consistency and syntax fixes
Diffstat (limited to 'src/modules/reguser')
| -rw-r--r-- | src/modules/reguser/RegisteredUserEntryDialog.cpp | 4 | ||||
| -rw-r--r-- | src/modules/reguser/RegisteredUsersDialog.cpp | 12 | ||||
| -rw-r--r-- | src/modules/reguser/RegistrationWizard.cpp | 2 | ||||
| -rw-r--r-- | src/modules/reguser/libkvireguser.cpp | 14 |
4 files changed, 16 insertions, 16 deletions
diff --git a/src/modules/reguser/RegisteredUserEntryDialog.cpp b/src/modules/reguser/RegisteredUserEntryDialog.cpp index 097079993..e417aba7d 100644 --- a/src/modules/reguser/RegisteredUserEntryDialog.cpp +++ b/src/modules/reguser/RegisteredUserEntryDialog.cpp @@ -405,7 +405,7 @@ RegisteredUserEntryDialog::RegisteredUserEntryDialog(QWidget *p,KviRegisteredUse } if(!m_pAvatar)m_pAvatar = new KviPixmap(); - m_pAvatarSelector = new KviPixmapSelector(p2,__tr2qs_ctx("Avatar","register"),m_pAvatar,true); + m_pAvatarSelector = new KviPixmapSelector(p2,__tr2qs_ctx("Avatar:","register"),m_pAvatar,true); g->addWidget(m_pAvatarSelector,3,0,1,3); f = new QFrame(p2); @@ -615,7 +615,7 @@ void RegisteredUserEntryDialog::okClicked() { // ops... no way // FIXME: spit an error message ? - qDebug("Ops.. something wrong with the regusers db"); + qDebug("Oops! Something wrong with the regusers DB"); accept(); return; } diff --git a/src/modules/reguser/RegisteredUsersDialog.cpp b/src/modules/reguser/RegisteredUsersDialog.cpp index 23bca582c..8cb85d83f 100644 --- a/src/modules/reguser/RegisteredUsersDialog.cpp +++ b/src/modules/reguser/RegisteredUsersDialog.cpp @@ -271,12 +271,12 @@ RegisteredUsersDialog::RegisteredUsersDialog(QWidget * par) QFrame * f = new QFrame(vbox); f->setFrameStyle(QFrame::HLine | QFrame::Sunken); - m_pSelectAllButton = new QPushButton(__tr2qs_ctx("Select all","register"),vbox); + m_pSelectAllButton = new QPushButton(__tr2qs_ctx("Select All","register"),vbox); connect(m_pSelectAllButton,SIGNAL(clicked()),this,SLOT(selectAllClicked())); m_pSelectAllButton->setToolTip(__tr2qs_ctx("Select all the entries","register")); m_pSelectAllButton->setIcon(*(g_pIconManager->getSmallIcon(KviIconManager::Plus))); - m_pExportButton = new QPushButton(__tr2qs_ctx("Export To...","register"),vbox); + m_pExportButton = new QPushButton(__tr2qs_ctx("Export to...","register"),vbox); m_pExportButton->setEnabled(false); connect(m_pExportButton,SIGNAL(clicked()),this,SLOT(exportClicked())); m_pExportButton->setToolTip(__tr2qs_ctx("Export the selected entries to a file.<br>All the data associated with the selected registered users will be exported.<br>You (or anyone else) can later import the entries by using the \"Import\" button.","register")); @@ -480,7 +480,7 @@ void RegisteredUsersDialog::rightButtonPressed ( QTreeWidgetItem * pItem, QPoint connect(groups,SIGNAL(triggered(QAction *)),this,SLOT(moveToGroupMenuClicked(QAction *))); QMenu *mainPopup = new QMenu; - mainPopup->addAction(__tr2qs_ctx("Move to group","register"))->setMenu(groups); + mainPopup->addAction(__tr2qs_ctx("Move to Group","register"))->setMenu(groups); mainPopup->exec(pnt); } } @@ -807,7 +807,7 @@ void RegisteredUsersDialog::exportClicked() write_error: - KviMessageBox::warning(__tr2qs_ctx("Can't export the registered users database: Write error.","register")); + KviMessageBox::warning(__tr2qs_ctx("Can't export the registered users database: write error.","register")); f.close(); return; @@ -893,7 +893,7 @@ void RegisteredUsersDialog::importClicked() img=io.read(); // if(io.read())goto read_error; - if(img.isNull())qDebug("Ops.. readed a null image ?"); + if(img.isNull())qDebug("Oops! Read a null image?"); QString fName = u->name(); KviFileUtils::adjustFilePath(fName); @@ -920,7 +920,7 @@ void RegisteredUsersDialog::importClicked() read_error: - KviMessageBox::warning(__tr2qs_ctx("Can't import the registered users database: Read error.","register")); + KviMessageBox::warning(__tr2qs_ctx("Can't import the registered users database: read error.","register")); f.close(); return; diff --git a/src/modules/reguser/RegistrationWizard.cpp b/src/modules/reguser/RegistrationWizard.cpp index bdf4ab34b..6c8fb9553 100644 --- a/src/modules/reguser/RegistrationWizard.cpp +++ b/src/modules/reguser/RegistrationWizard.cpp @@ -193,7 +193,7 @@ RegistrationWizard::RegistrationWizard(const QString &startMask,KviRegisteredUse m_pPage3Layout->addWidget(f,1,0); m_pAvatar = new KviPixmap(); - m_pAvatarSelector = new KviPixmapSelector(m_pPage3,__tr2qs_ctx("Store an avatar for this user","register"),m_pAvatar,true); + m_pAvatarSelector = new KviPixmapSelector(m_pPage3,__tr2qs_ctx("Store an avatar for this user:","register"),m_pAvatar,true); m_pPage3Layout->addWidget(m_pAvatarSelector,2,0); m_pPage3Layout->setRowStretch(2,1); diff --git a/src/modules/reguser/libkvireguser.cpp b/src/modules/reguser/libkvireguser.cpp index 8386423f5..63b8913c5 100644 --- a/src/modules/reguser/libkvireguser.cpp +++ b/src/modules/reguser/libkvireguser.cpp @@ -729,7 +729,7 @@ static bool reguser_kvs_cmd_setproperty(KviKvsModuleCommandCall * c) Returns an array of the entries in the registered users database.[br] If <mask> is specified, only entries matching the <mask> and the entries with no registration masks are listed.[br] - Please note that <mask> is a wildcard string that will match + Please note that the <mask> is a wildcard string that will match wildcard strings... don't get messed with that :D[br] @seealso: [module:reguser]Registered users database interface[/module], @@ -816,15 +816,15 @@ static bool reguser_kvs_cmd_showlist(KviKvsModuleCommandCall * c) KviPointerList<KviIrcMask> * ml = u->maskList(); if(u->matches(mask) || (ml->count() == 0)) { - c->window()->output(KVI_OUT_SYSTEMMESSAGE,__tr2qs_ctx(" User: %c%Q","register"),KviControlCodes::Bold,&(u->name())); + c->window()->output(KVI_OUT_SYSTEMMESSAGE,__tr2qs_ctx("User: %c%Q","register"),KviControlCodes::Bold,&(u->name())); if(ml->count() == 0) { - c->window()->output(KVI_OUT_SYSTEMWARNING,__tr2qs_ctx(" Warning: this user has no registration masks","register")); + c->window()->output(KVI_OUT_SYSTEMWARNING,__tr2qs_ctx("Warning: this user has no registration masks","register")); } else { for(KviIrcMask * m = ml->first();m;m = ml->next()) { - c->window()->output(KVI_OUT_SYSTEMMESSAGE,__tr2qs_ctx(" Mask: %Q!%Q@%Q","register"),&(m->nick()),&(m->user()),&(m->host())); + c->window()->output(KVI_OUT_SYSTEMMESSAGE,__tr2qs_ctx("Mask: %Q!%Q@%Q","register"),&(m->nick()),&(m->user()),&(m->host())); } } @@ -835,10 +835,10 @@ static bool reguser_kvs_cmd_showlist(KviKvsModuleCommandCall * c) while(pdit.current()) { QString key = pdit.currentKey(); - c->window()->output(KVI_OUT_SYSTEMMESSAGE,__tr2qs_ctx(" Property: %Q=%Q","register"),&(key),pdit.current()); + c->window()->output(KVI_OUT_SYSTEMMESSAGE,__tr2qs_ctx("Property: %Q=%Q","register"),&(key),pdit.current()); ++pdit; } - } else c->window()->outputNoFmt(KVI_OUT_SYSTEMMESSAGE,__tr2qs_ctx(" No properties","register")); + } else c->window()->outputNoFmt(KVI_OUT_SYSTEMMESSAGE,__tr2qs_ctx("No properties","register")); count++; } ++it; @@ -1163,7 +1163,7 @@ static bool reguser_kvs_fnc_matchProperty(KviKvsModuleFunctionCall * c) reguser.wizard [mask] @description: Allows registering an user with an intuitive and easy to use interface. - If [mask] is specified, it is used as inital mask in the dialog. + If [mask] is specified, it is used as initial mask in the dialog. @seealso: [module:reguser]Registered users database interface[/module], [doc:registered_users]Registered users database[/doc], |
