From db4ee12e76d797fcb59ee9860c27a5c8a28edc4b Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 5 Jun 2008 15:47:10 +0000 Subject: [PATCH] Added simple locale extractor git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11251 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/contrib/extract-locale | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 gosa-core/contrib/extract-locale 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 -- 2.30.2