--===============0862672571== Content-Type: multipart/signed; boundary="nextPart2988572.KzuircGl4d"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2988572.KzuircGl4d Content-Type: multipart/mixed; boundary="Boundary-01=_z6NXIOUJSqp9OSI" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_z6NXIOUJSqp9OSI Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =46or a few months now, I'm using locally a souped up version of PO highlighter. It can highlight the following new stuff: tags and entities in text proper, "previous" message fields (in #| comments), and embedded diffs between new and previous fields. Also keeps track when these elements are broken into several concatenated strings. An example: http://caslav.gmxhome.de/image/kate-syntax-gettext-mod-01.png I was hesitant a bit about submitting these changes, due to the embedded diffs feature: there is no standard syntax for them, PO tools here and there do it differently, and I've just picked the one with {-...-} and {+...+} segments (as produced by an l10n script in KDE repo). But now I think, what the heck, it proved darn useful. Since I'm primarily using Kate for translation work, I would commit the new PO highlighting and maintain it in the future. (Attached the full file instead of a diff, as there are more modifications than the original content...) =2D-=20 Chusslove Illich (=D0=A7=D0=B0=D1=81=D0=BB=D0=B0=D0=B2 =D0=98=D0=BB=D0=B8= =D1=9B) --Boundary-01=_z6NXIOUJSqp9OSI Content-Type: text/xml; charset="utf-8"; name="gettext.xml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gettext.xml" --Boundary-01=_z6NXIOUJSqp9OSI-- --nextPart2988572.KzuircGl4d Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIXN6zMSGXgigGr3ERAvIqAJ4gd4suA2EVr2gZqAimWrxYeqQggwCfT8XE xyCvj6sgHO2C2dbkjgITh6o= =YEuO -----END PGP SIGNATURE----- --nextPart2988572.KzuircGl4d-- --===============0862672571== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel --===============0862672571==--