[rkward-cvs] rkward/rkward/plugin rkplugin.cpp,1.19,1.20 rkvarslot.cpp,1.14,1.15
Thomas Friedrichsmeier
tfry at users.sourceforge.net
Mon Feb 27 17:25:45 UTC 2006
Update of /cvsroot/rkward/rkward/rkward/plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22135/rkward/plugin
Modified Files:
rkplugin.cpp rkvarslot.cpp
Log Message:
Use .arg instead of concatenated strings in i18n
Index: rkplugin.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugin/rkplugin.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** rkplugin.cpp 2 Oct 2005 17:19:02 -0000 1.19
--- rkplugin.cpp 27 Feb 2006 17:25:42 -0000 1.20
***************
*** 86,90 ****
// create an error-dialog
! error_dialog = new RKErrorDialog (i18n ("The R-backend has reported one or more error(s) while processing the plugin ") + filename + i18n (". This may lead to an incorrect ouput and is likely due to a bug in the plugin.\nA transcript of the error message(s) is shown below."), i18n ("R-Error"), false);
// initialize the PHP-backend with the code-template
--- 86,90 ----
// create an error-dialog
! error_dialog = new RKErrorDialog (i18n ("The R-backend has reported one or more error(s) while processing the plugin '%1'. This may lead to an incorrect ouput and is likely due to a bug in the plugin.\nA transcript of the error message(s) is shown below.").arg (filename), i18n ("R-Error"), false);
// initialize the PHP-backend with the code-template
Index: rkvarslot.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugin/rkvarslot.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** rkvarslot.cpp 2 Oct 2005 17:19:02 -0000 1.14
--- rkvarslot.cpp 27 Feb 2006 17:25:42 -0000 1.15
***************
*** 353,357 ****
if (isSatisfied ()) return QString::null;
! return i18n (" - You have to select a variable for the \"" + label->text () + "\"-field\n");
}
--- 353,357 ----
if (isSatisfied ()) return QString::null;
! return (i18n (" - You have to select a variable for the \"%1\"-field\n").arg (label->text ()));
}
More information about the rkward-tracker
mailing list