Code

removed --omit-header has it scramble .po files when created
authoropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Jul 2006 17:32:36 +0000 (17:32 +0000)
committeropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Jul 2006 17:32:36 +0000 (17:32 +0000)
When removed two warning occurs but you can ignore it

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4106 594d385d-05f5-0310-b6e9-bd551577e9d8

gen_locale.sh

index 0869511e078b10aad7b3ff09ba34a910790de429..a57cea5464bd276e2d745c3523f1e0038fcf5431 100755 (executable)
@@ -34,7 +34,7 @@ mv contrib/gosa.conf.new contrib/gosa.conf
 
 echo "Extracting languages..."
 rm locale/messages.po
-(echo contrib/gosa.conf; find . -name '*.[ctpi][ophn][nlpc]') | xgettext -f - --omit-header --keyword=must -d Domain -L PHP -n -o locale/messages.po
+(echo contrib/gosa.conf; find . -name '*.[ctpi][ophn][nlpc]') | xgettext -f - --keyword=must -d Domain -L PHP -n -o locale/messages.po
 
 echo "Merging po files with existing ones:"
 error=0