diff options
| author | 2008-10-24 19:18:46 +0000 | |
|---|---|---|
| committer | 2008-10-24 19:18:46 +0000 | |
| commit | a44956a385b183beb774409b7b437fcde6587429 (patch) | |
| tree | 0e80819ce05537da5ac66364fe021a344de1db78 /src/modules/objects | |
| parent | implemented #269 (diff) | |
| download | KVIrc-a44956a385b183beb774409b7b437fcde6587429.tar.gz KVIrc-a44956a385b183beb774409b7b437fcde6587429.tar.bz2 KVIrc-a44956a385b183beb774409b7b437fcde6587429.zip | |
fixed typos
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2775 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects')
| -rw-r--r-- | src/modules/objects/class_file.cpp | 4 | ||||
| -rw-r--r-- | src/modules/objects/class_multilineedit.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/objects/class_file.cpp b/src/modules/objects/class_file.cpp index 823bde943..f3c430005 100644 --- a/src/modules/objects/class_file.cpp +++ b/src/modules/objects/class_file.cpp @@ -316,7 +316,7 @@ KVSO_CLASS_FUNCTION(file,putch) KVSO_PARAMETERS_BEGIN(c) KVSO_PARAMETER("char",KVS_PT_STRING,0,szChar) KVSO_PARAMETERS_END(c) - if (szChar.length()>1)c->warning(__tr2qs_ctx("Argument to long, using only first char","objects")); + if (szChar.length()>1)c->warning(__tr2qs_ctx("Argument too long, using only first char","objects")); const char *ch=szChar.toUtf8().data(); if (!m_pFile->putChar(ch[0])) c->warning(__tr2qs_ctx("Write error occured!","objects")); return true; @@ -513,7 +513,7 @@ KVSO_CLASS_FUNCTION(file,writeBlock) else { if (!pVariantData->isString()){ - c->warning(__tr2qs_ctx("Block parameter must been a string or a memorybufferobject","objects")); + c->warning(__tr2qs_ctx("Block parameter must been a string or a memorybuffer object","objects")); return true; } QString szBlock; diff --git a/src/modules/objects/class_multilineedit.cpp b/src/modules/objects/class_multilineedit.cpp index 781675a6b..a1c793a62 100644 --- a/src/modules/objects/class_multilineedit.cpp +++ b/src/modules/objects/class_multilineedit.cpp @@ -1128,14 +1128,14 @@ bool KviKvsObject_textedit::functionloadFile(KviKvsObjectFunctionCall * c) KVSO_PARAMETERS_END(c) if ( !QFile::exists(szFile)) { - c->warning(__tr2qs(" I can't find the specified file '%Q'."),&szFile); + c->warning(__tr2qs("I can't find the specified file '%Q'."),&szFile); return true; } QFile file( szFile ); if ( !file.open( QIODevice::ReadOnly ) ) { - c->warning(__tr2qs(" I cannot read the file %Q'."),&szFile); + c->warning(__tr2qs("I cannot read the file '%Q'."),&szFile); return true; } |
