diff options
| author | 2015-10-22 10:29:39 +0100 | |
|---|---|---|
| committer | 2015-10-22 12:41:08 +0100 | |
| commit | da2dd6b6511489d09d208d2d74e47f4f3832608e (patch) | |
| tree | fa810dec03a6f638af89e1aef89f64e47915f8bd /src/modules | |
| parent | OptionsWidget_servers: adjust 'Connect Now' button colorschemes (diff) | |
| download | KVIrc-da2dd6b6511489d09d208d2d74e47f4f3832608e.tar.gz KVIrc-da2dd6b6511489d09d208d2d74e47f4f3832608e.tar.bz2 KVIrc-da2dd6b6511489d09d208d2d74e47f4f3832608e.zip | |
KViSelectors/OptionsWidget_* typos and capitalization
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/options/OptionsWidget_interfaceFeatures.cpp | 6 | ||||
| -rw-r--r-- | src/modules/options/OptionsWidget_nickserv.cpp | 18 | ||||
| -rw-r--r-- | src/modules/options/OptionsWidget_servers.cpp | 30 |
3 files changed, 27 insertions, 27 deletions
diff --git a/src/modules/options/OptionsWidget_interfaceFeatures.cpp b/src/modules/options/OptionsWidget_interfaceFeatures.cpp index 2005c91b0..65dc6c3be 100644 --- a/src/modules/options/OptionsWidget_interfaceFeatures.cpp +++ b/src/modules/options/OptionsWidget_interfaceFeatures.cpp @@ -55,12 +55,12 @@ OptionsWidget_interfaceFeatures::OptionsWidget_interfaceFeatures(QWidget * paren addBoolSelector(0,4,0,4,__tr2qs_ctx("Enable visual effects","options"),KviOption_boolEnableVisualEffects); addBoolSelector(0,5,0,5,__tr2qs_ctx("Hide Channel window tool buttons by default","options"),KviOption_boolHideWindowToolButtons); - KviTalGroupBox * g = addGroupBox(0,6,0,6,Qt::Horizontal,__tr2qs_ctx("Open Dialog Window For","options")); + KviTalGroupBox * g = addGroupBox(0,6,0,6,Qt::Horizontal,__tr2qs_ctx("Open Dialog Window for","options")); addBoolSelector(g,__tr2qs_ctx("Preferences","options"),KviOption_boolShowGeneralOptionsDialogAsToplevel); - addBoolSelector(g,__tr2qs_ctx("Registered Users","options"),KviOption_boolShowRegisteredUsersDialogAsToplevel); + addBoolSelector(g,__tr2qs_ctx("Registered users","options"),KviOption_boolShowRegisteredUsersDialogAsToplevel); addBoolSelector(g,__tr2qs_ctx("Identity","options"),KviOption_boolShowIdentityDialogAsToplevel); addBoolSelector(g,__tr2qs_ctx("Servers","options"),KviOption_boolShowServersConnectDialogAsToplevel); - addBoolSelector(g,__tr2qs_ctx("Join Channels","options"),KviOption_boolShowChannelsJoinDialogAsToplevel); + addBoolSelector(g,__tr2qs_ctx("Join channels","options"),KviOption_boolShowChannelsJoinDialogAsToplevel); addRowSpacer(0,7,0,7); } diff --git a/src/modules/options/OptionsWidget_nickserv.cpp b/src/modules/options/OptionsWidget_nickserv.cpp index 934610763..4228a13f7 100644 --- a/src/modules/options/OptionsWidget_nickserv.cpp +++ b/src/modules/options/OptionsWidget_nickserv.cpp @@ -52,7 +52,7 @@ NickServRuleEditor::NickServRuleEditor(QWidget * par,bool bUseServerMaskField) QGridLayout * gl = new QGridLayout(this);//,bUseServerMaskField ? 7 : 6,4,10,5); - QLabel * l = new QLabel(__tr2qs_ctx("Registered NickName","options"),this); + QLabel * l = new QLabel(__tr2qs_ctx("Registered nickname","options"),this); gl->addWidget(l,0,0); m_pRegisteredNickEdit = new QLineEdit(this); @@ -60,7 +60,7 @@ NickServRuleEditor::NickServRuleEditor(QWidget * par,bool bUseServerMaskField) gl->addWidget(m_pRegisteredNickEdit,0,1,1,3); // gl->addMultiCellWidget(m_pRegisteredNickEdit,0,0,1,3); - l = new QLabel(__tr2qs_ctx("NickServ Mask","options"),this); + l = new QLabel(__tr2qs_ctx("NickServ mask","options"),this); gl->addWidget(l,1,0); m_pNickServMaskEdit = new QLineEdit(this); @@ -73,7 +73,7 @@ NickServRuleEditor::NickServRuleEditor(QWidget * par,bool bUseServerMaskField) gl->addWidget(m_pNickServMaskEdit,1,1,1,3); // gl->addMultiCellWidget(m_pNickServMaskEdit,1,1,1,3); - l = new QLabel(__tr2qs_ctx("Message Regexp","options"),this); + l = new QLabel(__tr2qs_ctx("Message regexp","options"),this); gl->addWidget(l,2,0); m_pMessageRegexpEdit = new QLineEdit(this); @@ -86,7 +86,7 @@ NickServRuleEditor::NickServRuleEditor(QWidget * par,bool bUseServerMaskField) "The message is usually something like \"To identify yourself please use /ns IDENTIFY password\" " \ "and it is sent when the NickServ wants you to authenticate yourself. " \ "You can use the * and ? wildcards.","options") + html_center_end); - l = new QLabel(__tr2qs_ctx("Identify Command","options"),this); + l = new QLabel(__tr2qs_ctx("Identify command","options"),this); gl->addWidget(l,3,0); m_pIdentifyCommandEdit = new QLineEdit(this); @@ -155,13 +155,13 @@ bool NickServRuleEditor::validate() if(s.isEmpty()) { - QMessageBox::warning(this,m,__tr2qs_ctx("The Nickname field can't be empty!","options"),o); + QMessageBox::warning(this,m,__tr2qs_ctx("The nickname field can't be empty!","options"),o); return false; } if(s.indexOf(QChar(' ')) != -1) { - QMessageBox::warning(this,m,__tr2qs_ctx("The Nickname field can't contain spaces!","options"),o); + QMessageBox::warning(this,m,__tr2qs_ctx("The nickname field can't contain spaces!","options"),o); return false; } @@ -177,7 +177,7 @@ bool NickServRuleEditor::validate() if(s.isEmpty()) { - QMessageBox::warning(this,m,__tr2qs_ctx("The Message Regexp can't be empty!<br>You must put at least * there.","options"),o); + QMessageBox::warning(this,m,__tr2qs_ctx("The message regexp can't be empty!<br>You must put at least * there.","options"),o); return false; } @@ -185,7 +185,7 @@ bool NickServRuleEditor::validate() if(s.isEmpty()) { - QMessageBox::warning(this,m,__tr2qs_ctx("The Identify Command can't be empty!","options"),o); + QMessageBox::warning(this,m,__tr2qs_ctx("The identify command can't be empty!","options"),o); return false; } @@ -241,7 +241,7 @@ OptionsWidget_nickServ::OptionsWidget_nickServ(QWidget * parent) QStringList columnLabels; columnLabels.append(__tr2qs_ctx("Nickname","options")); - columnLabels.append(__tr2qs_ctx("Server mask","options")); + columnLabels.append(__tr2qs_ctx("Server Mask","options")); columnLabels.append(__tr2qs_ctx("NickServ Mask","options")); columnLabels.append(__tr2qs_ctx("NickServ Request Mask","options")); columnLabels.append(__tr2qs_ctx("Identify Command","options")); diff --git a/src/modules/options/OptionsWidget_servers.cpp b/src/modules/options/OptionsWidget_servers.cpp index 5e7ea5cd7..830be8c35 100644 --- a/src/modules/options/OptionsWidget_servers.cpp +++ b/src/modules/options/OptionsWidget_servers.cpp @@ -171,7 +171,7 @@ IrcNetworkDetailsWidget::IrcNetworkDetailsWidget(QWidget * par,KviIrcNetwork * n KviTalToolTip::add(m_pNickEditor,__tr2qs_ctx("<center>You can specify a \"special\" <b>nickname</b> that will be used to log in to the servers on this network.<br>" \ "If this field is left empty (most common case), the default nickname (specified in the \"Identity\" settings) will be used.</center>","options")); - l = new QLabel(__tr2qs_ctx("Alt.Nickname:","options"),gbox); + l = new QLabel(__tr2qs_ctx("Alt.nickname:","options"),gbox); pPropertiesBoxLayout->addWidget(l,3,0); m_pAlternativeNickEditor = new QLineEdit(gbox); @@ -196,7 +196,7 @@ IrcNetworkDetailsWidget::IrcNetworkDetailsWidget(QWidget * par,KviIrcNetwork * n //server encoding - l = new QLabel(__tr2qs_ctx("Server Encoding:","options"),tab); + l = new QLabel(__tr2qs_ctx("Server encoding:","options"),tab); gl->addWidget(l,1,0); m_pEncodingEditor = new QComboBox(tab); m_pEncodingEditor->setDuplicatesEnabled(false); @@ -208,7 +208,7 @@ IrcNetworkDetailsWidget::IrcNetworkDetailsWidget(QWidget * par,KviIrcNetwork * n //text encoding - l = new QLabel(__tr2qs_ctx("Text Encoding:","options"),tab); + l = new QLabel(__tr2qs_ctx("Text encoding:","options"),tab); gl->addWidget(l,2,0); m_pTextEncodingEditor = new QComboBox(tab); m_pTextEncodingEditor->setDuplicatesEnabled(false); @@ -266,7 +266,7 @@ IrcNetworkDetailsWidget::IrcNetworkDetailsWidget(QWidget * par,KviIrcNetwork * n if(n->autoJoinChannelList()) m_lstChannels = *(n->autoJoinChannelList()); m_pChannelListSelector = new KviChannelListSelector(tab, - __tr2qs_ctx("Channels to join automatically upon connect:","options"),&m_lstChannels,true); + __tr2qs_ctx("Channels to Join Automatically Upon Connect","options"),&m_lstChannels,true); KviTalToolTip::add(m_pChannelListSelector,__tr2qs_ctx("<center>Here you can set a list of channels to be joined automatically " \ "after a connection to a server in this network has been established. To add a channel, type its name in the " \ @@ -590,7 +590,7 @@ IrcServerDetailsWidget::IrcServerDetailsWidget(QWidget * par,KviIrcServer * s) "If this field is left empty (most common case), KVIrc will first look if a nickname is specified " \ "for the network that this server belongs to, and if that is empty then the default nickname (specified in the \"Identity\" settings) will be used.</center>","options")); - l = new QLabel(__tr2qs_ctx("Alt.Nickname:","options"),gbox); + l = new QLabel(__tr2qs_ctx("Alt.nickname:","options"),gbox); pPropertiesBoxLayout->addWidget(l,3,0); m_pAlternativeNickEditor = new QLineEdit(gbox); @@ -635,7 +635,7 @@ IrcServerDetailsWidget::IrcServerDetailsWidget(QWidget * par,KviIrcServer * s) m_pSMode->setEnabled(bHasUmode); m_pSMode->setChecked(bHasUmode ? bool(s->initUMode().contains('s',Qt::CaseInsensitive)) : bool(szDefUMode.contains('s',Qt::CaseInsensitive))); - m_pWMode = new QCheckBox(__tr2qs_ctx("Wallops (+w)","options"),gbox); + m_pWMode = new QCheckBox(__tr2qs_ctx("WALLOPS (+w)","options"),gbox); m_pWMode->setEnabled(bHasUmode); m_pWMode->setChecked(bHasUmode ? bool(s->initUMode().contains('w',Qt::CaseInsensitive)) : bool(szDefUMode.contains('w',Qt::CaseInsensitive))); @@ -750,7 +750,7 @@ IrcServerDetailsWidget::IrcServerDetailsWidget(QWidget * par,KviIrcServer * s) //server encoding - l = new QLabel(__tr2qs_ctx("Protocol Encoding:","options"),tab); + l = new QLabel(__tr2qs_ctx("Protocol encoding:","options"),tab); gl->addWidget(l,iRow,0); m_pEncodingEditor = new QComboBox(tab); m_pEncodingEditor->setDuplicatesEnabled(false); @@ -764,7 +764,7 @@ IrcServerDetailsWidget::IrcServerDetailsWidget(QWidget * par,KviIrcServer * s) //text encoding - l = new QLabel(__tr2qs_ctx("Text Encoding:","options"),tab); + l = new QLabel(__tr2qs_ctx("Text encoding:","options"),tab); gl->addWidget(l,iRow,0); m_pTextEncodingEditor = new QComboBox(tab); m_pTextEncodingEditor->setDuplicatesEnabled(false); @@ -800,7 +800,7 @@ IrcServerDetailsWidget::IrcServerDetailsWidget(QWidget * par,KviIrcServer * s) iRow++; - l = new QLabel(__tr2qs_ctx("Proxy Server:","options"),tab); + l = new QLabel(__tr2qs_ctx("Proxy server:","options"),tab); gl->addWidget(l,iRow,0); m_pProxyEditor = new QComboBox(tab); gl->addWidget(m_pProxyEditor,iRow,1); @@ -809,7 +809,7 @@ IrcServerDetailsWidget::IrcServerDetailsWidget(QWidget * par,KviIrcServer * s) "KVirc will connect to this server without proxy. You can define new proxy server in global options' \"Proxy servers\" menu.</center>","options")); m_pProxyEditor->addItem(__tr2qs_ctx("Default","options")); - m_pProxyEditor->addItem(__tr2qs_ctx("Direct connection","options")); + m_pProxyEditor->addItem(__tr2qs_ctx("Direct Connection","options")); KviPointerList<KviProxy> * proxylist = g_pProxyDataBase->proxyList(); for(KviProxy * p = proxylist->first();p;p = proxylist->next()) @@ -839,7 +839,7 @@ IrcServerDetailsWidget::IrcServerDetailsWidget(QWidget * par,KviIrcServer * s) if(s->autoJoinChannelList()) m_lstChannels = *(s->autoJoinChannelList()); m_pChannelListSelector = new KviChannelListSelector(tab, - __tr2qs_ctx("Channels to join automatically upon connect:","options"),&m_lstChannels,true); + __tr2qs_ctx("Channels to Join Automatically Upon Connect","options"),&m_lstChannels,true); KviTalToolTip::add(m_pChannelListSelector,__tr2qs_ctx("<center>Here you can set a list of channels to be joined automatically " \ "after a connection to this server has been established. To add a channel, type its name in the " \ "text input below and click \"<b>Add</b>\".</center>","options")); @@ -930,14 +930,14 @@ IrcServerDetailsWidget::IrcServerDetailsWidget(QWidget * par,KviIrcServer * s) "If you enable the proper global option in the Connection/SSL tab and fill the SASL Nickname and SASL Password fields in this page, the SASL protocol will be used for this server if available.</center>","options")); m_pEnableSASLCheck->setChecked(s->enabledSASL()); - l = new QLabel(__tr2qs_ctx("SASL Nickname:","options"),pSASLGroup); + l = new QLabel(__tr2qs_ctx("SASL nickname:","options"),pSASLGroup); pSASLLayout->addWidget(l,1,0); m_pSaslNickEditor = new QLineEdit(pSASLGroup); m_pSaslNickEditor->setText(s->saslNick()); KviTalToolTip::add(m_pSaslNickEditor,__tr2qs_ctx("<center>If you want to enable SASL authentication, insert your nickname here.</center>","options")); pSASLLayout->addWidget(m_pSaslNickEditor,1,1); - l = new QLabel(__tr2qs_ctx("SASL Password:","options"),pSASLGroup); + l = new QLabel(__tr2qs_ctx("SASL password:","options"),pSASLGroup); pSASLLayout->addWidget(l,2,0); m_pSaslPassEditor = new KviPasswordLineEdit(pSASLGroup); // <---- ????? m_pSaslPassEditor->setText(s->saslPass()); @@ -950,7 +950,7 @@ IrcServerDetailsWidget::IrcServerDetailsWidget(QWidget * par,KviIrcServer * s) iRow++; - l = new QLabel(__tr2qs_ctx("Link Filter:","options"),tab); + l = new QLabel(__tr2qs_ctx("Link filter:","options"),tab); gl->addWidget(l,iRow,0); m_pLinkFilterEditor = new QComboBox(tab); m_pLinkFilterEditor->setEditable(true); @@ -1441,7 +1441,7 @@ OptionsWidget_servers::OptionsWidget_servers(QWidget * parent) // (or we'll get a crash at commit() time...). QObject::connect(m_pShowThisDialogAtStartupSelector,SIGNAL(destroyed()),this,SLOT(slotShowThisDialogAtStartupSelectorDestroyed())); - KviTalToolTip::add(m_pShowThisDialogAtStartupSelector,__tr2qs_ctx("<center>If this option is enabled, the Servers dialog will appear every time you start KVIrc</center>","options")); + KviTalToolTip::add(m_pShowThisDialogAtStartupSelector,__tr2qs_ctx("<center>If this option is enabled, the servers dialog will appear every time you start KVIrc</center>","options")); } new QShortcut(Qt::Key_Escape, parent, SLOT(close())); |
