From 8fef94cd7d12e666b495e1c9087d24f93d514e0a Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 27 Jun 2016 10:58:47 +0200 Subject: [PATCH] po: make the linguas script regenerate the POT file So we don't have to remember its awkward target name. --- po/update_linguas.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/po/update_linguas.sh b/po/update_linguas.sh index dc473eca..a1d3612b 100755 --- a/po/update_linguas.sh +++ b/po/update_linguas.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Execute this is the po/ subdir. +# Let this be executed in the po/ subdir. cd "$(dirname "$0")" || exit echo "Updating translations via TP" @@ -15,10 +15,5 @@ if [ -n "${NEWSTUFF}" ]; then echo $(printf '%s\n' *.po | LC_ALL=C sort | sed 's/\.po//g') >>LINGUAS fi -echo "Remerging and recompiling the PO files..." -make - -#echo "Staging the files" -#git add -v nano.pot -#git add -v *.po -#git add -v LINGUAS +echo "Regenerating POT file and remerging and recompiling PO files..." +make update-po