Re: translations when creating actions from an xml definition

2015-01-03 Thread Boudewijn Rempt
On Sat, 3 Jan 2015, Albert Astals Cid wrote: I don't understand your question. You're creating a KAction manually? Yes, trying to create actions from a definition in the .action file. Then call i18n in your C++ code and make sure the text from your .action file is extracted in Messages.sh, n

Re: translations when creating actions from an xml definition

2015-01-03 Thread Albert Astals Cid
El Dissabte, 3 de gener de 2015, a les 22:59:29, Boudewijn Rempt va escriure: > On Sat, 3 Jan 2015, Albert Astals Cid wrote: > > I don't understand your question. You're creating a KAction manually? > > Yes, trying to create actions from a definition in the .action file. Is that something KDE sta

Re: translations when creating actions from an xml definition

2015-01-03 Thread Albert Astals Cid
El Dissabte, 3 de gener de 2015, a les 11:19:02, Boudewijn Rempt va escriure: > I'm currently trying to clean up the way actions are creating in Krita, > and I want use the Action definition from > http://www.kde.org/standards/kxmlgui/1.0/kxmlgui.xsd with a bit of an > extension to do that. > > Th

translations when creating actions from an xml definition

2015-01-03 Thread Boudewijn Rempt
I'm currently trying to clean up the way actions are creating in Krita, and I want use the Action definition from http://www.kde.org/standards/kxmlgui/1.0/kxmlgui.xsd with a bit of an extension to do that. The Action type has But it seems that those attributes aren't actually used anywhe