[rkward-cvs] rkward/rkward/dialogs rkloadlibsdialog.cpp,1.5,1.6

Daniele Medri danielemedri at users.sourceforge.net
Mon Nov 29 23:38:40 UTC 2004


Update of /cvsroot/rkward/rkward/rkward/dialogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30946

Modified Files:
	rkloadlibsdialog.cpp 
Log Message:
*wording*: s/packages/libraries/
Unified code to the term "libraries" instead "packages"


Index: rkloadlibsdialog.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/dialogs/rkloadlibsdialog.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** rkloadlibsdialog.cpp	17 Nov 2004 20:40:14 -0000	1.5
--- rkloadlibsdialog.cpp	29 Nov 2004 23:38:37 -0000	1.6
***************
*** 39,55 ****
  #define DOWNLOAD_PACKAGES_COMMAND 1
  
! RKLoadLibsDialog::RKLoadLibsDialog (QWidget *parent, RCommandChain *chain, bool modal) : KDialogBase (KDialogBase::Tabbed, Qt::WStyle_DialogBorder, parent, 0, modal, i18n ("Load / unload packages")) {
  	RK_TRACE (DIALOGS);
  	RKLoadLibsDialog::chain = chain;
  	
! 	QFrame *page = addPage (i18n ("Load / unload installed packages"));
  	QVBoxLayout *layout = new QVBoxLayout (page, 0, KDialog::spacingHint ());
  	layout->addWidget (new LoadUnloadWidget (this, page));
  	
! 	page = addPage (i18n ("Update installed packages"));
  	layout = new QVBoxLayout (page, 0, KDialog::spacingHint ());
  	layout->addWidget (new UpdatePackagesWidget (this, page));
  
! 	page = addPage (i18n ("Install new packages"));
  	layout = new QVBoxLayout (page, 0, KDialog::spacingHint ());
  	layout->addWidget (new InstallPackagesWidget (this, page));
--- 39,55 ----
  #define DOWNLOAD_PACKAGES_COMMAND 1
  
! RKLoadLibsDialog::RKLoadLibsDialog (QWidget *parent, RCommandChain *chain, bool modal) : KDialogBase (KDialogBase::Tabbed, Qt::WStyle_DialogBorder, parent, 0, modal, i18n ("Configure Libraries")) {
  	RK_TRACE (DIALOGS);
  	RKLoadLibsDialog::chain = chain;
  	
! 	QFrame *page = addPage (i18n ("Local libraries"));
  	QVBoxLayout *layout = new QVBoxLayout (page, 0, KDialog::spacingHint ());
  	layout->addWidget (new LoadUnloadWidget (this, page));
  	
! 	page = addPage (i18n ("Update"));
  	layout = new QVBoxLayout (page, 0, KDialog::spacingHint ());
  	layout->addWidget (new UpdatePackagesWidget (this, page));
  
! 	page = addPage (i18n ("Install"));
  	layout = new QVBoxLayout (page, 0, KDialog::spacingHint ());
  	layout->addWidget (new InstallPackagesWidget (this, page));
***************
*** 142,146 ****
  	RKGlobals::rInterface ()->issueCommand (command, chain);
  	
! 	if (RKCancelDialog::showCancelDialog (i18n ("Downloading Packages ..."), i18n ("Please stand by while downloading packages."), this, this, SIGNAL (downloadComplete ()), command) == QDialog::Rejected) return false;
  	return true;
  }
--- 142,146 ----
  	RKGlobals::rInterface ()->issueCommand (command, chain);
  	
! 	if (RKCancelDialog::showCancelDialog (i18n ("Downloading libraries..."), i18n ("Please stand by while downloading libraries."), this, this, SIGNAL (downloadComplete ()), command) == QDialog::Rejected) return false;
  	return true;
  }
***************
*** 167,175 ****
  	proc->start ();
  	connect (proc, SIGNAL (processExited (KProcess *)), this, SLOT (processExited (KProcess *)));
! 	if (RKCancelDialog::showCancelDialog (i18n ("Installing Packages ..."), i18n ("Please stand by while installing packages."), this, this, SIGNAL (installationComplete ())) == QDialog::Rejected) {
  		proc->kill ();
  	};
  	if ((!proc->normalExit ()) || (proc->exitStatus ())) {
! 		KMessageBox::error (this, i18n ("There was an error while trying to install the packages. Please check the output on stderr. Sorry, there is no better error-handling so far..."), i18n ("Error installing packages"));
  	}
  	delete proc;
--- 167,175 ----
  	proc->start ();
  	connect (proc, SIGNAL (processExited (KProcess *)), this, SLOT (processExited (KProcess *)));
! 	if (RKCancelDialog::showCancelDialog (i18n ("Installing libraries..."), i18n ("Please stand by while installing libraries."), this, this, SIGNAL (installationComplete ())) == QDialog::Rejected) {
  		proc->kill ();
  	};
  	if ((!proc->normalExit ()) || (proc->exitStatus ())) {
! 		KMessageBox::error (this, i18n ("There was an error while trying to install the library. Please check the output on stderr. Sorry, there is no better error-handling so far..."), i18n ("Error installing library"));
  	}
  	delete proc;
***************
*** 192,196 ****
  	
  	QVBoxLayout *mvbox = new QVBoxLayout (this, 0, KDialog::spacingHint ());
! 	QLabel *label = new QLabel (i18n ("Warning! There are no safeguards against removing essential packages so far. If you remove e.g. package rkward, RKWard will no longer function properly (including this very dialog). So please be careful about the packages you remove."), this);
  	label->setAlignment (Qt::AlignAuto | Qt::AlignVCenter | Qt::ExpandTabs | Qt::WordBreak);
  	mvbox->addWidget (label);
--- 192,196 ----
  	
  	QVBoxLayout *mvbox = new QVBoxLayout (this, 0, KDialog::spacingHint ());
! 	QLabel *label = new QLabel (i18n ("Warning! There are no safeguards against removing essential library so far. If you remove e.g. library rkward, RKWard will no longer function properly (including this very dialog). So please be careful about the libraries you remove."), this);
  	label->setAlignment (Qt::AlignAuto | Qt::AlignVCenter | Qt::ExpandTabs | Qt::WordBreak);
  	mvbox->addWidget (label);
***************
*** 201,205 ****
  	QVBoxLayout *loadedvbox = new QVBoxLayout (hbox, KDialog::spacingHint ());
  	
! 	label = new QLabel (i18n ("Installed packages"), this);
  	installed_view = new QListView (this);
  	installed_view->addColumn (i18n ("Name"));
--- 201,205 ----
  	QVBoxLayout *loadedvbox = new QVBoxLayout (hbox, KDialog::spacingHint ());
  	
! 	label = new QLabel (i18n ("Installed libraries"), this);
  	installed_view = new QListView (this);
  	installed_view->addColumn (i18n ("Name"));
***************
*** 220,224 ****
  	buttonvbox->addStretch (2);
  	
! 	label = new QLabel (i18n ("Loaded packages"), this);
  	loaded_view = new QListView (this);
  	loaded_view->addColumn (i18n ("Name"));
--- 220,224 ----
  	buttonvbox->addStretch (2);
  	
! 	label = new QLabel (i18n ("Loaded libraries"), this);
  	loaded_view = new QListView (this);
  	loaded_view->addColumn (i18n ("Name"));





More information about the rkward-tracker mailing list