forked from vito/chyrp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
update_gettext
executable file
·46 lines (42 loc) · 3.41 KB
/
update_gettext
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh
ruby gettext.rb > ./includes/locale/en_US.pot
ruby gettext.rb ./feathers/audio/ --domain=audio > ./feathers/audio/locale/en_US.pot
ruby gettext.rb ./feathers/chat/ --domain=chat > ./feathers/chat/locale/en_US.pot
ruby gettext.rb ./feathers/link/ --domain=link > ./feathers/link/locale/en_US.pot
ruby gettext.rb ./feathers/photo/ --domain=photo > ./feathers/photo/locale/en_US.pot
ruby gettext.rb ./feathers/quote/ --domain=quote > ./feathers/quote/locale/en_US.pot
ruby gettext.rb ./feathers/text/ --domain=text > ./feathers/text/locale/en_US.pot
ruby gettext.rb ./feathers/video/ --domain=video > ./feathers/video/locale/en_US.pot
ruby gettext.rb ./modules/cacher/ --domain=cacher > ./modules/cacher/locale/en_US.pot
ruby gettext.rb ./modules/comments/ --domain=comments > ./modules/comments/locale/en_US.pot
ruby gettext.rb ./modules/markdown/ --domain=markdown > ./modules/markdown/locale/en_US.pot
ruby gettext.rb ./modules/paging/ --domain=paging > ./modules/paging/locale/en_US.pot
ruby gettext.rb ./modules/read_more/ --domain=read_more > ./modules/read_more/locale/en_US.pot
ruby gettext.rb ./modules/aggregator/ --domain=aggregator > ./modules/aggregator/locale/en_US.pot
ruby gettext.rb ./modules/smartypants/ --domain=smartypants > ./modules/smartypants/locale/en_US.pot
ruby gettext.rb ./modules/tags/ --domain=tags > ./modules/tags/locale/en_US.pot
ruby gettext.rb ./modules/textilize/ --domain=textilize > ./modules/textilize/locale/en_US.pot
ruby gettext.rb ./modules/swfupload/ --domain=swfupload > ./modules/swfupload/locale/en_US.pot
ruby gettext.rb ./themes/stardust/ --domain=theme > ./themes/stardust/locale/en_US.pot
# msgfmt -v ./includes/locale/en_US.pot -o ./includes/locale/en_US.mo
#
# msgfmt -v ./feathers/audio/locale/en_US.pot -o ./feathers/audio/locale/en_US.mo
# msgfmt -v ./feathers/chat/locale/en_US.pot -o ./feathers/chat/locale/en_US.mo
# msgfmt -v ./feathers/link/locale/en_US.pot -o ./feathers/link/locale/en_US.mo
# msgfmt -v ./feathers/photo/locale/en_US.pot -o ./feathers/photo/locale/en_US.mo
# msgfmt -v ./feathers/quote/locale/en_US.pot -o ./feathers/quote/locale/en_US.mo
# msgfmt -v ./feathers/text/locale/en_US.pot -o ./feathers/text/locale/en_US.mo
# msgfmt -v ./feathers/video/locale/en_US.pot -o ./feathers/video/locale/en_US.mo
#
# msgfmt -v ./modules/cacher/locale/en_US.pot -o ./modules/cacher/locale/en_US.mo
# msgfmt -v ./modules/comments/locale/en_US.pot -o ./modules/comments/locale/en_US.mo
# msgfmt -v ./modules/markdown/locale/en_US.pot -o ./modules/markdown/locale/en_US.mo
# msgfmt -v ./modules/paging/locale/en_US.pot -o ./modules/paging/locale/en_US.mo
# msgfmt -v ./modules/read_more/locale/en_US.pot -o ./modules/read_more/locale/en_US.mo
# msgfmt -v ./modules/aggregator/locale/en_US.pot -o ./modules/aggregator/locale/en_US.mo
# msgfmt -v ./modules/smartypants/locale/en_US.pot -o ./modules/smartypants/locale/en_US.mo
# msgfmt -v ./modules/tags/locale/en_US.pot -o ./modules/tags/locale/en_US.mo
# msgfmt -v ./modules/textilize/locale/en_US.pot -o ./modules/textilize/locale/en_US.mo
# msgfmt -v ./modules/swfupload/locale/en_US.pot -o ./modules/swfupload/locale/en_US.mo
#
# msgfmt -v ./themes/stardust/locale/en_US.pot -o ./themes/stardust/locale/en_US.mo