| Home | Trees | Indices | Help |
|
|---|
|
|
|
|||
|
|||
|
|||
|
|||
|
|||
Converts a given .po file (Python Format) to a PHP 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 {1} apples and {0} oranges
to
I have %2$s apples and %1$s oranges
This method ignores strings with %s as both languages will recognize that.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed May 12 18:08:07 2010 | http://epydoc.sourceforge.net |