Changeset 68888 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Sep 27, 2017 2:12:20 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIErrorString.cpp
r68435 r68888 124 124 return QString("<table bgcolor=#EEEEEE border=0 cellspacing=5 cellpadding=0 width=100%>" 125 125 "<tr><td>%1</td><td><tt>%2</tt></td></tr></table>") 126 .arg(Q Object::tr("Result Code: ", "error info"))126 .arg(QApplication::translate("UIErrorString", "Result Code: ", "error info")) 127 127 .arg(formatRCFull(comProgress.GetResultCode())) 128 128 .prepend("<!--EOM-->") /* move to details */; … … 195 195 { 196 196 strFormatted += QString("<tr><td>%1</td><td><tt>%2</tt></td></tr>") 197 .arg(Q Object::tr("Result Code: ", "error info"))197 .arg(QApplication::translate("UIErrorString", "Result Code: ", "error info")) 198 198 .arg(formatRCFull(comInfo.resultCode())); 199 199 } … … 201 201 if (fHaveComponent) 202 202 strFormatted += QString("<tr><td>%1</td><td>%2</td></tr>") 203 .arg(Q Object::tr("Component: ", "error info"), comInfo.component());203 .arg(QApplication::translate("UIErrorString", "Component: ", "error info"), comInfo.component()); 204 204 205 205 if (fHaveInterfaceID) … … 209 209 s = comInfo.interfaceName() + ' ' + s; 210 210 strFormatted += QString("<tr><td>%1</td><td>%2</td></tr>") 211 .arg(Q Object::tr("Interface: ", "error info"), s);211 .arg(QApplication::translate("UIErrorString", "Interface: ", "error info"), s); 212 212 } 213 213 … … 218 218 s = comInfo.calleeName() + ' ' + s; 219 219 strFormatted += QString("<tr><td>%1</td><td>%2</td></tr>") 220 .arg(Q Object::tr("Callee: ", "error info"), s);220 .arg(QApplication::translate("UIErrorString", "Callee: ", "error info"), s); 221 221 } 222 222 } … … 226 226 { 227 227 strFormatted += QString("<tr><td>%1</td><td><tt>%2</tt></td></tr>") 228 .arg(Q Object::tr("Callee RC: ", "error info"))228 .arg(QApplication::translate("UIErrorString", "Callee RC: ", "error info")) 229 229 .arg(formatRCFull(wrapperRC)); 230 230 }
Note:
See TracChangeset
for help on using the changeset viewer.