Correct use of KUIT markup in kill dialog text

<p> is HTML; the correct KUIT tag is <para>.
This commit is contained in:
Nate Graham 2021-03-24 16:46:30 -06:00
parent 0683597099
commit 63b96d7c0d

View file

@ -80,13 +80,13 @@ int main(int argc, char* argv[])
QString question = i18nc("@info", "<b>Application \"%1\" is not responding</b>", appname);
question += isLocal
? xi18nc("@info", "<p>You tried to close window \"%1\" from application \"%2\" (Process ID: %3) but the application is not responding.</p>",
? xi18nc("@info", "<para>You tried to close window \"%1\" from application \"%2\" (Process ID: %3) but the application is not responding.</para>",
caption, appname, pidString)
: 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>",
: 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>",
caption, appname, pidString, hostname);
question += xi18nc("@info",
"<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>"
"<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>"
);
KGuiItem continueButton = KGuiItem(i18n("&Terminate Application %1", appname), QStringLiteral("edit-bomb"));