2014-05-28 15:21:37 +05:30
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Run this command in the top level directory to create the translation template:
|
|
|
|
|
2014-06-24 17:50:13 +05:30
|
|
|
SRCDIR=$(dirname ${0})
|
|
|
|
test -z "${SRCDIR}" && SRCDIR=.
|
|
|
|
|
2022-08-29 13:37:43 +05:30
|
|
|
if [ -d po-man ] ; then
|
|
|
|
echo "po-man: directory exists, will be reused"
|
2014-05-28 15:21:37 +05:30
|
|
|
else
|
2022-08-29 13:37:43 +05:30
|
|
|
mkdir -p po-man
|
2014-05-28 15:21:37 +05:30
|
|
|
fi
|
|
|
|
|
2022-08-29 13:37:43 +05:30
|
|
|
PO_FILES="po-man/*.po"
|
2018-04-11 10:30:00 +05:30
|
|
|
|
2014-06-24 17:50:13 +05:30
|
|
|
po4a-updatepo -f man -m ${SRCDIR}/free.1 \
|
|
|
|
-m ${SRCDIR}/kill.1 \
|
|
|
|
-m ${SRCDIR}/pgrep.1 \
|
|
|
|
-m ${SRCDIR}/pidof.1 \
|
|
|
|
-m ${SRCDIR}/pkill.1 \
|
|
|
|
-m ${SRCDIR}/pmap.1 \
|
|
|
|
-m ${SRCDIR}/pwdx.1 \
|
|
|
|
-m ${SRCDIR}/skill.1 \
|
|
|
|
-m ${SRCDIR}/slabtop.1 \
|
|
|
|
-m ${SRCDIR}/snice.1 \
|
|
|
|
-m ${SRCDIR}/sysctl.8 \
|
|
|
|
-m ${SRCDIR}/sysctl.conf.5 \
|
|
|
|
-m ${SRCDIR}/tload.1 \
|
|
|
|
-m ${SRCDIR}/uptime.1 \
|
|
|
|
-m ${SRCDIR}/vmstat.8 \
|
|
|
|
-m ${SRCDIR}/w.1 \
|
|
|
|
-m ${SRCDIR}/watch.1 \
|
2022-08-29 13:37:43 +05:30
|
|
|
-p po-man/template-man.pot ${PO_FILES}
|
2014-07-17 20:40:10 +05:30
|
|
|
|
2014-06-24 17:50:13 +05:30
|
|
|
po4a-updatepo -f man -m ${SRCDIR}/ps/ps.1 \
|
2022-08-29 13:37:43 +05:30
|
|
|
-p po-man/template-man-ps.pot
|
2014-05-28 15:21:37 +05:30
|
|
|
|
2014-06-24 17:50:13 +05:30
|
|
|
po4a-updatepo -f man -m ${SRCDIR}/top/top.1 \
|
2022-08-29 13:37:43 +05:30
|
|
|
-p po-man/template-man-top.pot
|
2014-05-28 15:21:37 +05:30
|
|
|
|
2014-07-17 20:40:10 +05:30
|
|
|
# Rename the file according to the version of your (pre-release) tarball.
|
2014-05-28 15:21:37 +05:30
|
|
|
# Send the new file together with a link to the tarball to the TP coordinators:
|
2014-06-24 17:50:13 +05:30
|
|
|
# <coordinator@translationproject.org>
|