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/*