summaryrefslogtreecommitdiff
path: root/pocompile.sh
blob: 865c38032e8c378278763de3d91e47cadcb37139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# Helper script to compile all .po files in the i18n directroy into .mo files.

# Copied from porthole :)
cd i18n
for ITEM in *.po; do
	LANG=${ITEM/.po/}

	echo "Creating translation file for ${LANG}."

	if [ "$1" == "-emerge" ]; then
		mkdir mo -p
		msgfmt ${ITEM} -o mo/${LANG}.mo
	else
		mkdir ${LANG}/LC_MESSAGES -p
		msgfmt ${ITEM} -o ${LANG}/LC_MESSAGES/portato.mo
	fi
done
&id=02172e39c15272f9567bd39a28ec24d0270ea70f&follow=1'>'templated' and wrapped 'redirect'René 'Necoro' Neumann4-33/+64 2013-04-15Categories: fixRené 'Necoro' Neumann1-5/+17 2013-04-15Add expense should redirect to itselfRené 'Necoro' Neumann1-1/+1 2013-04-15Order constant expenses by descriptionRené 'Necoro' Neumann1-1/+1 2013-04-15Path fixRené 'Necoro' Neumann1-1/+1 2013-04-15Fix the fixer to handle GET-argsRené 'Necoro' Neumann1-1/+2