mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
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:
parent
f1217c0e64
commit
ae66400fc7
2 changed files with 0 additions and 5 deletions
|
@ -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:
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue