From: cajus Date: Thu, 5 Jun 2008 15:47:10 +0000 (+0000) Subject: Added simple locale extractor X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=db4ee12e76d797fcb59ee9860c27a5c8a28edc4b;p=gosa.git Added simple locale extractor git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11251 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/contrib/extract-locale b/gosa-core/contrib/extract-locale new file mode 100755 index 000000000..2fceffbe0 --- /dev/null +++ b/gosa-core/contrib/extract-locale @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ ! -f contrib/extract-locale ]; then + echo "This script has to be executed in the gosa root - preferrable a gosa-all checkout!" + exit 1 +fi + +for i in $(find | grep messages.po | grep -v svn | grep -v LC_MES); do cp $i $(echo $i | sed 's#^.*/\([^/]*\)/[^/]*$#\1.po#'); done