Changeset View
Changeset View
Standalone View
Standalone View
src/drkonqidialog.cpp
Show First 20 Lines • Show All 153 Lines • ▼ Show 20 Line(s) | 104 | { | |||
---|---|---|---|---|---|
154 | 154 | | |||
155 | ui.detailsTitleLabel->setText(QStringLiteral("<strong>%1</strong>").arg(i18nc("@label","Details:"))); | 155 | ui.detailsTitleLabel->setText(QStringLiteral("<strong>%1</strong>").arg(i18nc("@label","Details:"))); | ||
156 | 156 | | |||
157 | ui.detailsLabel->setText(xi18nc("@info Note the time information is divided into date and time parts", | 157 | ui.detailsLabel->setText(xi18nc("@info Note the time information is divided into date and time parts", | ||
158 | "<para>Executable: <application>%1" | 158 | "<para>Executable: <application>%1" | ||
159 | "</application> PID: %2 Signal: %3 (%4) " | 159 | "</application> PID: %2 Signal: %3 (%4) " | ||
160 | "Time: %5 %6</para>", | 160 | "Time: %5 %6</para>", | ||
161 | crashedApp->fakeExecutableBaseName(), | 161 | crashedApp->fakeExecutableBaseName(), | ||
162 | crashedApp->pid(), | 162 | // prevent number localization by ki18n | ||
163 | QString::number(crashedApp->pid()), | ||||
163 | crashedApp->signalName(), | 164 | crashedApp->signalName(), | ||
164 | #if defined(Q_OS_UNIX) | 165 | #if defined(Q_OS_UNIX) | ||
165 | crashedApp->signalNumber(), | 166 | // prevent number localization by ki18n | ||
167 | QString::number(crashedApp->signalNumber()), | ||||
166 | #else | 168 | #else | ||
167 | //windows uses weird big numbers for exception codes, | 169 | //windows uses weird big numbers for exception codes, | ||
168 | //so it doesn't make sense to display them in decimal | 170 | //so it doesn't make sense to display them in decimal | ||
169 | QString().asprintf("0x%8x", crashedApp->signalNumber()), | 171 | QString().asprintf("0x%8x", crashedApp->signalNumber()), | ||
170 | #endif | 172 | #endif | ||
171 | crashedApp->datetime().date().toString(Qt::DefaultLocaleShortDate), | 173 | crashedApp->datetime().date().toString(Qt::DefaultLocaleShortDate), | ||
172 | 174 | | |||
173 | crashedApp->datetime().time().toString() | 175 | crashedApp->datetime().time().toString() | ||
▲ Show 20 Lines • Show All 155 Lines • Show Last 20 Lines |