po.vim : PO (portable object) helper functions
script karma |
Rating 6/5,
Downloaded by 1588 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Michael Piefel |
|
script type |
utility |
|
description |
PO files are textfiles which contains translations. These are used by localized programs using gettext.
Ever saw the Emacs PO mode? It's great. This little filetype plugin tries to at least give you some help editing those PO files, and while it's certainly not (yet?) as good as the Emacs PO mode, it's good enough to get the work done.
This script adds some menu entries. No keystrokes defined. There are search functions for the next untranslated entry, the next fuzzy entry, or both; there's a "remove fuzzy" entry. To edit longer entries use "remove quotes"; you then can edit the entry as you like (using "gq", for instance); afterwards add the quotes again with "add quotes". When you're finished, send your file to the translation project (but take care that you filename must be the name the TP Robot requires - use a symlink, for instance). |
|
install details |
You can just source it, but it's better to put it into a filetype plugin directory, such as .vim/ftplugin. Vim will then load it automatically. |
|
script versions (upload new version)
Click on the package to download.
po.vim |
20011221 |
2001-12-21 |
6.0 |
Michael Piefel |
This Christmas release features an improved "Send to Translation Project" function. The plugin can now figure out the correct subject to use for the robot. Core functionality is unchanged. |
po.vim |
20010530 |
2001-08-20 |
6.0 |
Michael Piefel |
Initial upload |
ip used for rating: 3.23.59.187
|