python:tests: Use assertMultiLineEqual() to get better failure output
[Samba.git] / source3 / locale / pam_winbind / genmsg
blob29fa9cb13c708975b993dac38db5b680d574abd9
1 #!/bin/sh
3 FILES="../../../nsswitch/pam_winbind.c ../../../nsswitch/pam_winbind.h ../../../libcli/util/nterr.c"
4 LANGS="ar cs da de es fi fr hu it ja ko nb nl pl pt_BR ru sv tr zh_CN zh_TW"
6 XGETTEXT=xgettext
7 MSGMERGE=msgmerge
9 WIDTH=256
11 [ -f pam_winbind.po ] || touch pam_winbind.po
13 $XGETTEXT --default-domain="pam_winbind" \
14 --add-comments \
15 --keyword=_ --keyword=N_ \
16 --width=${WIDTH} \
17 ${FILES}
19 for lang in ${LANGS}; do
20 echo -n $lang
21 touch ${lang}.po
22 mv ${lang}.po ${lang}.po.old
23 ${MSGMERGE} --width=${WIDTH} ${lang}.po.old pam_winbind.po -o ${lang}.po
24 rm -fr ${lang}.po.old
25 done
27 rm -fr pam_winbind.po