diff options
| author | 2011-01-10 18:36:59 +0000 | |
|---|---|---|
| committer | 2011-01-10 18:36:59 +0000 | |
| commit | 78735b180c2ba56fa1cf4fd578726d457626e80a (patch) | |
| tree | 12b359e1e59b7585dc89878e2eeae54982baa4e1 /src/modules/aliaseditor/AliasEditorWindow.cpp | |
| parent | updated perlcore's xs include, hopefully fixing #1068 (diff) | |
| download | KVIrc-78735b180c2ba56fa1cf4fd578726d457626e80a.tar.gz KVIrc-78735b180c2ba56fa1cf4fd578726d457626e80a.tar.bz2 KVIrc-78735b180c2ba56fa1cf4fd578726d457626e80a.zip | |
killed some QString helpers. Pay attention to the localizations: format strings have changed!;
updated translation files;
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5328 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/aliaseditor/AliasEditorWindow.cpp')
| -rw-r--r-- | src/modules/aliaseditor/AliasEditorWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/aliaseditor/AliasEditorWindow.cpp b/src/modules/aliaseditor/AliasEditorWindow.cpp index a3924d71d..db26d61c5 100644 --- a/src/modules/aliaseditor/AliasEditorWindow.cpp +++ b/src/modules/aliaseditor/AliasEditorWindow.cpp @@ -747,7 +747,7 @@ void AliasEditorWidget::exportSelectionInSinglesFiles(KviPointerList<AliasEditor if (KviFileUtils::fileExists(szCompletePath) && !bReplaceAll) { QString szMsg; - KviQString::sprintf(szMsg,__tr2qs_ctx("The file \"%Q\" exists. Do you want to replace it ?","editor"),&szFileName); + szMsg = QString(__tr2qs_ctx("The file \"%1\" exists. Do you want to replace it?","editor")).arg(szFileName); int ret = QMessageBox::question(this,__tr2qs_ctx("Replace file","editor"),szMsg,__tr2qs_ctx("Yes","editor"),__tr2qs_ctx("Yes to All","editor"),__tr2qs_ctx("No","editor")); if (ret!=2) { @@ -923,9 +923,9 @@ bool AliasEditorWidget::removeItem(AliasEditorTreeWidgetItem *it,bool * pbYesToA if(!*pbYesToAll) { if(it->isAlias()) - KviQString::sprintf(szMsg,__tr2qs_ctx("Do you really want to remove the alias \"%Q\" ?","editor"),&szName); + szMsg = QString(__tr2qs_ctx("Do you really want to remove the alias \"%1\"?","editor")).arg(szName); else { - KviQString::sprintf(szMsg,__tr2qs_ctx("Do you really want to remove the namespace \"%Q\" ?","editor"),&szName); + szMsg = QString(__tr2qs_ctx("Do you really want to remove the namespace \"%1\"?","editor")).arg(szName); szMsg += "<br>"; szMsg += __tr2qs_ctx("Please note that all the children items will be deleted too.","editor"); } |
