summaryrefslogtreecommitdiffstats
path: root/install/po/pygettext.py
Commit message (Collapse)AuthorAgeFilesLines
* Use pygettext to generate translatable strings from plugin files.Pavel Zuna2011-03-011-0/+818
This patch replaces xgettext with a custom pygettext to generate translatable strings from plugin files in ipalib/plugins. pygettext was modified to handle plural forms (credit goes to Jan Hendrik Goellner) and had some bugs fixed by myself. We only use it for plugins, because it's the only place where we need to extract docstrings for the built-in help system. I also had to make some changes to the way the built-in documentation systems gets docstrings from modules for this to work.