]>
Commit | Line | Data |
---|---|---|
1 | --- FreeWnn-1.1.1-a017.org/Wnn/etc/msg.c Tue Mar 21 01:31:33 2000 | |
2 | +++ FreeWnn-1.1.1-a017/Wnn/etc/msg.c Thu Jul 6 11:41:34 2000 | |
3 | @@ -457,12 +457,12 @@ | |
4 | { | |
5 | struct msg_cat *cd; | |
6 | ||
7 | - cd = msg_open ("msg", "%L", "ja_JP"); | |
8 | + cd = msg_open ("msg", "%L", "ja"); | |
9 | ||
10 | - printf (msg_get (cd, 5, "message not found\n", "ja_JP"), 555); | |
11 | + printf (msg_get (cd, 5, "message not found\n", "ja"), 555); | |
12 | printf (msg_get (cd, 6, "message not found\n", "zh_CN")); | |
13 | printf (msg_get (cd, -1, "", "ja_JP"), 555); | |
14 | - printf (msg_get (cd, 2, "message not found\n", "ja_JP"), "abc"); | |
15 | + printf (msg_get (cd, 2, "message not found\n", "ja"), "abc"); | |
16 | printf (msg_get (cd, 100, "message not found\n", "zh_CN"), "abc"); | |
17 | } | |
18 | #endif /* not_use */ | |
19 | --- FreeWnn-1.1.1-a017.org/Wnn/include/jd_sock.h Thu Feb 24 00:31:29 2000 | |
20 | +++ FreeWnn-1.1.1-a017/Wnn/include/jd_sock.h Thu Jul 6 11:43:16 2000 | |
21 | @@ -67,7 +67,7 @@ | |
22 | #ifdef JAPANESE /* Japanese */ | |
23 | # define WNN_PORT_IN (0x5701) | |
24 | static char *sockname = "/tmp/jd_sockV4"; /* for jserver */ | |
25 | -# define LANG_NAME "ja_JP" | |
26 | +# define LANG_NAME "ja" | |
27 | # define SERVERNAME "wnn4" | |
28 | # define MESSAGE_FILE "jserver.msg" | |
29 | #else /* JAPANESE */ | |
30 | @@ -98,7 +98,7 @@ | |
31 | ||
32 | # define WNN_PORT_IN (0x5701) | |
33 | static char *sockname = "/tmp/jd_sockV4"; /* for jserver */ | |
34 | -# define LANG_NAME "ja_JP" | |
35 | +# define LANG_NAME "ja" | |
36 | # define SERVERNAME "wnn4" | |
37 | # define MESSAGE_FILE "jserver.msg" | |
38 | #endif /* KOREAN */ | |
39 | --- FreeWnn-1.1.1-a017.org/Wnn/include/jslib.h Thu Feb 24 00:31:30 2000 | |
40 | +++ FreeWnn-1.1.1-a017/Wnn/include/jslib.h Thu Jul 6 11:44:15 2000 | |
41 | @@ -394,8 +394,8 @@ | |
42 | /* | |
43 | JSLIB function declaration | |
44 | */ | |
45 | -#define js_open(server, timeout) js_open_lang(server, "ja_JP", timeout) | |
46 | -#define js_connect(server,env_name) js_connect_lang(server, env_name, "ja_JP") | |
47 | +#define js_open(server, timeout) js_open_lang(server, "ja", timeout) | |
48 | +#define js_connect(server,env_name) js_connect_lang(server, env_name, "ja") | |
49 | ||
50 | extern WNN_JSERVER_ID *js_open_lang (); | |
51 | extern int js_close (); | |
52 | --- FreeWnn-1.1.1-a017.org/Wnn/include/msg.h Thu Feb 24 00:31:30 2000 | |
53 | +++ FreeWnn-1.1.1-a017/Wnn/include/msg.h Thu Jul 6 11:44:27 2000 | |
54 | @@ -50,7 +50,7 @@ | |
55 | /* | |
56 | #define DEF_LANG "C" | |
57 | */ | |
58 | -#define DEF_LANG "ja_JP" | |
59 | +#define DEF_LANG "ja" | |
60 | ||
61 | extern struct msg_cat *msg_open (); | |
62 | extern char *msg_get (); | |
63 | --- FreeWnn-1.1.1-a017.org/Wnn/include/wnn_config.h Thu Feb 24 00:31:30 2000 | |
64 | +++ FreeWnn-1.1.1-a017/Wnn/include/wnn_config.h Thu Jul 6 11:45:12 2000 | |
65 | @@ -44,7 +44,7 @@ | |
66 | #define WNN_CSERVER_ENV "CSERVER" | |
67 | #define WNN_KSERVER_ENV "KSERVER" | |
68 | #define WNN_TSERVER_ENV "TSERVER" | |
69 | -#define WNN_J_LANG "ja_JP" | |
70 | +#define WNN_J_LANG "ja" | |
71 | #define WNN_C_LANG "zh_CN" | |
72 | #define WNN_K_LANG "ko_KR" | |
73 | #define WNN_T_LANG "zh_TW" | |
74 | @@ -79,7 +79,7 @@ | |
75 | /* for jserver */ | |
76 | #ifndef SERVER_INIT_FILE | |
77 | # ifdef JAPANESE | |
78 | -# define SERVER_INIT_FILE "/ja_JP/jserverrc" | |
79 | +# define SERVER_INIT_FILE "/ja/jserverrc" | |
80 | # else /* JAPANESE */ | |
81 | # ifdef CHINESE | |
82 | # ifdef TAIWANESE | |
83 | @@ -91,7 +91,7 @@ | |
84 | # ifdef KOREAN | |
85 | # define SERVER_INIT_FILE "/ko_KR/kserverrc" | |
86 | # else /* KOREAN */ | |
87 | -# define SERVER_INIT_FILE "/ja_JP/jserverrc" /* Default */ | |
88 | +# define SERVER_INIT_FILE "/ja/jserverrc" /* Default */ | |
89 | # endif /* KOREAN */ | |
90 | # endif /* CHINESE */ | |
91 | # endif /* JAPANESE */ | |
92 | @@ -109,7 +109,7 @@ | |
93 | ||
94 | #define ENVRCFILE "/wnnenvrc" | |
95 | #ifndef HINSIDATA_FILE | |
96 | -# define HINSIDATA_FILE "/ja_JP/hinsi.data" | |
97 | +# define HINSIDATA_FILE "/ja/hinsi.data" | |
98 | #endif /* HINSIDATA_FILE */ | |
99 | ||
100 | #define USR_DIC_DIR_VAR "@USR" | |
101 | --- FreeWnn-1.1.1-a017.org/Wnn/jd/serverdefs Sun Jan 30 12:40:48 2000 | |
102 | +++ FreeWnn-1.1.1-a017/Wnn/jd/serverdefs Thu Jul 6 11:40:36 2000 | |
103 | @@ -30,7 +30,7 @@ | |
104 | ; | |
105 | ||
106 | ;lang_name machine_name unix_domain_socket_name service_name port_num | |
107 | -ja_JP jserver /tmp/jd_sockV4 wnn4 22273 | |
108 | +ja jserver /tmp/jd_sockV4 wnn4 22273 | |
109 | japanese jserver /tmp/jd_sockV4 wnn4 22273 | |
110 | nihongo jserver /tmp/jd_sockV4 wnn4 22273 | |
111 | zh_CN cserver /tmp/cd_sockV4 wnn4_Cn 22289 | |
112 | --- FreeWnn-1.1.1-a017.org/Wnn/jlib/jl.c Tue Mar 21 01:21:12 2000 | |
113 | +++ FreeWnn-1.1.1-a017/Wnn/jlib/jl.c Thu Jul 6 11:46:00 2000 | |
114 | @@ -442,7 +442,7 @@ | |
115 | if (!lang || !*lang) | |
116 | { | |
117 | /* Sorry! Default is Japanese. :-) */ | |
118 | - strcpy (p_lang, "ja_JP"); | |
119 | + strcpy (p_lang, "ja"); | |
120 | } | |
121 | else | |
122 | { | |
123 | --- FreeWnn-1.1.1-a017.org/Wnn/uum/header.c Thu Feb 24 00:31:42 2000 | |
124 | +++ FreeWnn-1.1.1-a017/Wnn/uum/header.c Thu Jul 6 11:46:50 2000 | |
125 | @@ -131,7 +131,7 @@ | |
126 | ||
127 | FuncDataBase function_db[] = { | |
128 | #ifdef JAPANESE | |
129 | - {"ja_JP", | |
130 | + {"ja", | |
131 | {NULL, NULL, call_t_redraw_move_normal, | |
132 | call_t_redraw_move_1_normal, call_t_redraw_move_2_normal, | |
133 | call_t_print_l_normal, NULL, char_len_normal, char_q_len_normal, |