Re: Full Gettext support in KBabel

Chusslove Illich <[email protected]> Tue, 25 Oct 2005 13:20:32 +0200
Newsgroups gmane.comp.kde.devel.kbabel
Message-ID <[email protected]>
> [: Nicolas Goutte :]
> I do not know anymore. It can be good to tell that it is KBabel who has
> inserted it, it can be also bad. As this probably depends on the user, I
> think that there will not be any definitive answer anyway.

True...

Just one nitpick more: how about a tiny patch for kdelibs, to add proper 
syntax highlighting for msgctxt to Kate part? Attached.

-- 
Chusslove Illich (Часлав Илић)

_______________________________________________
kbabel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kbabel
patch_pohighlighting.diff (text/x-diff, 772 B)
Index: kate/data/gettext.xml
===================================================================
--- kate/data/gettext.xml	(revision 472678)
+++ kate/data/gettext.xml	(working copy)
@@ -28,7 +28,7 @@
 
     <contexts>
       <context name = "Normal" attribute = "Normal Text" lineEndContext="#stay">
-        <RegExpr attribute = "Keyword" String = "^(msgid_plural|msgid|msgstr)" context="#stay"/>
+        <RegExpr attribute = "Keyword" String = "^(msgid_plural|msgid|msgstr|msgctxt)" context="#stay"/>
         <RegExpr attribute = "Automatic Comment" String = "#\..*$" context="#stay" column="0"/>
         <RegExpr attribute = "Reference" String = "#:.*$" context="#stay" column="0"/>
         <RegExpr attribute = "Flag" String = "#,.*$" context="#stay" column="0"/>
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDXhUDMSGXgigGr3ERAqxyAJ9E9B+XF/Y+XA3l2/n2ku1gM5EzfgCfcU4g
+30AdvnFOAchlLiN2uRBoXs=
=oHY7
-----END PGP SIGNATURE-----