Vim - improved Gettext PO syntax highlighting

Dwayne Bailey dwayne at translate.org.za
Thu Feb 19 14:34:35 UTC 2004


Hi,

For users of Vim I've just uploaded my Gettext PO highlighting file to
http://www.vim.org/scripts/script.php?script_id=913

Download it from http://www.vim.org/scripts/download_script.php?src_id=2758
Please test and send me any bug reports or feature requests.

This version adds a number of useful features that are not in the 
existing syntax highlighting file
* Gettext plurals
* KDE style plurals
* KDE style comments
* KDE desktop file entries have eg. Name= highlighted
* Error checking on KDE plurals and comments
* Mark the fuzzy flag as a TODO item
* Basic HTML highlighting within msgstr and msgid
* Highlights text within HTML tags that could potentially be translated
* Highlights PO header items
* Marks header items that are unset
* Marks copyright header items that are unset
* Highlight variables of type %\\d
* Accelerator keys for KDE, Gnome and OpenOffice are highlighted

-- 
Kind regards
Dwayne Bailey

dwayne at translate.org.za   +27-21-448 7827 / 9265 (work)        
+27-21-448 9574 (fax)     +27-83-443 7114 (cell)

"An English-only, or even an English-mainly, policy necessarily condemns
most people, and thus the country as a whole, to a permanent state of
mediocrity, since people are unable to be spontaneous, creative and
self-confident if they cannot use their first language"        
        Dr Neville Alexander - 'Where English can Serve but not Empower.'

Translate.org.za - Opensource software for all South Africans
A project of the Zuza Software Foundation
Zuza - given freely, get as a gift, obtained freely






More information about the Fedora-trans-list mailing list