diff options
author | Pavel Zuna <pzuna@redhat.com> | 2011-02-21 14:54:05 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-03-01 10:31:42 -0500 |
commit | fc842e36504d39221fbfdafbaf8996b63e20de57 (patch) | |
tree | c8e32bca1ea95a27194c571c9e30821f9eb4dbfb /tests/test_ipalib | |
parent | 18dda28c563770730837e2b771a0acdc2e849158 (diff) | |
download | freeipa-fc842e36504d39221fbfdafbaf8996b63e20de57.tar.gz freeipa-fc842e36504d39221fbfdafbaf8996b63e20de57.tar.xz freeipa-fc842e36504d39221fbfdafbaf8996b63e20de57.zip |
Use pygettext to generate translatable strings from plugin files.
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.
Diffstat (limited to 'tests/test_ipalib')
0 files changed, 0 insertions, 0 deletions