// application/octet-stream. So it could be viewable as
// plain text, ask the user.
response = KMessageBox::warningContinueCancel(parent,
- i18n("The internal viewer cannot preview this type of file<nl/>(%1).<nl/><nl/>Do you want to try to view it as plain text?", mimeType->name()),
+ i18n("The internal viewer cannot preview this type of file<br/>(%1).<br/><br/>Do you want to try to view it as plain text?", mimeType->name()),
i18nc("@title:window", "Cannot Preview File"),
KGuiItem(i18nc("@action:button", "Preview as Text"), KIcon(QLatin1String("text-plain"))),
KStandardGuiItem::cancel(),
// text, so ask the user. Not the same as the message/question
// above, because the wording and default are different.
response = KMessageBox::warningContinueCancel(parent,
- i18n("The internal viewer cannot preview this unknown type of file.<nl/><nl/>Do you want to try to view it as plain text?"),
+ i18n("The internal viewer cannot preview this unknown type of file.<br/><br/>Do you want to try to view it as plain text?"),
i18nc("@title:window", "Cannot Preview File"),
KGuiItem(i18nc("@action:button", "Preview as Text"), KIcon(QLatin1String("text-plain"))),
KStandardGuiItem::cancel(),
QString item;
if (creatingNewArchive) {
- item = KInputDialog::getItem(i18nc("@title:window", "Invalid Archive Type"),
- i18nc("@info", "Ark cannot create archives of the type you have chosen.<nl/><nl/>Please choose another archive type below."),
- mimeComments, 0, false, &ok);
+ item = KInputDialog::getItem(
+ i18nc("@title:window", "Invalid Archive Type"),
+ i18nc("@info", "Ark cannot create archives of the type you have chosen.<br/><br/>Please choose another archive type below."),
+ mimeComments, 0, false, &ok
+ );
} else {
- item = KInputDialog::getItem(i18nc("@title:window", "Unable to Determine Archive Type"),
- i18nc("@info", "Ark was unable to determine the archive type of the filename.<nl/><nl/>Please choose the correct archive type below."),
- mimeComments,
- 0,
- false,
- &ok);
+ item = KInputDialog::getItem(
+ i18nc("@title:window", "Unable to Determine Archive Type"),
+ i18nc("@info", "Ark was unable to determine the archive type of the filename.<br/><br/>Please choose the correct archive type below."),
+ mimeComments, 0, false, &ok
+ );
}
if ((!ok) || (item.isEmpty())) {