Update readme
This commit is contained in:
parent
42fb68518e
commit
42106896cb
13
README.rst
13
README.rst
|
@ -19,11 +19,22 @@ To merge translations from contributors to your files::
|
||||||
To merge translations from inside a single repository, usefull when simple
|
To merge translations from inside a single repository, usefull when simple
|
||||||
strings can appear in multiple .po files::
|
strings can appear in multiple .po files::
|
||||||
|
|
||||||
pomerge --from *.po **.*.po --to *.po **/*.po
|
pomerge --from **.*.po --to **/*.po
|
||||||
|
|
||||||
Note that ``pomerge`` does not care about po file names, a translation
|
Note that ``pomerge`` does not care about po file names, a translation
|
||||||
from one file can land in another as long as their msgid are identical.
|
from one file can land in another as long as their msgid are identical.
|
||||||
|
|
||||||
|
``--from`` and ``--to`` are optional, when not given, pomerge will use
|
||||||
|
a temporay file. So::
|
||||||
|
|
||||||
|
pomerge --from a/**/*.po --to b/**/*.po
|
||||||
|
|
||||||
|
and::
|
||||||
|
|
||||||
|
pomerge --from a/**/*.po
|
||||||
|
pomerge --to b/**/*.po
|
||||||
|
|
||||||
|
are equivalent.
|
||||||
|
|
||||||
The style in your ``.po`` files may change a lot, completly destroying
|
The style in your ``.po`` files may change a lot, completly destroying
|
||||||
the readability of git diffs, to fix this I use
|
the readability of git diffs, to fix this I use
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -8,7 +8,7 @@ with open('README.rst') as readme_file:
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='pomerge',
|
name='pomerge',
|
||||||
version='0.1.0',
|
version='0.1.1',
|
||||||
description="Merge known translations between .po files.",
|
description="Merge known translations between .po files.",
|
||||||
long_description=readme,
|
long_description=readme,
|
||||||
author="Julien Palard",
|
author="Julien Palard",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user