From a44956a385b183beb774409b7b437fcde6587429 Mon Sep 17 00:00:00 2001 From: Elvio Basello Date: Fri, 24 Oct 2008 19:18:46 +0000 Subject: fixed typos git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2775 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/objects/class_file.cpp | 4 ++-- src/modules/objects/class_multilineedit.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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; } -- cgit v1.3.1-10-gc9f91