KMessageBox::error(this,i18n("The configuration could not be written, because one setting is incomplete:\n%1Please correct this issue.").tqarg(issues));
KMessageBox::error(this,i18n("The configuration could not be written, because one setting is incomplete:\n%1Please correct this issue.").arg(issues));
}
}
else
else
{
{
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(this,i18n("The configuration could not be written, because %1 settings are incomplete:\n%1Please correct these issues.").arg(index).arg(issues));
KMessageBox::error(0,i18n("The share \"%1\" could not be mounted.\nDetailed information cannot be provided because there was no error message.").tqarg(text));
KMessageBox::error(0,i18n("The share \"%1\" could not be mounted.\nDetailed information cannot be provided because there was no error message.").arg(text));
}
}
else
else
{
{
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::detailedError(0,i18n("The share \"%1\" could not be mounted.\nRead the error message under \"Details\" to find out more.").arg(text),details);
KMessageBox::error(0,i18n("The share \"%1\" could not be unmounted.\nDetailed information cannot be provided because there was no error message.").tqarg(text));
KMessageBox::error(0,i18n("The share \"%1\" could not be unmounted.\nDetailed information cannot be provided because there was no error message.").arg(text));
}
}
else
else
{
{
KMessageBox::detailedError(0,i18n("The share \"%1\" could not be unmounted.\nRead the error message under \"Details\" to find out more.").tqarg(text),details);
KMessageBox::detailedError(0,i18n("The share \"%1\" could not be unmounted.\nRead the error message under \"Details\" to find out more.").arg(text),details);
}
}
break;
break;
}
}
caseERROR_FILE_NOT_FOUND:
caseERROR_FILE_NOT_FOUND:
{
{
KMessageBox::error(0,i18n("The file \"%1\" could not be found.").tqarg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be found.").arg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be read.").tqarg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be read.").arg(text));
}
}
else
else
{
{
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::detailedError(0,i18n("The file \"%1\" could not be read.\nRead the error message under \"Details\" to find out more.").arg(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.").tqarg(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.").arg(text));
break;
break;
}
}
caseERROR_LOCKED:
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.").tqarg(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.").arg(text.section(":",1,1),text.section(":",0,0)));
break;
break;
}
}
caseERROR_MKDIR_FAILED:
caseERROR_MKDIR_FAILED:
{
{
KMessageBox::error(0,i18n("The directory \"%1\" could not be created.").tqarg(text));
KMessageBox::error(0,i18n("The directory \"%1\" could not be created.").arg(text));
break;
break;
}
}
caseERROR_WRITING_FILE:
caseERROR_WRITING_FILE:
{
{
KMessageBox::error(0,i18n("The file \"%1\" could not be written.").tqarg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be written.").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));
KMessageBox::error(0,i18n("The file \"%1\" could not be printed.\nDetailed information cannot be provided because there was no error message.").arg(text));
}
}
else
else
{
{
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::detailedError(0,i18n("The file \"%1\" could not be printed.\nRead the error message under \"Details\" to find out more.").arg(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.").tqarg(text));
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));
}
}
else
else
{
{
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::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::error(0,i18n("The temporary file \"%1\" could not be created.\nDetailed information cannot be provided because there was no error message.").tqarg(text));
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));
}
}
else
else
{
{
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);
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);
}
}
break;
break;
}
}
caseERROR_DIRECTORY_NOT_FOUND:
caseERROR_DIRECTORY_NOT_FOUND:
{
{
KMessageBox::error(0,i18n("The directory \"%1\" could not be found.").tqarg(text));
KMessageBox::error(0,i18n("The directory \"%1\" could not be found.").arg(text));
break;
break;
}
}
caseERROR_FILE_IS_IRREGULAR:
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.").tqarg(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.").arg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be opened.").tqarg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be opened.").arg(text));
}
}
else
else
{
{
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::detailedError(0,i18n("The file \"%1\" could not be opened.\nRead the error message under \"Details\" to find out more.").arg(text),details);
KMessageBox::error(0,i18n("The file \"%1\" could not be closed.").tqarg(text));
KMessageBox::error(0,i18n("The file \"%1\" could not be closed.").arg(text));
}
}
else
else
{
{
KMessageBox::detailedError(0,i18n("The file \"%1\" could not be closed.\nRead the error message under \"Details\" to find out more.").tqarg(text),details);
KMessageBox::detailedError(0,i18n("The file \"%1\" could not be closed.\nRead the error message under \"Details\" to find out more.").arg(text),details);
}
}
break;
break;
}
}
caseERROR_NET_COMMAND:
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").tqarg(text));
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::information(0,i18n("The mimetype \"%1\" is not supported. Please convert the file to PostScript or PDF.").tqarg(text));
KMessageBox::information(0,i18n("The mimetype \"%1\" is not supported. Please convert the file to PostScript or PDF.").arg(text));
break;
break;
}
}
caseINFO_DISABLE_SUID_FEATURE:
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.").tqarg(text));
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));
break;
break;
}
}
caseINFO_BOOKMARK_LABEL_IN_USE:
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.").tqarg(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.").arg(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)
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)
mServerCodepageItem->setLabel(i18n("The codepage used by the server"));
mServerCodepageItem->setLabel(i18n("The codepage used by the server"));
mServerCodepageItem->setWhatsThis(i18n("This is the codepage that is used by the server. The setting is only available with the SMBFS file system. If you keep the default setting, Smb4K will try to automatically determine the codepage by looking up the \"dos charset\" option in the smb.conf."));
mServerCodepageItem->setWhatsThis(i18n("This is the codepage that is used by the server. The setting is only available with the SMBFS file system. If you keep the default setting, Smb4K will try to automatically determine the codepage by looking up the \"dos charset\" option in the smb.conf."));
mUserIDItem->setLabel(i18n("The user ID that is to be used for mounting"));
mUserIDItem->setLabel(i18n("The user ID that is to be used for mounting"));
mUserIDItem->setWhatsThis(i18n("Here you can enter the user ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS file system and the remote server supports the CIFS Unix Extentions, this setting will be ignored."));
mUserIDItem->setWhatsThis(i18n("Here you can enter the user ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS file system and the remote server supports the CIFS Unix Extentions, this setting will be ignored."));
mGroupIDItem->setLabel(i18n("The group ID that is to be used for mounting"));
mGroupIDItem->setLabel(i18n("The group ID that is to be used for mounting"));
mGroupIDItem->setWhatsThis(i18n("Here you can enter the group ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS file system and the remote server supports the CIFS Unix Extentions, this setting will be ignored."));
mGroupIDItem->setWhatsThis(i18n("Here you can enter the group ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS file system and the remote server supports the CIFS Unix Extentions, this setting will be ignored."));