Change po/README to tell translators that they should do `make` at the top-level before submitting their translations. Many common errors will be caught with the `msgfmt --check` run that the Makefile will compile the message catalogs with. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> --- po/README | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/po/README b/po/README index cca8012..4d23ca6 100644 --- a/po/README +++ b/po/README @@ -66,3 +66,17 @@ But then you need remember to remove the comments before you submit the file upstream: perl -pi -e 's/^#: .*\n//' XX.po + + +Testing your changes +-------------------- + +Before you submit your changes go back to the top-level and do: + + make + +On systems with GNU gettext (i.e. not Solaris) this will compile your +changed PO file with `msgfmt --check`, the --check option flags many +common errors, e.g. missing printf format strings, or translated +messages that deviate from the originals in whether they begin/end +with a newline or not. -- 1.7.2.3.313.gcd15 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html