Update readme

This commit is contained in:
Julien Palard 2017-10-23 22:39:18 +02:00
parent 42fb68518e
commit 42106896cb
2 changed files with 13 additions and 2 deletions

View File

@ -19,11 +19,22 @@ To merge translations from contributors to your files::
To merge translations from inside a single repository, usefull when simple
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
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 readability of git diffs, to fix this I use

View File

@ -8,7 +8,7 @@ with open('README.rst') as readme_file:
setup(
name='pomerge',
version='0.1.0',
version='0.1.1',
description="Merge known translations between .po files.",
long_description=readme,
author="Julien Palard",