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/raweditor | |
| 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/raweditor')
| -rw-r--r-- | src/modules/raweditor/RawEditorWindow.cpp | 18 | ||||
| -rw-r--r-- | src/modules/raweditor/libkviraweditor.cpp | 6 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/modules/raweditor/RawEditorWindow.cpp b/src/modules/raweditor/RawEditorWindow.cpp index 02dffde52..18349c2fd 100644 --- a/src/modules/raweditor/RawEditorWindow.cpp +++ b/src/modules/raweditor/RawEditorWindow.cpp @@ -85,7 +85,7 @@ RawEditorWidget::RawEditorWidget(QWidget * par) m_pTreeWidget->setColumnCount(1); - m_pTreeWidget->setHeaderLabel(__tr2qs_ctx("Raw Event","editor")); + m_pTreeWidget->setHeaderLabel(__tr2qs_ctx("RAW Event","editor")); // m_pTreeWidget->setMultiSelection(false); m_pTreeWidget->setSelectionMode(QAbstractItemView::SingleSelection); @@ -97,12 +97,12 @@ RawEditorWidget::RawEditorWidget(QWidget * par) connect(m_pTreeWidget,SIGNAL(customContextMenuRequested(const QPoint &)),this,SLOT(customContextMenuRequested(const QPoint &))); - QPushButton * pb = new QPushButton(__tr2qs_ctx("&Export All To...","editor"),boxi); + QPushButton * pb = new QPushButton(__tr2qs_ctx("&Export All to...","editor"),boxi); connect(pb,SIGNAL(clicked()),this,SLOT(exportAllEvents())); KviTalVBox * box = new KviTalVBox(spl); m_pNameEditor = new QLineEdit(box); - m_pNameEditor->setToolTip(__tr2qs_ctx("Edit the raw event handler name.","editor")); + m_pNameEditor->setToolTip(__tr2qs_ctx("Edit the RAW event handler name.","editor")); m_pEditor = KviScriptEditor::createInstance(box); m_bOneTimeSetupDone = false; @@ -165,7 +165,7 @@ void RawEditorWidget::customContextMenuRequested(const QPoint &pos) this,SLOT(removeCurrentHandler())); m_pContextPopup->addAction( *(g_pIconManager->getSmallIcon(KviIconManager::Floppy)), - __tr2qs_ctx("&Export Handler To...","editor"), + __tr2qs_ctx("&Export Handler to...","editor"), this,SLOT(exportCurrentHandler())); } else { m_pContextPopup->addAction( @@ -178,7 +178,7 @@ void RawEditorWidget::customContextMenuRequested(const QPoint &pos) m_pContextPopup->addSeparator(); m_pContextPopup->addAction( *(g_pIconManager->getSmallIcon(KviIconManager::RawEvent)), - __tr2qs_ctx("&Add Raw Event...","editor"), + __tr2qs_ctx("&Add RAW Event...","editor"), this,SLOT(addRaw())); m_pContextPopup->popup(mapToGlobal(QPoint(pos.x()+15,pos.y()))); } @@ -218,7 +218,7 @@ void RawEditorWidget::addRaw() { bool bOk = false; - int iIdx = QInputDialog::getInt(this,__tr2qs_ctx("New Raw Event","editor"),__tr2qs_ctx("Enter the numeric code of the message (0-999)","editor"),0,0,999,1,&bOk); + int iIdx = QInputDialog::getInt(this,__tr2qs_ctx("New RAW Event","editor"),__tr2qs_ctx("Enter the numeric code of the message (0-999)","editor"),0,0,999,1,&bOk); if(!bOk)return; @@ -363,7 +363,7 @@ void RawEditorWidget::currentItemChanged(QTreeWidgetItem * it,QTreeWidgetItem *) m_pNameEditor->setEnabled(false); m_pNameEditor->setText(""); m_pEditor->setEnabled(false); - QString szTmp = QString(__tr2qs_ctx("\n\nRaw Event:\n%1","editor")).arg(((RawHandlerTreeWidgetItem *)it)->text(0)); + QString szTmp = QString(__tr2qs_ctx("\n\nRAW Event:\n%1","editor")).arg(((RawHandlerTreeWidgetItem *)it)->text(0)); m_pEditor->setText(szTmp); } } @@ -423,7 +423,7 @@ void RawEditorWidget::exportCurrentHandler() if(!KviFileUtils::writeFile(szFile,szOut)) { - QMessageBox::warning(this,__tr2qs_ctx("Write Failed - KVIrc","editor"),__tr2qs_ctx("Unable to write to the raw event file.","editor"),__tr2qs_ctx("&OK","editor")); + QMessageBox::warning(this,__tr2qs_ctx("Write Failed - KVIrc","editor"),__tr2qs_ctx("Unable to write to the RAW event file.","editor"),__tr2qs_ctx("&OK","editor")); } } @@ -458,7 +458,7 @@ void RawEditorWidget::exportAllEvents() if(!KviFileUtils::writeFile(szFile,out)) { - QMessageBox::warning(this,__tr2qs_ctx("Write Failed - KVIrc","editor"),__tr2qs_ctx("Unable to write to the raw events file.","editor"),__tr2qs_ctx("OK","editor")); + QMessageBox::warning(this,__tr2qs_ctx("Write Failed - KVIrc","editor"),__tr2qs_ctx("Unable to write to the RAW events file.","editor"),__tr2qs_ctx("OK","editor")); } } diff --git a/src/modules/raweditor/libkviraweditor.cpp b/src/modules/raweditor/libkviraweditor.cpp index 2f1222b30..06a9060ca 100644 --- a/src/modules/raweditor/libkviraweditor.cpp +++ b/src/modules/raweditor/libkviraweditor.cpp @@ -39,11 +39,11 @@ RawEditorWindow * g_pRawEditorWindow = 0; @title: raweditor.open @short: - Shows the raw events editor + Shows the RAW events editor @syntax: toolbareditor.open @description: - Opens the script raw events editor dialog. + Opens the script RAW events editor dialog. */ static bool raweditor_kvs_cmd_open(KviKvsModuleCommandCall *) @@ -81,7 +81,7 @@ KVIRC_MODULE( "RawEditor", // module name "4.0.0", // module version "Copyright (C) 2002 Szymon Stefanek (pragma at kvirc dot net)", // author & (C) - "Editor for the script raw events", + "Editor for the script RAW events", raweditor_module_init, raweditor_module_can_unload, 0, |
