Christian Mauduit <[EMAIL PROTECTED]> writes: > BTW (not extactly your question, but it's related) in my program ( > http://www.gnu.org/software/liquidwar6/ ) I use a wrapper over gettext ( > see src/funcs.c for code snippets). The idea is to handle charset > conversions through gettext. I also use a quirk & dirty shell script: > > -----8<--------------------------- > #!/bin/sh > > SCRIPT_DIR=../src/script > C_FILE=../src/scriptpo.c > > find $SCRIPT_DIR -type f -a -name "*.scm" \ > | xargs sed "s/^.*( *_ *\\(\\\".*\\\"\\) *).*\$/_(\1)\; \\/\\/ > extracted by scriptpo-update.sh/g" \ > | grep scriptpo-update.sh \ > > $C_FILE > -----8<---------------------------
For this, i think scsh is a good replace. :P [...] > It's easy to use: whenever you want something to be translated, and not > bother about charsets, simply replace: > > "your string" > > with the form: > > (_ "your string") Thanks for the tip ! -- William _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user