diff options
author | Bo Yang <boyang@suse.de> | 2008-10-30 17:53:52 +0800 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-11-13 12:43:58 +0100 |
commit | a8722a190b65ddd4e6e958c6e8b28b268531d130 (patch) | |
tree | e6ab1d49079ab5182de95ceb163f2c5db6b8b4ea /source3/locale/pam_winbind | |
parent | 5e25f5f4f2b5b8dfd31206ebdc295c00870effe9 (diff) | |
download | samba-a8722a190b65ddd4e6e958c6e8b28b268531d130.tar.gz samba-a8722a190b65ddd4e6e958c6e8b28b268531d130.tar.bz2 samba-a8722a190b65ddd4e6e958c6e8b28b268531d130.zip |
i18n/l10n pam_winbind
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/locale/pam_winbind')
-rwxr-xr-x | source3/locale/pam_winbind/genmsg | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/source3/locale/pam_winbind/genmsg b/source3/locale/pam_winbind/genmsg new file mode 100755 index 0000000000..5aa258aa85 --- /dev/null +++ b/source3/locale/pam_winbind/genmsg @@ -0,0 +1,25 @@ +#!/bin/sh + +FILES="../../nsswitch/pam_winbind.c ../../nsswitch/pam_winbind.h" +LANGS="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" + +XGETTEXT=xgettext +MSGMERGE=msgmerge + +WIDTH=256 + +$XGETTEXT --default-domain="pam_winbind" \ + --add-comments \ + --keyword=_ --keyword=N_ \ + --width=${WIDTH} \ + ${FILES} + +for lang in ${LANGS}; do + echo -n $lang + touch ${lang}.po + mv ${lang}.po ${lang}.po.old + ${MSGMERGE} --width=${WIDTH} ${lang}.po.old pam_winbind.po -o ${lang}.po + rm -fr ${lang}.po.old +done + +rm -fr pam_winbind.po |