kdecore: drop redundant "nl" markup tag

not used in plain context, same as "br" in rich text

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-17 23:34:50 +03:00
parent f1217c0e64
commit ae66400fc7
2 changed files with 0 additions and 5 deletions

View file

@ -252,7 +252,6 @@ class KLocalizedStringPrivate;
* \li command
* \li resource
* \li message
* \li nl - new line
* \li application - does nothing
* \li numargs - specifies precision, field width and fill character for the other integer tags,
* its value should be in the form:

View file

@ -67,10 +67,6 @@ KuitSemantics::KuitSemantics(const QString &lang)
format.plain = m_catalog.translate("@message/plain", "/%1/");
format.rich = m_catalog.translate("@message/rich", "<i>%1</i>");
m_formats.append(format);
format.tag = QString::fromLatin1("nl");
format.plain = m_catalog.translate("@nl/plain", "%1\n");
format.rich = m_catalog.translate("@nl/rich", "%1<br/>");
m_formats.append(format);
// strip the tags only
format.tag = QString::fromLatin1("application");
format.plain = QString::fromLatin1("%1");