From 1586bec53d2eddb5496da8b82e54c2d37eb43450 Mon Sep 17 00:00:00 2001 From: tiemay Date: Sun, 21 Sep 2014 18:38:44 -0400 Subject: [PATCH] add usage documentation --- util/updatepo.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/util/updatepo.sh b/util/updatepo.sh index 24d6094..9c602d6 100755 --- a/util/updatepo.sh +++ b/util/updatepo.sh @@ -1,6 +1,17 @@ #!/bin/sh +# # Update/create voxelands po files +# +# To update source texts in the po files, simply execute this script with +# `./updatepo.sh` +# +# To start a localization for a new language, create a directory for it in po/ +# named as it's language code, then execute this script with `./updatepo.sh` +# +# Because we use the --package-name flag, you must have xgettext>=0.17 for +# this script to work. Use `xgettext -V` to check which version you have. +# # an auxiliary function to abort processing with an optional error message abort() {