From: janw Date: Tue, 10 Jun 2008 07:56:22 +0000 (+0000) Subject: Use only the first translation (=core) if multiple were found. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=351135a8455f96d24493d651e56673d4b563c271;p=gosa.git Use only the first translation (=core) if multiple were found. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11272 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa index a8827e8cd..55214d133 100755 --- a/gosa-core/update-gosa +++ b/gosa-core/update-gosa @@ -177,7 +177,7 @@ function rescan_i18n() } /* Cat all these po files into one single file */ - system ("(cd ".LOCALE_DIR." && msgcat ".implode(" ", $po_files)." > compiled/${language}/LC_MESSAGES/messages.po)", $val); + system ("(cd ".LOCALE_DIR." && msgcat --use-first ".implode(" ", $po_files)." > compiled/${language}/LC_MESSAGES/messages.po)", $val); if ($val != 0){ echo "Merging of message files failed - aborted"; exit (4);