pamac-classic/create_mo_files.sh

8 lines
272 B
Bash
Raw Normal View History

#! /bin/sh
for i in `ls po | sed s'|.po||'` ; do
mkdir -p "./locale/$i/LC_MESSAGES/"
msgfmt -c po/$i.po -o "./locale/$i/LC_MESSAGES/$i.mo"
done
itstool -j ./data/polkit/org.manjaro.pamac.policy.in -o ./data/polkit/org.manjaro.pamac.policy `find "./locale/" -name *.mo`