TQStringabout=i18n("KDat Version %1\n\nKDat is a tar-based tape archiver.\n\nCopyright (c) 1998-2000 Sean Vyain\nCopyright (c) 2001-2002 Lawrence Widman\nkdat@cardiothink.com").tqarg(KDAT_VERSION);
TQStringabout=i18n("KDat Version %1\n\nKDat is a tar-based tape archiver.\n\nCopyright (c) 1998-2000 Sean Vyain\nCopyright (c) 2001-2002 Lawrence Widman\nkdat@cardiothink.com").arg(KDAT_VERSION);
_menu->insertItem(i18n("&Help"),helpMenu(about));
_menu->insertItem(i18n("&Help"),helpMenu(about));
_toolbar=newKToolBar(this);
_toolbar=newKToolBar(this);
@ -387,7 +387,7 @@ void KDatMainWindow::localSelected( int index )
_tree->expandItem(index);
_tree->expandItem(index);
_tree->collapseItem(index);// 2002-01-30 LEW
_tree->collapseItem(index);// 2002-01-30 LEW
}
}
// tqrepaint(); // this doesn't work 2002-01-30 LEW
// repaint(); // this doesn't work 2002-01-30 LEW
/* 2002-01-30 LEW: RG and I don't like this behavior */
/* 2002-01-30 LEW: RG and I don't like this behavior */
i18n("An archive cannot be removed from the middle of the tape. If\nthe archive '%1' is deleted then\nthe following archives will also be deleted:\n%2\n\nDelete all listed archives?").tqarg(archive->getName()).tqarg(list);
i18n("An archive cannot be removed from the middle of the tape. If\nthe archive '%1' is deleted then\nthe following archives will also be deleted:\n%2\n\nDelete all listed archives?").arg(archive->getName()).arg(list);
i18n("The tape index file format is version %d. The index cannot be read by this version of KDat. Perhaps the tape index file was created by a newer version of KDat?").tqarg(version),
i18n("The tape index file format is version %d. The index cannot be read by this version of KDat. Perhaps the tape index file was created by a newer version of KDat?").arg(version),
i18n("Tape Index"));
i18n("Tape Index"));
}
}
}
}
@ -226,7 +226,7 @@ void Tape::readAll( int version )
i18n("Could not find the backend script for the network configuration detection. Something is wrong with your installation.\n Please check that \n{KDE_PATH}/%1 \nfile is present.").tqarg(BACKEND_PATH),
i18n("Could not find the backend script for the network configuration detection. Something is wrong with your installation.\n Please check that \n{KDE_PATH}/%1 \nfile is present.").arg(BACKEND_PATH),
i18n("Could Not Find Network Configuration Backend Script"));
i18n("Could Not Find Network Configuration Backend Script"));
KMessageBox::error(0,i18n("Cannot change owner of %1 folder.\nError: %2").tqarg(dir).tqarg(TQString::fromLocal8Bit(strerror(errno))));
KMessageBox::error(0,i18n("Cannot change owner of %1 folder.\nError: %2").arg(dir).arg(TQString::fromLocal8Bit(strerror(errno))));
}
}
return(0);
return(0);
}else{
}else{
KMessageBox::information(0,i18n("Folder %1 left 'as is'.\nVerify ownership and permissions for user %2 who may not be able to log in!").tqarg(dir).tqarg(p_name));
KMessageBox::information(0,i18n("Folder %1 left 'as is'.\nVerify ownership and permissions for user %2 who may not be able to log in!").arg(dir).arg(p_name));
return(-1);
return(-1);
}
}
}else{
}else{
KMessageBox::information(0,i18n("%1 exists and is not a folder. User %2 will not be able to log in!").tqarg(dir).tqarg(p_name));
KMessageBox::information(0,i18n("%1 exists and is not a folder. User %2 will not be able to log in!").arg(dir).arg(p_name));
KMessageBox::error(0,i18n("KUser sources were not configured.\nLocal passwd source set to %1\nLocal group source set to %2.").tqarg(mCfg->passwdsrc().tqarg(mCfg->groupsrc())));
KMessageBox::error(0,i18n("KUser sources were not configured.\nLocal passwd source set to %1\nLocal group source set to %2.").arg(mCfg->passwdsrc().arg(mCfg->groupsrc())));
}
}
if(!passwd_filename.isEmpty()){
if(!passwd_filename.isEmpty()){
@ -128,7 +128,7 @@ bool KUserFiles::loadpwd()
for(inti=0;i<MAXFILES;i++){
for(inti=0;i<MAXFILES;i++){
rc=stat(TQFile::encodeName(filename),&st);
rc=stat(TQFile::encodeName(filename),&st);
if(rc!=0){
if(rc!=0){
KMessageBox::error(0,i18n("Stat call on file %1 failed: %2\nCheck KUser settings.").tqarg(filename).tqarg(TQString::fromLocal8Bit(strerror(errno))));
KMessageBox::error(0,i18n("Stat call on file %1 failed: %2\nCheck KUser settings.").arg(filename).arg(TQString::fromLocal8Bit(strerror(errno))));
KMessageBox::error(0,i18n("No /etc/passwd entry for %1.\nEntry will be removed at the next `Save'-operation.").tqarg(TQString::fromLocal8Bit(spw->sp_namp)));
KMessageBox::error(0,i18n("No /etc/passwd entry for %1.\nEntry will be removed at the next `Save'-operation.").arg(TQString::fromLocal8Bit(spw->sp_namp)));
KMessageBox::questionYesNo(0,i18n("You are using private groups.\n"
KMessageBox::questionYesNo(0,i18n("You are using private groups.\n"
"Do you want to delete the user's private group '%1'?")
"Do you want to delete the user's private group '%1'?")
.tqarg(group->getName()),TQString(),
.arg(group->getName()),TQString(),
KStdGuiItem::del(),i18n("Do Not Delete"))==KMessageBox::Yes){
KStdGuiItem::del(),i18n("Do Not Delete"))==KMessageBox::Yes){
kdDebug()<<"del private group"<<endl;
kdDebug()<<"del private group"<<endl;
kug->getGroups().del(group);
kug->getGroups().del(group);
@ -203,7 +203,7 @@ void mainView::useradd()
if(!ok)return;
if(!ok)return;
if(kug->getUsers().lookup(name)){
if(kug->getUsers().lookup(name)){
KMessageBox::sorry(0,i18n("User with name %1 already exists.").tqarg(name));
KMessageBox::sorry(0,i18n("User with name %1 already exists.").arg(name));
return;
return;
}
}
@ -305,7 +305,7 @@ void mainView::setpwd()
if(count>1){
if(count>1){
if(KMessageBox::questionYesNo(0,
if(KMessageBox::questionYesNo(0,
i18n("You have selected %1 users. Do you really want to change the password for all the selected users?")
i18n("You have selected %1 users. Do you really want to change the password for all the selected users?")
.tqarg(count),TQString(),i18n("Change"),i18n("Do Not Change"))==KMessageBox::No)return;
.arg(count),TQString(),i18n("Change"),i18n("Do Not Change"))==KMessageBox::No)return;
}
}
pwddlgd(this);
pwddlgd(this);
if(d.exec()!=TQDialog::Accepted)return;
if(d.exec()!=TQDialog::Accepted)return;
@ -444,7 +444,7 @@ void mainView::grpdel()
KU::KUser*user=kug->getUsers().first();
KU::KUser*user=kug->getUsers().first();
while(user){
while(user){
if(user->getGID()==group->getGID()){
if(user->getGID()==group->getGID()){
KMessageBox::error(0,i18n("The group '%1' is the primary group of one or more users (such as '%2'); it cannot be deleted.").tqarg(group->getName()).tqarg(user->getName()));
KMessageBox::error(0,i18n("The group '%1' is the primary group of one or more users (such as '%2'); it cannot be deleted.").arg(group->getName()).arg(user->getName()));
return;
return;
}
}
user=kug->getUsers().next();
user=kug->getUsers().next();
@ -457,12 +457,12 @@ void mainView::grpdel()
case0:return;
case0:return;
case1:
case1:
if(KMessageBox::warningContinueCancel(0,
if(KMessageBox::warningContinueCancel(0,
i18n("Do you really want to delete the group '%1'?").tqarg(group->getName()),
i18n("Do you really want to delete the group '%1'?").arg(group->getName()),