mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 22:29:42 +03:00
po: make the linguas script regenerate the POT file
So we don't have to remember its awkward target name.
This commit is contained in:
parent
61d7ca4c41
commit
8fef94cd7d
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Execute this is the po/ subdir.
|
# Let this be executed in the po/ subdir.
|
||||||
cd "$(dirname "$0")" || exit
|
cd "$(dirname "$0")" || exit
|
||||||
|
|
||||||
echo "Updating translations via TP"
|
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
|
echo $(printf '%s\n' *.po | LC_ALL=C sort | sed 's/\.po//g') >>LINGUAS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Remerging and recompiling the PO files..."
|
echo "Regenerating POT file and remerging and recompiling PO files..."
|
||||||
make
|
make update-po
|
||||||
|
|
||||||
#echo "Staging the files"
|
|
||||||
#git add -v nano.pot
|
|
||||||
#git add -v *.po
|
|
||||||
#git add -v LINGUAS
|
|
||||||
|
Loading…
Reference in New Issue
Block a user