README.tools 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. The update.pl script is included here. This script should be run like
  2. this:
  3. ./update.pl [OPTIONS] ...LANGCODE
  4. By default, this script updates the pot file (the po template generated
  5. from the source code) and merges it with the po files (translations).
  6. For instance to do this for Danish, type the following
  7. ./update.pl da
  8. The update.pl script also supports other options, they are:
  9. -V, --version shows the version
  10. -H, --help shows this help page
  11. -P, --pot only generates the potfile
  12. -M, --maintain search for missing files in POTFILES.in
  13. Especially the --maintain option is very handy for package maintainers
  14. to check if you included all the files that have marked strings in the
  15. POTFILES.in, so they will be in the generated pot file (po template).
  16. You should make sure that the files found by the update.pl script are
  17. either distributed or always create during the build process. Otherwise
  18. "make distcheck" may fail preventing the release.
  19. The script supports the --help option for further help, though its not
  20. very extensive for the moment.
  21. Kenneth Christiansen
  22. kenneth@gnu.org
  23. kenneth@gnome.org
  24. update.pl is are copyright 2000 The Free Software Foundation and me.