announcement: Kwave is in kdereview
Burkhard Lück
lueck at hube-lueck.de
Sun Oct 9 17:52:18 BST 2016
Am Sonntag, 9. Oktober 2016, 18:05:29 CEST schrieb Friedrich W. H. Kossebau:
> What breaks exactly?
https://api.kde.org/frameworks/ki18n/html/prg_guide.html#link_noncode:
KXmlGui (.rc) files
Since .rc files are interpreted at runtime, the translation domain connection
is established simply by adding the translationDomain attribute to the top
element:
1 <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
2 <kpartgui name="foolib_part" version="55" translationDomain="foolib">
3 ...
If the .rc file belongs to application rather than library source, it is not
necessary to set translationDomain. If not set, translations will be looked up
in the domain set with KLocalizedString::setApplicationDomain call in the
code.
--
Burkhard Lück
More information about the kde-core-devel
mailing list