[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/kcontrol/kxkb
From: Chusslove Illich <caslav.ilic () gmx ! net>
Date: 2008-05-13 20:32:01
Message-ID: 1210710721.271885.28119.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 807429 by ilic:
Explain why used i18n escaping can actually be done.
M +4 -0 xklavier_adaptor.cpp
--- trunk/KDE/kdebase/workspace/kcontrol/kxkb/xklavier_adaptor.cpp #807428:807429
@@ -72,6 +72,10 @@
KGlobal::locale()->insertCatalog("xkeyboard-config");
// KDE's i18n expects messages to be well-formed XML,
// so use Qt::escape() to replace < with < etc.
+ // Actually we couldn't have done this just like that,
+ // as then an escaped message would not be found in the catalog;
+ // but, by a lucky fiat, xkeyboard-config too wants its messages as
+ // well-formed XML, so they come escaped exactly like this.
#define I18N_KDE(x) i18n(Qt::escape(QString::fromUtf8(x)).toUtf8())
#endif
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic