[rkward-cvs] rkward/rkward/scriptbackends phpbackend.cpp,1.8,1.9

Thomas Friedrichsmeier tfry at users.sourceforge.net
Mon Feb 27 17:25:45 UTC 2006


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

Modified Files:
	phpbackend.cpp 
Log Message:
Use .arg instead of concatenated strings in i18n

Index: phpbackend.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/scriptbackends/phpbackend.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** phpbackend.cpp	24 Nov 2005 12:35:46 -0000	1.8
--- phpbackend.cpp	27 Feb 2006 17:25:43 -0000	1.9
***************
*** 179,183 ****
  		if (!startup_done) {
  				destroy ();
! 				KMessageBox::error (0, i18n ("There has been an error\n(\"") + data.stripWhiteSpace () + i18n ("\")\nwhile starting up the PHP backend. Most likely this is due to either a bug in RKward or an invalid setting for the location of the PHP support files. Check the settings (Settings->Configure Settings->PHP backend) and try again."), i18n ("PHP-Error"));
  				emit (haveError ());
  				return;
--- 179,183 ----
  		if (!startup_done) {
  				destroy ();
! 				KMessageBox::error (0, i18n ("There has been an error\n(\"%1\")\nwhile starting up the PHP backend. Most likely this is due to either a bug in RKward or an invalid setting for the location of the PHP support files. Check the settings (Settings->Configure Settings->PHP backend) and try again.").arg (data.stripWhiteSpace ()), i18n ("PHP-Error"));
  				emit (haveError ());
  				return;
***************
*** 218,222 ****
  				QString error = request.remove ("PHP-Error");
  				destroy ();
! 				KMessageBox::error (0, i18n ("The PHP-backend has reported an error\n(\"") + error.stripWhiteSpace () + i18n ("\")\nand has been shut down. This is most likely due to a bug in the plugin. But of course you may want to try to close and restart the plugin to see whether it works with different settings."), i18n ("PHP-Error"));
  				emit (haveError ());
  				return;
--- 218,222 ----
  				QString error = request.remove ("PHP-Error");
  				destroy ();
! 				KMessageBox::error (0, i18n ("The PHP-backend has reported an error\n(\"%1\")\nand has been shut down. This is most likely due to a bug in the plugin. But of course you may want to try to close and restart the plugin to see whether it works with different settings.").arg (error.stripWhiteSpace ()), i18n ("PHP-Error"));
  				emit (haveError ());
  				return;





More information about the rkward-tracker mailing list