[helpers/killer] Use <p> instead of <para>

Summary:
para works fine for English, but seems to break in translations.

BUG: 363750
FIXED-IN: 5.9

Test Plan: Renders correctly in English. Translations not tested.

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D3227
icc-effect-5.14.5
Martin Gräßlin 2016-11-02 13:55:11 +01:00
parent 14b6ecf499
commit 7681e312c5
1 changed files with 4 additions and 4 deletions

View File

@ -94,13 +94,13 @@ int main(int argc, char* argv[])
QString question = i18nc("@info", "<b>Application \"%1\" is not responding</b>", appname);
question += isLocal
? xi18nc("@info", "<para>You tried to close window \"%1\" from application \"%2\" (Process ID: %3) but the application is not responding.</para>",
? xi18nc("@info", "<p>You tried to close window \"%1\" from application \"%2\" (Process ID: %3) but the application is not responding.</p>",
caption, appname, pidString)
: xi18nc("@info", "<para>You tried to close window \"%1\" from application \"%2\" (Process ID: %3), running on host \"%4\", but the application is not responding.</para>",
: xi18nc("@info", "<p>You tried to close window \"%1\" from application \"%2\" (Process ID: %3), running on host \"%4\", but the application is not responding.</p>",
caption, appname, pidString, hostname);
question += xi18nc("@info",
"<para>Do you want to terminate this application?</para>"
"<para><warning>Terminating the application will close all of its child windows. Any unsaved data will be lost.</warning></para>"
"<p>Do you want to terminate this application?</p>"
"<p><warning>Terminating the application will close all of its child windows. Any unsaved data will be lost.</warning></p>"
);
KGuiItem continueButton = KGuiItem(i18n("&Terminate Application %1", appname), QStringLiteral("edit-bomb"));