From 351135a8455f96d24493d651e56673d4b563c271 Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 10 Jun 2008 07:56:22 +0000 Subject: [PATCH] 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 --- gosa-core/update-gosa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2