Re: Full Gettext support in KBabel
Nicolas Goutte <[email protected]> Sat, 22 Oct 2005 21:08:25 +0200
| Newsgroups | gmane.comp.kde.devel.kbabel |
|---|---|
| Message-ID | <[email protected]> |
On Saturday 22 October 2005 20:54, Chusslove Illich wrote: > > [: Stephan Kulow :] > > We will change to standard gettext before 4.0 - if kbabel 3.5 has to be > > changed for that, be it! > > This sounds like a licence for "change as needed" :) > > I've added upon Nicolas' patch, making msgctxt a normal member of the > internal data: proper support in Catalog and CatalogItem, and proper > import and export in Gettext filter (patch_internals.diff). > > I've tried to fool around with GUI, eg. make an extra tab in msgid pane, > but it proved too much for me just by looking for analogies :) Instead, > for debug purposes, I put msgctxt below the msgid in msgid pane, separated > by a "Inserted by KBabel..." sort of line (patch_interface.diff). Perhaps > it would still not be too hard to add extra GUI element for someone who > actually knows what to do :) I think that the internal part is right, especially that it protects the context from being corrupted by the user. As for the GUI part, I don't know. (Today I had thought about a similar idea, while keeping the Gettext context in the comment.) Have a nice day!