[X2serv-cvs] [CVS] Module x3: Change committed
Brought to you by:
sirvulcan
From: Alex S. <ru...@us...> - 2005-05-01 16:39:22
|
Committer : Alex Schumann <ru...@us...> CVSROOT : /cvsroot/x2serv Module : x3 Commit time: 2005-05-01 16:39:15 UTC Added files: languages/lang_export.sh Log message: adding a language translation helper script. ---------------------- diff included ---------------------- Index: x3/languages/lang_export.sh diff -u /dev/null x3/languages/lang_export.sh:1.1 --- /dev/null Sun May 1 09:39:16 2005 +++ x3/languages/lang_export.sh Sun May 1 09:39:05 2005 @@ -0,0 +1,10 @@ +#!/bin/sh +# +# run this script and pipe the output to LANG/strings.db, then change the english strings +# to LANG. (where LANG is the language code, eg fr, de, etc). DO NOT change the order of %s %d etc +# in the help file! +# +# Then, copy *.help into LANG/ and translate them too. +# +# thanks to Nei for this: +grep -lR ry\ ms ..|grep -v '{arch'|xargs perl -ne 'if(/message_entry msgtab/../{ NULL, NULL }/){print"$1 $2;\n"if/\s+{ (".*?"), (".*") },/}' ----------------------- End of diff ----------------------- |