[rkward-cvs] SF.net SVN: rkward: [2111] branches/KDE4_port/rkward
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Mon Oct 22 23:46:27 UTC 2007
Revision: 2111
http://rkward.svn.sourceforge.net/rkward/?rev=2111&view=rev
Author: tfry
Date: 2007-10-22 16:46:27 -0700 (Mon, 22 Oct 2007)
Log Message:
-----------
More i18n porting
Modified Paths:
--------------
branches/KDE4_port/rkward/agents/rkeditobjectagent.cpp
branches/KDE4_port/rkward/agents/rkloadagent.cpp
branches/KDE4_port/rkward/agents/rksaveagent.cpp
branches/KDE4_port/rkward/core/renvironmentobject.cpp
branches/KDE4_port/rkward/core/rkmodificationtracker.cpp
branches/KDE4_port/rkward/dataeditor/editformatdialog.cpp
branches/KDE4_port/rkward/dataeditor/editlabelsdialog.cpp
branches/KDE4_port/rkward/dataeditor/twintable.cpp
branches/KDE4_port/rkward/dialogs/rkimportdialog.cpp
branches/KDE4_port/rkward/dialogs/rkloadlibsdialog.cpp
branches/KDE4_port/rkward/misc/xmlhelper.cpp
branches/KDE4_port/rkward/plugin/rkstandardcomponent.cpp
branches/KDE4_port/rkward/rbackend/rinterface.cpp
branches/KDE4_port/rkward/rkward.cpp
branches/KDE4_port/rkward/robjectviewer.cpp
branches/KDE4_port/rkward/scriptbackends/phpbackend.cpp
Modified: branches/KDE4_port/rkward/agents/rkeditobjectagent.cpp
===================================================================
--- branches/KDE4_port/rkward/agents/rkeditobjectagent.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/agents/rkeditobjectagent.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -53,7 +53,7 @@
QString object_name = *it;
RObject *obj = RObjectList::getObjectList ()->findObject (object_name);
if (!(obj && RKWorkplace::mainWorkplace()->editObject (obj, false))) {
- KMessageBox::information (0, i18n ("The object '%1', could not be opened for editing. Either it does not exist, or RKWard does not support editing this type of object, yet.").arg (object_name), i18n ("Cannot edit '%1'").arg (object_name));
+ KMessageBox::information (0, i18n ("The object '%1', could not be opened for editing. Either it does not exist, or RKWard does not support editing this type of object, yet.", object_name), i18n ("Cannot edit '%1'", object_name));
}
}
Modified: branches/KDE4_port/rkward/agents/rkloadagent.cpp
===================================================================
--- branches/KDE4_port/rkward/agents/rkloadagent.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/agents/rkloadagent.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -74,7 +74,7 @@
if (command->getFlags () == WORKSPACE_LOAD_COMMAND) {
if (!tmpfile.isEmpty ()) KIO::NetAccess::removeTempFile (tmpfile);
if (command->failed ()) {
- KMessageBox::error (0, i18n ("There has been an error opening file '%1':\n%2").arg (RObjectList::getObjectList ()->getWorkspaceURL ().path ()).arg (command->error ()), i18n ("Error loading workspace"));
+ KMessageBox::error (0, i18n ("There has been an error opening file '%1':\n%2", RObjectList::getObjectList ()->getWorkspaceURL ().path (), command->error ()), i18n ("Error loading workspace"));
RObjectList::getObjectList ()->setWorkspaceURL (KUrl());
} else {
RKWorkplace::mainWorkplace ()->restoreWorkplace ();
Modified: branches/KDE4_port/rkward/agents/rksaveagent.cpp
===================================================================
--- branches/KDE4_port/rkward/agents/rksaveagent.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/agents/rksaveagent.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -70,7 +70,7 @@
if (command->hasError ()) {
if (when_done != DoNothing) {
int res;
- res = KMessageBox::warningYesNoCancel (0, i18n ("Saving to file '%1' failed. What do you want to do?").arg (save_url.path ()), i18n ("Save failed"), KGuiItem (i18n ("Try saving with a different filename")), KGuiItem (i18n ("Saving failed")));
+ res = KMessageBox::warningYesNoCancel (0, i18n ("Saving to file '%1' failed. What do you want to do?", save_url.path ()), i18n ("Save failed"), KGuiItem (i18n ("Try saving with a different filename")), KGuiItem (i18n ("Saving failed")));
if (res == KMessageBox::Yes) {
if (askURL ()) RKGlobals::rInterface ()->issueCommand (new RCommand ("save.image (\"" + save_url.path () + "\")", RCommand::App, QString::null, this), save_chain);
return;
@@ -83,7 +83,7 @@
return;
}
} else {
- if (KMessageBox::warningYesNo (0, i18n ("Saving to file '%1' failed. Do you want to try saving to a different filename?").arg (save_url.path ())) == KMessageBox::Yes) {
+ if (KMessageBox::warningYesNo (0, i18n ("Saving to file '%1' failed. Do you want to try saving to a different filename?", save_url.path ())) == KMessageBox::Yes) {
if (askURL ()) RKGlobals::rInterface ()->issueCommand (new RCommand ("save.image (\"" + save_url.path () + "\")", RCommand::App, QString::null, this), save_chain);
return;
} else {
Modified: branches/KDE4_port/rkward/core/renvironmentobject.cpp
===================================================================
--- branches/KDE4_port/rkward/core/renvironmentobject.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/core/renvironmentobject.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -88,7 +88,7 @@
RK_TRACE (OBJECTS);
if (type & PackageEnv) {
if (RKSettingsModuleObjectBrowser::isPackageBlacklisted (namespace_name)) {
- KMessageBox::information (0, i18n ("The package '%1' (probably you just loaded it) is currently blacklisted for retrieving structure information. Practically this means, the objects in this package will not appear in the object browser, and there will be no object name completion or function argument hinting for objects in this package.\nPackages will typically be blacklisted, if they contain huge amount of data, that would take too long to load. To unlist the package, visit Settings->Configure RKWard->Workspace.").arg (namespace_name), i18n("Package blacklisted"), "packageblacklist" + namespace_name);
+ KMessageBox::information (0, i18n ("The package '%1' (probably you just loaded it) is currently blacklisted for retrieving structure information. Practically this means, the objects in this package will not appear in the object browser, and there will be no object name completion or function argument hinting for objects in this package.\nPackages will typically be blacklisted, if they contain huge amount of data, that would take too long to load. To unlist the package, visit Settings->Configure RKWard->Workspace.", namespace_name), i18n("Package blacklisted"), "packageblacklist" + namespace_name);
return;
}
}
Modified: branches/KDE4_port/rkward/core/rkmodificationtracker.cpp
===================================================================
--- branches/KDE4_port/rkward/core/rkmodificationtracker.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/core/rkmodificationtracker.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -47,19 +47,19 @@
if (removed_in_workspace) {
if (ed) {
- if (KMessageBox::questionYesNo (0, i18n ("The object '%1' was removed from workspace or changed to a different type of object, but is currently opened for editing. Do you want to restore it?").arg (object->getFullName ()), i18n ("Restore object?")) == KMessageBox::Yes) {
+ if (KMessageBox::questionYesNo (0, i18n ("The object '%1' was removed from workspace or changed to a different type of object, but is currently opened for editing. Do you want to restore it?", object->getFullName ()), i18n ("Restore object?")) == KMessageBox::Yes) {
if (removed_in_workspace) ed->restoreObject (object);
return false;
}
}
} else {
if (editor || ed) {
- if (KMessageBox::questionYesNo (0, i18n ("Do you really want to remove the object '%1'? The object is currently opened for editing, it will be removed in the editor, too. There's no way to get it back.").arg (object->getFullName ()), i18n ("Remove object?")) != KMessageBox::Yes) {
+ if (KMessageBox::questionYesNo (0, i18n ("Do you really want to remove the object '%1'? The object is currently opened for editing, it will be removed in the editor, too. There's no way to get it back.", object->getFullName ()), i18n ("Remove object?")) != KMessageBox::Yes) {
return false;
}
} else {
// TODO: check for other editors editing this object
- if (KMessageBox::questionYesNo (0, i18n ("Do you really want to remove the object '%1'? There's no way to get it back.").arg (object->getFullName ()), i18n ("Remove object?")) != KMessageBox::Yes) {
+ if (KMessageBox::questionYesNo (0, i18n ("Do you really want to remove the object '%1'? There's no way to get it back.", object->getFullName ()), i18n ("Remove object?")) != KMessageBox::Yes) {
return false;
}
}
Modified: branches/KDE4_port/rkward/dataeditor/editformatdialog.cpp
===================================================================
--- branches/KDE4_port/rkward/dataeditor/editformatdialog.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/dataeditor/editformatdialog.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -48,7 +48,7 @@
alignment_group->layout()->setSpacing (RKGlobals::spacingHint ());
alignment_group->layout()->setMargin (RKGlobals::marginHint ());
Q3VBoxLayout *group_layout = new Q3VBoxLayout (alignment_group->layout());
- group_layout->addWidget (new QRadioButton (i18n ("Default for type '%1'").arg (RObject::typeToText (var->getDataType ())), alignment_group));
+ group_layout->addWidget (new QRadioButton (i18n ("Default for type '%1'", RObject::typeToText (var->getDataType ())), alignment_group));
group_layout->addWidget (new QRadioButton (i18n ("Left"), alignment_group));
group_layout->addWidget (new QRadioButton (i18n ("Right"), alignment_group));
alignment_group->setButton ((int) RKVariable::FormattingOptions::AlignDefault);
@@ -74,7 +74,7 @@
initialize ();
- setCaption (i18n ("Formatting options for '%1'").arg (var->getShortName ()));
+ setCaption (i18n ("Formatting options for '%1'", var->getShortName ()));
}
EditFormatDialog::~EditFormatDialog () {
Modified: branches/KDE4_port/rkward/dataeditor/editlabelsdialog.cpp
===================================================================
--- branches/KDE4_port/rkward/dataeditor/editlabelsdialog.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/dataeditor/editlabelsdialog.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -252,7 +252,7 @@
connect (cancel_button, SIGNAL (clicked ()), this, SLOT (reject ()));
buttonbox->addWidget (cancel_button);
- setCaption (i18n ("Levels / Value labels for '%1'").arg (var->getShortName ()));
+ setCaption (i18n ("Levels / Value labels for '%1'", var->getShortName ()));
}
EditLabelsDialog::~EditLabelsDialog () {
Modified: branches/KDE4_port/rkward/dataeditor/twintable.cpp
===================================================================
--- branches/KDE4_port/rkward/dataeditor/twintable.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/dataeditor/twintable.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -253,14 +253,14 @@
dataview->getSelectionBoundaries (&top, &left, &bottom, &right);
if (top >= 0 && bottom <= dataview->numTrueRows () && top != bottom) {
left_header_menu->setItemVisible (HEADER_MENU_ID_DEL_ROWS, true);
- left_header_menu->changeItem (HEADER_MENU_ID_DEL_ROWS, i18n ("Delete marked rows (%1-%2)").arg (QString::number (top+1), QString::number (bottom+1)));
+ left_header_menu->changeItem (HEADER_MENU_ID_DEL_ROWS, i18n ("Delete marked rows (%1-%2)", (top+1), (bottom+1)));
} else {
left_header_menu->setItemVisible (HEADER_MENU_ID_DEL_ROWS, false);
}
if (row < dataview->numTrueRows ()) {
left_header_menu->setItemVisible (HEADER_MENU_ID_ADD_ROW_BELOW, true);
left_header_menu->setItemVisible (HEADER_MENU_ID_DEL_ROW, true);
- left_header_menu->changeItem (HEADER_MENU_ID_DEL_ROW, i18n ("Delete this row (%1)").arg (QString::number (row+1)));
+ left_header_menu->changeItem (HEADER_MENU_ID_DEL_ROW, i18n ("Delete this row (%1)", (row+1)));
left_header_menu->popup (dataview->mouse_at);
} else if (row == dataview->numTrueRows ()) { // trailing row
left_header_menu->setItemVisible (HEADER_MENU_ID_ADD_ROW_BELOW, false);
Modified: branches/KDE4_port/rkward/dialogs/rkimportdialog.cpp
===================================================================
--- branches/KDE4_port/rkward/dialogs/rkimportdialog.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/dialogs/rkimportdialog.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -44,7 +44,7 @@
context = RKComponentMap::getContext (context_id);
if (!context) {
- KMessageBox::sorry (this, i18n ("No plugins defined for context '%1'").arg (context_id));
+ KMessageBox::sorry (this, i18n ("No plugins defined for context '%1'", context_id));
return;
}
Modified: branches/KDE4_port/rkward/dialogs/rkloadlibsdialog.cpp
===================================================================
--- branches/KDE4_port/rkward/dialogs/rkloadlibsdialog.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/dialogs/rkloadlibsdialog.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -736,7 +736,7 @@
}
if (!found) {
- KMessageBox::sorry (0, i18n ("The package requested by the backend (\"%1\") was not found in the package repositories. Maybe the package name was mis-spelled. Or maybe you need to add additional repositories via the \"Configure Repositories\"-button.").arg (package_name), i18n ("Package not available"));
+ KMessageBox::sorry (0, i18n ("The package requested by the backend (\"%1\") was not found in the package repositories. Maybe the package name was mis-spelled. Or maybe you need to add additional repositories via the \"Configure Repositories\"-button.", package_name), i18n ("Package not available"));
}
}
@@ -797,7 +797,7 @@
QFileInfo fi = QFileInfo (libraryLocation ());
if (!fi.isWritable ()) {
- int res = KMessageBox::questionYesNo (this, i18n ("The directory you are trying to install to (%1) is not writable with your current user permissions. If you are the adminitstrator of this machine, you can try to install the packages as root (you'll be prompted for the root password). Otherwise you'll have to chose a different library location to install to (if none are writable, you will probably want to use the \"Configure Repositories\"-button to set up a writable directory to install packages to).").arg (libraryLocation ()), i18n ("Selected library location not writable"), KGuiItem (i18n ("Become root")), KGuiItem (i18n ("&Cancel")));
+ int res = KMessageBox::questionYesNo (this, i18n ("The directory you are trying to install to (%1) is not writable with your current user permissions. If you are the adminitstrator of this machine, you can try to install the packages as root (you'll be prompted for the root password). Otherwise you'll have to chose a different library location to install to (if none are writable, you will probably want to use the \"Configure Repositories\"-button to set up a writable directory to install packages to).", libraryLocation ()), i18n ("Selected library location not writable"), KGuiItem (i18n ("Become root")), KGuiItem (i18n ("&Cancel")));
if (res == KMessageBox::Yes) {
*as_root = true;
return true;
Modified: branches/KDE4_port/rkward/misc/xmlhelper.cpp
===================================================================
--- branches/KDE4_port/rkward/misc/xmlhelper.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/misc/xmlhelper.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -62,7 +62,7 @@
QFile f (filename);
if (!f.open (QIODevice::ReadOnly)) displayError (0, i18n("Could not open file for reading"), debug_level, DL_ERROR);
if (!doc.setContent(&f, false, &error_message, &error_line, &error_column)) {
- displayError (0, i18n ("Error parsing XML-file. Error-message was: '%1' in line '%2', column '%3'. Expect further errors to be reported below").arg (error_message).arg (QString::number (error_line)).arg (QString::number (error_column)), debug_level, DL_ERROR);
+ displayError (0, i18n ("Error parsing XML-file. Error-message was: '%1' in line '%2', column '%3'. Expect further errors to be reported below", error_message, error_line, error_column), debug_level, DL_ERROR);
}
f.close();
@@ -184,7 +184,7 @@
XMLChildList list = getChildElements (parent, name, debug_level);
if (list.count () != 1) {
- displayError (&parent, i18n ("Expected exactly one element '%1' but found %2").arg (name).arg (QString::number (list.count ())), debug_level);
+ displayError (&parent, i18n ("Expected exactly one element '%1' but found %2", name, list.count ()), debug_level);
QDomElement dummy;
return dummy;
}
@@ -239,7 +239,7 @@
RK_TRACE (XML);
if (!element.hasAttribute (name)) {
- displayError (&element, i18n ("'%1'-attribute not given. Assuming '%2'").arg (name).arg (def), debug_level);
+ displayError (&element, i18n ("'%1'-attribute not given. Assuming '%2'", name, def), debug_level);
return (def);
}
@@ -257,7 +257,7 @@
if ((index = value_list.findIndex (plain_value)) >= 0) {
return (index);
} else {
- displayError (&element, i18n ("Illegal attribute value. Allowed values are one of '%1', only.").arg (values), debug_level, DL_ERROR);
+ displayError (&element, i18n ("Illegal attribute value. Allowed values are one of '%1', only.", values), debug_level, DL_ERROR);
return def;
}
}
@@ -305,7 +305,7 @@
if (res == "true") return true;
if (res == "false") return false;
- displayError (&element, i18n ("Illegal attribute value. Allowed values are '%1' or '%2', only.").arg ("true").arg ("false"), debug_level, DL_ERROR);
+ displayError (&element, i18n ("Illegal attribute value. Allowed values are '%1' or '%2', only.", QString ("true"), QString ("false")), debug_level, DL_ERROR);
return def;
}
@@ -316,7 +316,7 @@
if (highest_error < debug_level) highest_error = debug_level;
if ((RK_Debug_Flags & XML) && (message_level >= RK_Debug_Level)) {
- QString backtrace = i18n ("XML-parsing '%1' ").arg (filename);
+ QString backtrace = i18n ("XML-parsing '%1' ", filename);
// create a "backtrace"
QStringList list;
Modified: branches/KDE4_port/rkward/plugin/rkstandardcomponent.cpp
===================================================================
--- branches/KDE4_port/rkward/plugin/rkstandardcomponent.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/plugin/rkstandardcomponent.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -74,7 +74,7 @@
XMLHelper* xml = XMLHelper::getStaticHelper ();
QDomElement doc_element = xml->openXMLFile (filename, DL_ERROR);
if (xml->highestError () >= DL_ERROR) {
- KMessageBox::error (this, i18n ("There has been an error while trying to parse the description of this plugin ('%1'). Please refer to stdout for details.").arg (filename), i18n ("Could not create plugin"));
+ KMessageBox::error (this, i18n ("There has been an error while trying to parse the description of this plugin ('%1'). Please refer to stdout for details.", filename), i18n ("Could not create plugin"));
removeFromParent ();
deleteLater ();
return;
Modified: branches/KDE4_port/rkward/rbackend/rinterface.cpp
===================================================================
--- branches/KDE4_port/rkward/rbackend/rinterface.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/rbackend/rinterface.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -333,7 +333,7 @@
} else if (call == "require") {
if (request->call_length >= 2) {
QString lib_name = request->call[1];
- KMessageBox::information (0, i18n ("The R-backend has indicated that in order to carry out the current task it needs the package '%1', which is not currently installed. We will open the package-management tool, and there you can try to locate and install the needed package.").arg (lib_name), i18n ("Require package '%1'").arg (lib_name));
+ KMessageBox::information (0, i18n ("The R-backend has indicated that in order to carry out the current task it needs the package '%1', which is not currently installed. We will open the package-management tool, and there you can try to locate and install the needed package.", lib_name), i18n ("Require package '%1'", lib_name));
RKLoadLibsDialog::showInstallPackagesModal (0, request->in_chain, lib_name);
issueCommand (".rk.set.reply (\"\")", RCommand::App | RCommand::Sync, QString::null, 0, 0, request->in_chain);
} else {
Modified: branches/KDE4_port/rkward/rkward.cpp
===================================================================
--- branches/KDE4_port/rkward/rkward.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/rkward.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -531,7 +531,7 @@
if (ok) {
QString valid = RObjectList::getObjectList ()->validizeName (name);
- if (valid != name) KMessageBox::sorry (this, i18n ("The name you specified was already in use or not valid. Renamed to %1").arg (valid), i18n ("Invalid Name"));
+ if (valid != name) KMessageBox::sorry (this, i18n ("The name you specified was already in use or not valid. Renamed to %1", valid), i18n ("Invalid Name"));
RObject *object = RObjectList::getObjectList ()->createNewChild (valid, 0, true, true);
RKWorkplace::mainWorkplace ()->editObject (object, true);
}
Modified: branches/KDE4_port/rkward/robjectviewer.cpp
===================================================================
--- branches/KDE4_port/rkward/robjectviewer.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/robjectviewer.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -71,7 +71,7 @@
connect (cancel_button, SIGNAL (clicked ()), this, SLOT (cancel ()));
Q3HBox *row = new Q3HBox (box);
- QLabel *label = new QLabel (i18n("\nResult of 'summary (%1)':\n").arg (object->getFullName ()), row);
+ QLabel *label = new QLabel (i18n("\nResult of 'summary (%1)':\n", object->getFullName ()), row);
row->setStretchFactor (label, 10);
toggle_summary_button = new QPushButton (i18n ("Hide"), row);
connect (toggle_summary_button, SIGNAL (clicked ()), this, SLOT (toggleSummary ()));
@@ -83,7 +83,7 @@
summary_area->setWordWrap (Q3TextEdit::NoWrap);
row = new Q3HBox (box);
- label = new QLabel (i18n("\nResult of 'print (%1)':\n").arg (object->getFullName ()), row);
+ label = new QLabel (i18n("\nResult of 'print (%1)':\n", object->getFullName ()), row);
row->setStretchFactor (label, 10);
toggle_print_button = new QPushButton (i18n ("Hide"), row);
connect (toggle_print_button, SIGNAL (clicked ()), this, SLOT (togglePrint ()));
Modified: branches/KDE4_port/rkward/scriptbackends/phpbackend.cpp
===================================================================
--- branches/KDE4_port/rkward/scriptbackends/phpbackend.cpp 2007-10-22 23:32:27 UTC (rev 2110)
+++ branches/KDE4_port/rkward/scriptbackends/phpbackend.cpp 2007-10-22 23:46:27 UTC (rev 2111)
@@ -59,7 +59,7 @@
QString common_php = files_path.absoluteFilePath ("common.php");
QString php_ini = files_path.absoluteFilePath ("php.ini");
if (!QFileInfo (common_php).isReadable ()) {
- KMessageBox::error (0, i18n ("The support file \"%1\" could not be found or is not readable. Please check your installation.").arg (common_php), i18n ("PHP-Error"));
+ KMessageBox::error (0, i18n ("The support file \"%1\" could not be found or is not readable. Please check your installation.", common_php), i18n ("PHP-Error"));
emit (haveError ());
return false;
}
@@ -194,7 +194,7 @@
if (have_data) {
if (!startup_done) {
php_process->detach ();
- 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 a problem with your PHP installation. Check the settings (Settings->Configure Settings->PHP backend) and try again.").arg (output_raw_buffer.trimmed ()), i18n ("PHP-Error"));
+ 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 a problem with your PHP installation. Check the settings (Settings->Configure Settings->PHP backend) and try again.", output_raw_buffer.trimmed ()), i18n ("PHP-Error"));
emit (haveError ());
destroy ();
return;
@@ -224,7 +224,7 @@
} else if (request.startsWith ("PHP-Error")) {
QString error = request.remove ("PHP-Error");
php_process->detach ();
- 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.trimmed ()), i18n ("PHP-Error"));
+ 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.", error.trimmed ()), i18n ("PHP-Error"));
emit (haveError ());
destroy ();
return;
@@ -239,7 +239,7 @@
if (php_process) { // if the php_process is already 0, this means, we have caught an error message before the process died, have already shown a message, emitted haveError(), and called destroy()
php_process->detach ();
- KMessageBox::error (0, i18n ("The PHP-backend has died unexpectedly. The current output buffer is shown below:\n%1").arg (output_raw_buffer), i18n ("PHP Process exited"));
+ KMessageBox::error (0, i18n ("The PHP-backend has died unexpectedly. The current output buffer is shown below:\n%1", output_raw_buffer), i18n ("PHP Process exited"));
emit (haveError ());
destroy ();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list