From 60d66f8f8dfddfc968dd24ae2b530e07ad77e905 Mon Sep 17 00:00:00 2001 From: Gerhard Jungwirth Date: Fri, 6 Nov 2015 10:05:06 +0100 Subject: [PATCH] MT#16113 reduce l10n spam in commits By not saving the line numbers. Change-Id: Ib71bd0dd4a7daf4e4bf2d714fbddc91db0d84f7e --- script/extract_i18n.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/extract_i18n.sh b/script/extract_i18n.sh index a6fed83ef8..9c66d8f7b7 100755 --- a/script/extract_i18n.sh +++ b/script/extract_i18n.sh @@ -34,3 +34,6 @@ for po in $(find lib/NGCP/Panel/I18N -name "*.po"); do echo; echo "Merging $po"; echo msgmerge --no-fuzzy-matching --update $po $POT done + +echo; echo "Removing line numbers"; echo +sed -i -e '/#: /s!\(\(lib\|share\)\S*\):[0-9]*!\1!g' lib/NGCP/Panel/I18N/*