1 Star 0 Fork 7

haochiyu/procps

forked from openKylin/procps 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
create-man-pot.sh 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
openKylinBot 提交于 2022-05-14 02:44 . Import Upstream version 3.3.16
#!/bin/sh
#
# Run this command in the top level directory to create the translation template:
SRCDIR=$(dirname ${0})
test -z "${SRCDIR}" && SRCDIR=.
if [ -d man-po ] ; then
echo "man-po: directory exists, will be reused"
else
mkdir -p man-po
fi
PO_FILES="man-po/*.po"
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 \
-p man-po/template-man.pot ${PO_FILES}
po4a-updatepo -f man -m ${SRCDIR}/ps/ps.1 \
-p man-po/template-man-ps.pot
po4a-updatepo -f man -m ${SRCDIR}/top/top.1 \
-p man-po/template-man-top.pot
# Rename the file according to the version of your (pre-release) tarball.
# Send the new file together with a link to the tarball to the TP coordinators:
# <coordinator@translationproject.org>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wang_kl/procps.git
git@gitee.com:wang_kl/procps.git
wang_kl
procps
procps
openkylin/yangtze

搜索帮助