equal
deleted
inserted
replaced
247 } |
247 } |
248 case 'E': |
248 case 'E': |
249 { |
249 { |
250 int size = msg.size(); |
250 int size = msg.size(); |
251 emit ErrorMessage( |
251 emit ErrorMessage( |
252 QString("A Fatal ERROR occured! - The game engine had to stop.") |
252 tr("A Fatal ERROR occured! - The game engine had to stop.\n\n" |
253 + "\n\n " + tr("We are very sorry for the inconvenience :(") |
253 "We are very sorry for the inconvenience :(\n\n" |
254 + "\n\n" + tr("If this keeps happening, please click the '%1' button in the main menu!") |
254 "If this keeps happening, please click the '%1' button in the main menu!\n\n" |
255 .arg("Feedback") + "\n\n" |
255 "Last two engine messages:\n%2") |
256 "Last two engine messages:\n" + QString().append(msg.mid(2)).left(size - 4)); |
256 .arg("Feedback") |
|
257 .arg(QString::fromUtf8(msg.mid(2).left(size - 4)))); |
257 return; |
258 return; |
258 } |
259 } |
259 case 'i': |
260 case 'i': |
260 { |
261 { |
261 emit GameStats(msg.at(2), QString::fromUtf8(msg.mid(3))); |
262 emit GameStats(msg.at(2), QString::fromUtf8(msg.mid(3))); |