source: trunk/server/source3/locale/pam_winbind/genmsg

Last change on this file was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 702 bytes
Line 
1#!/bin/sh
2
3FILES="../../../nsswitch/pam_winbind.c ../../../nsswitch/pam_winbind.h ../../libsmb/nterr.c"
4LANGS="af ar bg bn bs ca cs cy da de el en_GB en_US es et fi fr gl gu he hi hr hu id it ja ka km ko lo lt mk mr nb nl pa pl pt_BR pt ro ru si sk sl sr sv ta th tr uk vi wa xh zh_CN zh_TW zu"
5
6XGETTEXT=xgettext
7MSGMERGE=msgmerge
8
9WIDTH=256
10
11$XGETTEXT --default-domain="pam_winbind" \
12 --add-comments \
13 --keyword=_ --keyword=N_ \
14 --width=${WIDTH} \
15 ${FILES}
16
17for lang in ${LANGS}; do
18 echo -n $lang
19 touch ${lang}.po
20 mv ${lang}.po ${lang}.po.old
21 ${MSGMERGE} --width=${WIDTH} ${lang}.po.old pam_winbind.po -o ${lang}.po
22 rm -fr ${lang}.po.old
23done
24
25rm -fr pam_winbind.po
Note: See TracBrowser for help on using the repository browser.