forked from sba1/simplemail
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCreatePOX
More file actions
24 lines (23 loc) · 690 Bytes
/
CreatePOX
File metadata and controls
24 lines (23 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
;!. Execute
;
; This shell script creates the .pox files in the po directory.
; Edit this file and if you have completed coyy/rename it to .po
; Then use msgfmt to create the compiled .mo file which can be used
; by SimpleMail
;
; Example:
; execute CreatePOX de
; ...translating is your job...
; copy po/de.pox po/de.po
; msgfmt po/de.po -o de.mo
;
.key LANG/A
.bra {
.ket }
xgettext --default-domain=simplemail --files-from=po/POTFILES.in --keyword=_ --keyword=N_ --keyword=Q_ --add-comments -o po/simplemail.pot
if not exists po/{LANG}.po
copy po/simplemail.pot po/{LANG}.pox
else
msgmerge po/{LANG}.po po/simplemail.pot -o po/{LANG}.pox --verbose
endif
delete po/simplemail.pot