diff options
Diffstat (limited to 'kdict/dict.cpp')
-rw-r--r-- | kdict/dict.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdict/dict.cpp b/kdict/dict.cpp index 8e55061c..a58af6f6 100644 --- a/kdict/dict.cpp +++ b/kdict/dict.cpp @@ -204,12 +204,12 @@ void DictAsyncClient::define() job->result = TQString(); if (job->numFetched == 0) { resultAppend("<body>\n<p class=\"heading\">\n"); - resultAppend(i18n("No definitions found for \'%1'.").tqarg(job->query)); + resultAppend(i18n("No definitions found for \'%1'.").arg(job->query)); resultAppend("</p>\n</html></body>"); } else { // html header... resultAppend("<body>\n<p class=\"heading\">\n"); - resultAppend(i18n("No definitions found for \'%1\'. Perhaps you mean:").tqarg(job->query)); + resultAppend(i18n("No definitions found for \'%1\'. Perhaps you mean:").arg(job->query)); resultAppend("</p>\n<table width=\"100%\" cols=2>\n"); TQString lastDb; @@ -591,7 +591,7 @@ void DictAsyncClient::showDbInfo() // html header... resultAppend("<body>\n<p class=\"heading\">\n"); - resultAppend(i18n("Database Information [%1]:").tqarg(job->query)); + resultAppend(i18n("Database Information [%1]:").arg(job->query)); resultAppend("</p>\n<pre><p class=\"definition\">\n"); bool done(false); @@ -1407,7 +1407,7 @@ void DictInterface::clientDone() message = i18n("One definition found"); break; default: - message = i18n("%1 definitions found").tqarg(job->numFetched); + message = i18n("%1 definitions found").arg(job->numFetched); } } else { switch (job->numFetched) { @@ -1418,7 +1418,7 @@ void DictInterface::clientDone() message = i18n(" One definition fetched "); break; default: - message = i18n(" %1 definitions fetched ").tqarg(job->numFetched); + message = i18n(" %1 definitions fetched ").arg(job->numFetched); } } emit stopped(message); @@ -1433,7 +1433,7 @@ void DictInterface::clientDone() message = i18n(" One matching definition found "); break; default: - message = i18n(" %1 matching definitions found ").tqarg(job->numFetched); + message = i18n(" %1 matching definitions found ").arg(job->numFetched); } emit stopped(message); emit matchReady(job->matches); @@ -1451,17 +1451,17 @@ void DictInterface::clientDone() errMsg += job->result; break; case JobData::ErrTimeout: - errMsg = i18n("A delay occurred which exceeded the\ncurrent timeout limit of %1 seconds.\nYou can modify this limit in the Preferences Dialog.").tqarg(global->timeout); + errMsg = i18n("A delay occurred which exceeded the\ncurrent timeout limit of %1 seconds.\nYou can modify this limit in the Preferences Dialog.").arg(global->timeout); break; case JobData::ErrBadHost: - errMsg = i18n("Unable to connect to:\n%1:%2\n\nCannot resolve hostname.").tqarg(job->server).tqarg(job->port); + errMsg = i18n("Unable to connect to:\n%1:%2\n\nCannot resolve hostname.").arg(job->server).arg(job->port); break; case JobData::ErrConnect: - errMsg = i18n("Unable to connect to:\n%1:%2\n\n").tqarg(job->server).tqarg(job->port); + errMsg = i18n("Unable to connect to:\n%1:%2\n\n").arg(job->server).arg(job->port); errMsg += job->result; break; case JobData::ErrRefused: - errMsg = i18n("Unable to connect to:\n%1:%2\n\nThe server refused the connection.").tqarg(job->server).tqarg(job->port); + errMsg = i18n("Unable to connect to:\n%1:%2\n\nThe server refused the connection.").arg(job->server).arg(job->port); break; case JobData::ErrNotAvailable: errMsg = i18n("The server is temporarily unavailable."); @@ -1488,7 +1488,7 @@ void DictInterface::clientDone() errMsg = i18n("No strategies available."); break; case JobData::ErrServerError: - errMsg = i18n("The server sent an unexpected reply:\n\"%1\"\nThis shouldn't happen, please consider\nwriting a bug report").tqarg(job->result); + errMsg = i18n("The server sent an unexpected reply:\n\"%1\"\nThis shouldn't happen, please consider\nwriting a bug report").arg(job->result); break; case JobData::ErrMsgTooLong: errMsg = i18n("The server sent a response with a text line\nthat was too long.\n(RFC 2229: max. 1024 characters/6144 octets)"); |