diff options
| author | 2015-12-09 16:03:50 +0000 | |
|---|---|---|
| committer | 2015-12-19 02:40:23 +0000 | |
| commit | c74db9aba4814ccb4dc0ac1e4c7e4ef7589f50a9 (patch) | |
| tree | 1be38d394b47be8408585a00b2c67819bcf37082 /src/modules/dcc | |
| parent | src/modules: typos, consistency capitalize, fomatting and indenting fixes (diff) | |
| download | KVIrc-c74db9aba4814ccb4dc0ac1e4c7e4ef7589f50a9.tar.gz KVIrc-c74db9aba4814ccb4dc0ac1e4c7e4ef7589f50a9.tar.bz2 KVIrc-c74db9aba4814ccb4dc0ac1e4c7e4ef7589f50a9.zip | |
various files: typos/consistency and capitalization see notes below.
https://techbase.kde.org/Projects/Usability/HIG/Capitalization
This was just done last minute over some notes I had made during earlier similar fixes.
* dont capitalize prepositions/conjunctions with less than 5 letters + fix wrong plural.
* freenode is all lowercase instance only.
* tooltips are not Camel Case capitalization style either.
* some centered text on a dialog when all the etxt is left aligned looks off, tootips we can give a pass to.
* Tree items are Camel Case
* Typos in Unknow channel modes
* more tooltips in the Channel Mode/Ban Masks/Invite but flawed design on these
The tooltips text doubles up as title one isnt capitalized and the other is...
So now none are in this area only since unlike toolbars thers no test display here and its passable.
Alternative is to fix these dialogs and toolbars and tbh I cant do it.
* cannot vs can't : these are consistency fixes for strings and debug messages only.
* about dialog group titles "Runtime Info" "Build Info" are Camel Cased as per capitalization guidelines, but label are like all other labels.
s spaces
tyyt
Diffstat (limited to 'src/modules/dcc')
| -rw-r--r-- | src/modules/dcc/DccChatWindow.cpp | 2 | ||||
| -rw-r--r-- | src/modules/dcc/DccFileTransfer.cpp | 2 | ||||
| -rw-r--r-- | src/modules/dcc/DccVideoWindow.cpp | 4 | ||||
| -rw-r--r-- | src/modules/dcc/DccVoiceWindow.cpp | 2 | ||||
| -rw-r--r-- | src/modules/dcc/libkvidcc.cpp | 26 | ||||
| -rw-r--r-- | src/modules/dcc/requests.cpp | 8 |
6 files changed, 22 insertions, 22 deletions
diff --git a/src/modules/dcc/DccChatWindow.cpp b/src/modules/dcc/DccChatWindow.cpp index 3c9f28fb6..9a65e9994 100644 --- a/src/modules/dcc/DccChatWindow.cpp +++ b/src/modules/dcc/DccChatWindow.cpp @@ -397,7 +397,7 @@ void DccChatWindow::ownAction(const QString &text) m_pSlaveThread->sendRawData(buf.ptr(),buf.len()); output(KVI_OUT_ACTION,"%Q %Q",&(m_pDescriptor->szLocalNick),&szTmpBuffer); } else { - output(KVI_OUT_SYSTEMWARNING,__tr2qs_ctx("Cannot send data: no active connection","dcc")); + output(KVI_OUT_SYSTEMWARNING,__tr2qs_ctx("Can't send data: no active connection","dcc")); } } diff --git a/src/modules/dcc/DccFileTransfer.cpp b/src/modules/dcc/DccFileTransfer.cpp index 536c8d7cd..fbc4751e7 100644 --- a/src/modules/dcc/DccFileTransfer.cpp +++ b/src/modules/dcc/DccFileTransfer.cpp @@ -2306,7 +2306,7 @@ DccFileTransferBandwidthDialog::DccFileTransferBandwidthDialog(QWidget * pParent QString szText = __tr2qs_ctx("Configure Bandwidth for DCC Transfer %1","dcc").arg(t->id()); setWindowTitle(szText); - szText = t->isFileUpload() ? __tr2qs_ctx("Limit upload bandwidth to","dcc") : __tr2qs_ctx("Limit download bandwidth to","dcc"); + szText = t->isFileUpload() ? __tr2qs_ctx("Limit upload bandwidth to:","dcc") : __tr2qs_ctx("Limit download bandwidth to:","dcc"); m_pEnableLimitCheck = new QCheckBox(szText,this); g->addWidget(m_pEnableLimitCheck,0,0); diff --git a/src/modules/dcc/DccVideoWindow.cpp b/src/modules/dcc/DccVideoWindow.cpp index 8a7440949..546043804 100644 --- a/src/modules/dcc/DccVideoWindow.cpp +++ b/src/modules/dcc/DccVideoWindow.cpp @@ -669,7 +669,7 @@ void DccVideoWindow::ownMessage(const QString &text, bool bUserFeedback) { if(!m_pSlaveThread) { - output(KVI_OUT_SYSTEMWARNING,__tr2qs_ctx("Cannot send data: no active connection","dcc")); + output(KVI_OUT_SYSTEMWARNING,__tr2qs_ctx("Can't send data: no active connection","dcc")); return; } @@ -772,7 +772,7 @@ void DccVideoWindow::ownAction(const QString &text) m_tmpTextDataOut.append(buf.ptr(), buf.len()); output(KVI_OUT_ACTION,"%Q %Q",&(m_pDescriptor->szLocalNick),&szTmpBuffer); } else { - output(KVI_OUT_SYSTEMWARNING,__tr2qs_ctx("Cannot send data: no active connection","dcc")); + output(KVI_OUT_SYSTEMWARNING,__tr2qs_ctx("Can't send data: no active connection","dcc")); } } diff --git a/src/modules/dcc/DccVoiceWindow.cpp b/src/modules/dcc/DccVoiceWindow.cpp index 470436703..4356a274a 100644 --- a/src/modules/dcc/DccVoiceWindow.cpp +++ b/src/modules/dcc/DccVoiceWindow.cpp @@ -73,7 +73,7 @@ extern DccBroker * g_pDccBroker; //CAN NOT COMPILE :( #define COMPILE_DISABLE_DCC_VOICE #if !defined(COMPILE_ON_WINDOWS) && !defined(COMPILE_ON_MINGW) - #warning "Cannot find the soundcard.h header; you will NOT be able to use DCC Voice" + #warning "Can't find the soundcard.h header; you will NOT be able to use DCC Voice" #endif #endif #endif diff --git a/src/modules/dcc/libkvidcc.cpp b/src/modules/dcc/libkvidcc.cpp index 251d39203..f28686b4f 100644 --- a/src/modules/dcc/libkvidcc.cpp +++ b/src/modules/dcc/libkvidcc.cpp @@ -2718,11 +2718,11 @@ static bool dcc_kvs_fnc_sessionList(KviKvsModuleFunctionCall * c) @title: $dcc.getSSLCertInfo @short: - Returns the requested information about certificates used in an ssl-enabled DCC session + Returns the requested information about certificates used in an SSL enabled DCC session @syntax: $dcc.getSSLCertInfo(<query:string>[,<type:string='remote'>[,<dcc_id:integer>[,<param1:string>]]]) @description: - Returns the requested information about certificates used in an ssl-enabled DCC session.[br] + Returns the requested information about certificates used in an SSL enabled DCC session.[br] The second <type> parameter can be "local" or "remote", and refers to the certificate you want to query the information from; if omitted, it defaults to "remote".[br] If <dcc_id> is omitted then the DCC Session associated with the current window is assumed.[br] @@ -2756,16 +2756,16 @@ static bool dcc_kvs_fnc_sessionList(KviKvsModuleFunctionCall * c) [li]fingerprintDigestStr[/li] [li]fingerprintContents * accepts parameter interpreted as "digest name"[/li] [/ul] - @examples: - [example] - # get a sha256 fingerprint of remote peer's certificate - $dcc.getSSLCertInfo(fingerprintContents,remote,$dcc.session,sha256) - [/example] - @seealso: - [fnc]$certificate[/fnc] - [fnc]$str.evpSign[/fnc] - [fnc]$str.evpVerify[/fnc] - [module:dcc]dcc module[/module] + @examples: + [example] + [comment]# get a sha256 fingerprint of remote peer's certificate[/comment] + $dcc.getSSLCertInfo(fingerprintContents,remote,$dcc.session,sha256) + [/example] + @seealso: + [fnc]$certificate[/fnc] + [fnc]$str.evpSign[/fnc] + [fnc]$str.evpVerify[/fnc] + [module:dcc]dcc module[/module] */ static bool dcc_kvs_fnc_getSSLCertInfo(KviKvsModuleFunctionCall * c) @@ -2979,7 +2979,7 @@ KVIRC_MODULE( "DCC", "4.0.0", "Copyright (C) 2000-2004:\n" \ - " Szymon Stefanek (pragma at kvirc dot net)\n", + "Szymon Stefanek (pragma at kvirc dot net)\n", "DCC extension for KVIrc\n", dcc_module_init, dcc_module_can_unload, diff --git a/src/modules/dcc/requests.cpp b/src/modules/dcc/requests.cpp index ee0fb6429..4d34a8903 100644 --- a/src/modules/dcc/requests.cpp +++ b/src/modules/dcc/requests.cpp @@ -988,7 +988,7 @@ static void dccModuleParseDccVoice(KviDccRequest *dcc) if(!dcc->ctcpMsg->msg->haltOutput()) { dcc->ctcpMsg->msg->console()->output(KVI_OUT_DCCERROR, - __tr2qs_ctx("The above request cannot be accepted: DCC VOICE support not enabled at compilation time ","dcc")); + __tr2qs_ctx("The above request can't be accepted: DCC VOICE support not enabled at compilation time ","dcc")); return; } #endif @@ -998,7 +998,7 @@ static void dccModuleParseDccVoice(KviDccRequest *dcc) if(!dcc->ctcpMsg->msg->haltOutput()) { dcc->ctcpMsg->msg->console()->output(KVI_OUT_DCCERROR, - __tr2qs_ctx("The above request cannot be accepted: unsupported codec '%s'","dcc"),dcc->szParam1.ptr()); + __tr2qs_ctx("The above request can't be accepted: unsupported codec '%s'","dcc"),dcc->szParam1.ptr()); return; } } @@ -1062,7 +1062,7 @@ static void dccModuleParseDccVideo(KviDccRequest *dcc) if(!dcc->ctcpMsg->msg->haltOutput()) { dcc->ctcpMsg->msg->console()->output(KVI_OUT_DCCERROR, - __tr2qs_ctx("The above request cannot be accepted: DCC VIDEO support not enabled at compilation time ","dcc")); + __tr2qs_ctx("The above request can't be accepted: DCC VIDEO support not enabled at compilation time ","dcc")); return; } #else @@ -1072,7 +1072,7 @@ static void dccModuleParseDccVideo(KviDccRequest *dcc) if(!dcc->ctcpMsg->msg->haltOutput()) { dcc->ctcpMsg->msg->console()->output(KVI_OUT_DCCERROR, - __tr2qs_ctx("The above request cannot be accepted: unsupported codec '%s'","dcc"),dcc->szParam1.ptr()); + __tr2qs_ctx("The above request can't be accepted: unsupported codec '%s'","dcc"),dcc->szParam1.ptr()); return; } } |
