| Home | Trees | Indices | Help |
|
|---|
|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Converts a given .po file (PHP Format) to a Python format .po file, the difference being
how variable substitutions work. PHP uses a %1$s format, and Python uses
a {0} format (zero indexed). This method will convert, e.g.:
I have %2$s apples and %1$s oranges
to
I have {1} apples and {0} oranges
This method ignores strings with %s as both languages will recognize that.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Apr 12 18:12:00 2011 | http://epydoc.sourceforge.net |