-
Notifications
You must be signed in to change notification settings - Fork 0
/
gen_pot.sh
executable file
·48 lines (40 loc) · 1.93 KB
/
gen_pot.sh
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
47
48
#!/bin/sh
# mkdir -p pot
rxgettext lib/ninix_main.rb -o pot/ninix_main.pot
rxgettext lib/ninix/alias.rb -o pot/alias.pot
rxgettext lib/ninix/balloon.rb -o pot/balloon.pot
rxgettext lib/ninix/case_insensitive_file.rb -o pot/case_insensitive_file.pot
rxgettext lib/ninix/communicate.rb -o pot/communicate.pot
rxgettext lib/ninix/config.rb -o pot/config.pot
rxgettext lib/ninix/dll.rb -o pot/dll.pot
rxgettext lib/ninix/entry_db.rb -o pot/entry_db.pot
rxgettext lib/ninix/home.rb -o pot/home.pot
rxgettext lib/ninix/http.rb -o pot/http.pot
rxgettext lib/ninix/install.rb -o pot/install.pot
rxgettext lib/ninix/keymap.rb -o pot/keymap.pot
rxgettext lib/ninix/kinoko.rb -o pot/kinoko.pot
rxgettext lib/ninix/lock.rb -o pot/lock.pot
rxgettext lib/ninix/logging.rb -o pot/logging.pot
rxgettext lib/ninix/makoto.rb -o pot/makoto.pot
rxgettext lib/ninix/menu.rb -o pot/menu.pot
rxgettext lib/ninix/metamagic.rb -o pot/metamagic.pot
rxgettext lib/ninix/nekodorif.rb -o pot/nekodorif.pot
rxgettext lib/ninix/ngm.rb -o pot/ngm.pot
rxgettext lib/ninix/pix.rb -o pot/pix.pot
rxgettext lib/ninix/prefs.rb -o pot/prefs.pot
rxgettext lib/ninix/sakura.rb -o pot/sakura.pot
rxgettext lib/ninix/script.rb -o pot/script.pot
rxgettext lib/ninix/script_log.rb -o pot/script_log.pot
rxgettext lib/ninix/seriko.rb -o pot/seriko.pot
rxgettext lib/ninix/sstp.rb -o pot/sstp.pot
rxgettext lib/ninix/sstplib.rb -o pot/sstplib.pot
rxgettext lib/ninix/surface.rb -o pot/surface.pot
rxgettext lib/ninix/update.rb -o pot/update.pot
rxgettext lib/ninix/version.rb -o pot/version.pot
rmsgcat pot/*.pot -o ninix-kagari.pot
# rm -r pot/* and rmdir pot
# rmsgmerge -o new.pot po/ja/ninix-kagari.po ninix-kagari.po
# edit new.pot and mv new.pot po/ja/ninix-kagari.po
# cp ninix-kagari.pot po/ja/ninix-kagari.po and edit ninix-kagari.pot
# msgfmt po/ja/ninix-kagari.po -o locale/ja/LC_MESSAGES/ninix-kagari.mo
# msgunfmt -o po/ja/ninix-kagari.po locale/ja/LC_MESSAGES/ninix-kagari.mo