KMessageBox::error(this,i18n("The configuration could not be written, because one setting is incomplete:\n%1Please correct this issue.").arg(issues));
KMessageBox::error(this,i18n("The configuration could not be written, because one setting is incomplete:\n%1Please correct this issue.").tqarg(issues));
}
else
{
KMessageBox::error(this,i18n("The configuration could not be written, because %1 settings are incomplete:\n%1Please correct these issues.").arg(index).arg(issues));
KMessageBox::error(this,i18n("The configuration could not be written, because %1 settings are incomplete:\n%1Please correct these issues.").tqarg(index).tqarg(issues));
KMessageBox::error(0,i18n("The share \"%1\" could not be mounted.\nDetailed information cannot be provided because there was no error message.").arg(text));
KMessageBox::error(0,i18n("The share \"%1\" could not be mounted.\nDetailed information cannot be provided because there was no error message.").tqarg(text));
}
else
{
KMessageBox::detailedError(0,i18n("The share \"%1\" could not be mounted.\nRead the error message under \"Details\" to find out more.").arg(text),details);
KMessageBox::detailedError(0,i18n("The share \"%1\" could not be mounted.\nRead the error message under \"Details\" to find out more.").tqarg(text),details);
KMessageBox::error(0,i18n("The share \"%1\" could not be unmounted.\nDetailed information cannot be provided because there was no error message.").arg(text));
KMessageBox::error(0,i18n("The share \"%1\" could not be unmounted.\nDetailed information cannot be provided because there was no error message.").tqarg(text));
}
else
{
KMessageBox::detailedError(0,i18n("The share \"%1\" could not be unmounted.\nRead the error message under \"Details\" to find out more.").arg(text),details);
KMessageBox::detailedError(0,i18n("The share \"%1\" could not be unmounted.\nRead the error message under \"Details\" to find out more.").tqarg(text),details);
}
break;
}
caseERROR_FILE_NOT_FOUND:
{
KMessageBox::error(0,i18n("The file \"%1\" could not be found.").arg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be found.").tqarg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be read.").arg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be read.").tqarg(text));
}
else
{
KMessageBox::detailedError(0,i18n("The file \"%1\" could not be read.\nRead the error message under \"Details\" to find out more.").arg(text),details);
KMessageBox::detailedError(0,i18n("The file \"%1\" could not be read.\nRead the error message under \"Details\" to find out more.").tqarg(text),details);
KMessageBox::error(0,i18n("Either your PATH environment variable is not set properly or there are the following programs missing on your system:\n%1\nPlease correct this and restart Smb4K.").arg(text));
KMessageBox::error(0,i18n("Either your PATH environment variable is not set properly or there are the following programs missing on your system:\n%1\nPlease correct this and restart Smb4K.").tqarg(text));
break;
}
caseERROR_LOCKED:
{
KMessageBox::error(0,i18n("The file \"%1\" is currently being edited by user %2. To avoid any problems, access to this file is denied at the moment. Please try again later.").arg(text.section(":",1,1),text.section(":",0,0)));
KMessageBox::error(0,i18n("The file \"%1\" is currently being edited by user %2. To avoid any problems, access to this file is denied at the moment. Please try again later.").tqarg(text.section(":",1,1),text.section(":",0,0)));
break;
}
caseERROR_MKDIR_FAILED:
{
KMessageBox::error(0,i18n("The directory \"%1\" could not be created.").arg(text));
KMessageBox::error(0,i18n("The directory \"%1\" could not be created.").tqarg(text));
break;
}
caseERROR_WRITING_FILE:
{
KMessageBox::error(0,i18n("The file \"%1\" could not be written.").arg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be written.").tqarg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be printed.\nDetailed information cannot be provided because there was no error message.").arg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be printed.\nDetailed information cannot be provided because there was no error message.").tqarg(text));
}
else
{
KMessageBox::detailedError(0,i18n("The file \"%1\" could not be printed.\nRead the error message under \"Details\" to find out more.").arg(text),details);
KMessageBox::detailedError(0,i18n("The file \"%1\" could not be printed.\nRead the error message under \"Details\" to find out more.").tqarg(text),details);
KMessageBox::error(0,i18n("The temporary directory \"%1\" could not be created.\nDetailed information cannot be provided because there was no error message.").arg(text));
KMessageBox::error(0,i18n("The temporary directory \"%1\" could not be created.\nDetailed information cannot be provided because there was no error message.").tqarg(text));
}
else
{
KMessageBox::detailedError(0,i18n("The temporary directory \"%1\" could not be created.\nRead the error message under \"Details\" to find out more.").arg(text),details);
KMessageBox::detailedError(0,i18n("The temporary directory \"%1\" could not be created.\nRead the error message under \"Details\" to find out more.").tqarg(text),details);
KMessageBox::error(0,i18n("The temporary file \"%1\" could not be created.\nDetailed information cannot be provided because there was no error message.").arg(text));
KMessageBox::error(0,i18n("The temporary file \"%1\" could not be created.\nDetailed information cannot be provided because there was no error message.").tqarg(text));
}
else
{
KMessageBox::detailedError(0,i18n("The temporary file \"%1\" could not be created.\nRead the error message under \"Details\" to find out more.").arg(text),details);
KMessageBox::detailedError(0,i18n("The temporary file \"%1\" could not be created.\nRead the error message under \"Details\" to find out more.").tqarg(text),details);
}
break;
}
caseERROR_DIRECTORY_NOT_FOUND:
{
KMessageBox::error(0,i18n("The directory \"%1\" could not be found.").arg(text));
KMessageBox::error(0,i18n("The directory \"%1\" could not be found.").tqarg(text));
break;
}
caseERROR_FILE_IS_IRREGULAR:
{
KMessageBox::error(0,i18n("The file \"%1\" is irregular. That means it is either a symlink, a fifo, or something similar. This could indicate that someone is trying to exploit your system. Please inform your system administrator.").arg(text));
KMessageBox::error(0,i18n("The file \"%1\" is irregular. That means it is either a symlink, a fifo, or something similar. This could indicate that someone is trying to exploit your system. Please inform your system administrator.").tqarg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be opened.").arg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be opened.").tqarg(text));
}
else
{
KMessageBox::detailedError(0,i18n("The file \"%1\" could not be opened.\nRead the error message under \"Details\" to find out more.").arg(text),details);
KMessageBox::detailedError(0,i18n("The file \"%1\" could not be opened.\nRead the error message under \"Details\" to find out more.").tqarg(text),details);
KMessageBox::error(0,i18n("The file \"%1\" could not be closed.").arg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be closed.").tqarg(text));
}
else
{
KMessageBox::detailedError(0,i18n("The file \"%1\" could not be closed.\nRead the error message under \"Details\" to find out more.").arg(text),details);
KMessageBox::detailedError(0,i18n("The file \"%1\" could not be closed.\nRead the error message under \"Details\" to find out more.").tqarg(text),details);
}
break;
}
caseERROR_NET_COMMAND:
{
KMessageBox::error(0,i18n("The list of arguments for the \"net\" command could not be assembled.\nAt the moment it reads: %1").arg(text));
KMessageBox::error(0,i18n("The list of arguments for the \"net\" command could not be assembled.\nAt the moment it reads: %1").tqarg(text));
KMessageBox::information(0,i18n("The mimetype \"%1\" is not supported. Please convert the file to PostScript or PDF.").arg(text));
KMessageBox::information(0,i18n("The mimetype \"%1\" is not supported. Please convert the file to PostScript or PDF.").tqarg(text));
break;
}
caseINFO_DISABLE_SUID_FEATURE:
{
KMessageBox::information(0,i18n("You previously chose to use \"%1\", but now it is missing on your system. Smb4K will disable this feature.").arg(text));
KMessageBox::information(0,i18n("You previously chose to use \"%1\", but now it is missing on your system. Smb4K will disable this feature.").tqarg(text));
break;
}
caseINFO_BOOKMARK_LABEL_IN_USE:
{
KMessageBox::information(0,i18n("The label \"%1\" is used more than once. It will automatically be renamed for bookmark \"%2\" to avoid confusion.").arg(text,details));
KMessageBox::information(0,i18n("The label \"%1\" is used more than once. It will automatically be renamed for bookmark \"%2\" to avoid confusion.").tqarg(text,details));
if(KMessageBox::questionYesNo(0,i18n("Do you really want to force the unmounting of this share?"),TQString(),KStdGuiItem::yes(),KStdGuiItem::no(),"Dont Ask Forced",KMessageBox::Notify)==KMessageBox::Yes)
if(KMessageBox::questionYesNo(0,i18n("Do you really want to force the unmounting of this share?"),TQString(),KStdGuiItem::yes(),KStdGuiItem::no(),"Dont Ask Forced",KMessageBox::Notify)==KMessageBox::Yes)