Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/shell/sessionlock.cpp
Show First 20 Lines • Show All 188 Lines • ▼ Show 20 Line(s) | 151 | { | |||
---|---|---|---|---|---|
189 | } else { | 189 | } else { | ||
190 | problemHeader = i18nc("@info", "Failed to lock the session <em>%1</em> (lock-file unavailable).", | 190 | problemHeader = i18nc("@info", "Failed to lock the session <em>%1</em> (lock-file unavailable).", | ||
191 | sessionName); | 191 | sessionName); | ||
192 | } | 192 | } | ||
193 | 193 | | |||
194 | QString problemResolution = i18nc("@info", "<p>Please, close the offending application instance " | 194 | QString problemResolution = i18nc("@info", "<p>Please, close the offending application instance " | ||
195 | "or choose another session to launch.</p>"); | 195 | "or choose another session to launch.</p>"); | ||
196 | 196 | | |||
197 | QString errmsg = "<p>" + problemHeader + "<br>" + problemDescription + "</p>" + problemResolution; | 197 | QString errmsg = QLatin1String("<p>") + problemHeader + QLatin1String("<br>") + problemDescription + QLatin1String("</p>") + problemResolution; | ||
198 | 198 | | |||
199 | KGuiItem retry = KStandardGuiItem::cont(); | 199 | KGuiItem retry = KStandardGuiItem::cont(); | ||
200 | retry.setText(i18nc("@action:button", "Retry startup")); | 200 | retry.setText(i18nc("@action:button", "Retry startup")); | ||
201 | 201 | | |||
202 | KGuiItem choose = KStandardGuiItem::configure(); | 202 | KGuiItem choose = KStandardGuiItem::configure(); | ||
203 | choose.setText(i18nc("@action:button", "Choose another session")); | 203 | choose.setText(i18nc("@action:button", "Choose another session")); | ||
204 | 204 | | |||
205 | KGuiItem cancel = KStandardGuiItem::quit(); | 205 | KGuiItem cancel = KStandardGuiItem::quit(); | ||
Show All 21 Lines |