25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-30 16:36:29 +01:00
xmpp.chapril.org-ejabberd/contrib/extract_translations
Badlop 5afe7cfafb * src/translate.erl: Support additional files (EJAB-925)
* contrib/extract_translations/extract_translations.erl: Likewise
* contrib/extract_translations/prepare-translation.sh: Likewise

SVN Revision: 2044
2009-04-27 20:55:35 +00:00
..
extract_translations.erl * src/translate.erl: Support additional files (EJAB-925) 2009-04-27 20:55:35 +00:00
prepare-translation.sh * src/translate.erl: Support additional files (EJAB-925) 2009-04-27 20:55:35 +00:00
README * contrib/extract_translations/README: Better phrasing (thanks to 2005-05-01 19:14:30 +00:00

extract_translations - auxiliary tool that extracts lines to be translated
from ejabberd source tree.

Building:
    erlc extract_translations.erl

Invoking 1:
    erl -noinput -s extract_translations -extra dirname message_file

    where dirname is the directory "src" in ejabberd's source tree root,
    message_file is a file with translated messages (src/msgs/*.msg).

    Result is a list of messages from source files which aren't contained in
    message file.

Invoking 2:
    erl -noinput -s extract_translations -extra -unused dirname message_file

    Result is a list of messages from message file which aren't in source
    files anymore.