po2tbl.sed
上传用户:xxcykj
上传日期:2007-01-04
资源大小:727k
文件大小:1k
- 1 {
- i
- /* Automatically generated by po2tbl.sed from @PACKAGE NAME@.pot. */
- #if HAVE_CONFIG_H
- # include <config.h>
- #endif
- #include "libgettext.h"
- const struct _msg_ent _msg_tbl[] = {
- h
- s/.*/0/
- x
- }
- /^msgid/ {
- s/msgid[ ]*(".*")/ {1/
- tb
- :b
- N
- s/(.*)"(n)"(.*")/123/
- ta
- s/(.*)n.*/1/
- bc
- :a
- s/(.*)(n.*)/1\2/
- P
- s/.*n(.*)/1/
- tb
- :c
- x
- td
- :d
- s/9(_*)$/_1/
- td
- s/^(_*)$/01/
- s/8(_*)$/91/
- s/7(_*)$/81/
- s/6(_*)$/71/
- s/5(_*)$/61/
- s/4(_*)$/51/
- s/3(_*)$/41/
- s/2(_*)$/31/
- s/1(_*)$/21/
- s/0(_*)$/11/
- s/_/0/g
- x
- G
- s/(.*)n([0-9]*)/1, 2},/
- s/(.*)"$/1/
- p
- }
- $ {
- i
- };
- g
- s/0*(.*)/int _msg_tbl_length = 1;/p
- }
- d