1 /*
2 * message.c
3 * Yet Another Osuwari Multi for X11
4 * (Message Data Module)
5 *
6 * Note:
7 * Including Japanese strings.
8 * Convert EUC, or suitable code for your environment.
9 * ���:
10 * ���ܸ��ʸ����ǡ������ޤޤ�Ƥ��ޤ���
11 * �ţգäʤɡ��ޥ���Ķ��˹�ä������ɤ��Ѵ����Ƥ���������
12 */
13
14 /******** Functions Prototype *********/
15 void SetMsgLang( );
16
17 /******** NadeMsg ********/
18
19 static char *NadeMsg_E[] = {
20 "\"I'm so happy !\"",
21 "\"Please, more NadeNade Me !\"",
22 "... nade ...",
23 "... nade nade ...",
24 ".. nade nade nade ..",
25 ".. nade nade nade nade ..",
26 };
27
28 static char *NadeMsg_J[] = {
29 "�֤������줷���Ǥ�����",
30 "�֤�äȡ��ʤǤʤǤ��Ƥ���������",
31 "�ʤǡ�",
32 "�����ʤǡ�",
33 "���������ʤǡ�",
34 "�������������ʤǡ�",
35 };
36
37 char **NadeMsg = NadeMsg_E;
38
39 /******** FuniMsg ********/
40
41 static char *FuniMsg_E[] = {
42 "\"....Oh, what ?! ...\"",
43 "\".......................\"",
44 "*funi*",
45 " *funi*",
46 " *funi*",
47 " *funi*",
48 };
49
50 static char PsyuMsg_E[] = {
51 "Psyuuuuuuu................"
52 };
53
54 static char *FuniMsg_J[] = {
55 "�֤������β�������",
56 "�֡�������������������",
57 "�դˡ�",
58 "�����դˡ�",
59 "���������դˡ�",
60 "�������������դˡ�",
61 };
62
63 static char PsyuMsg_J[] = {
64 "�ץ��塼��������"
65 };
66
67 char **FuniMsg = FuniMsg_E;
68 char *PsyuMsg = PsyuMsg_E;
69
70 /******** QuitMsg ********/
71
72 static char QuitMsg_E[] = {
73 "Say GoodBye [y/n]?"
74 };
75
76 static char QuitMsg_J[] = {
77 "�⤦���̤�Ǥ����֣١��Ρס�"
78 };
79
80 char *QuitMsg = QuitMsg_E;
81
82 /******** BiffMsg ********/
83
84 static char BiffMsg_E[] = {
85 "Your e-mails have come!"
86 };
87
88 static char BiffMsg_J[] = {
89 "�����Ȥɤ��Ƥޤ���"
90 };
91
92 char *BiffMsg = BiffMsg_E;
93
94 /******* SetMsgLang ********
95 * ��å����������ܸ� <-> �Ѹ�����
96 */
SetMsgLang(isJapanese)97 void SetMsgLang( isJapanese )
98 int isJapanese;
99 {
100 if( isJapanese )
101 {
102 NadeMsg = NadeMsg_J;
103 FuniMsg = FuniMsg_J;
104 PsyuMsg = PsyuMsg_J;
105 QuitMsg = QuitMsg_J;
106 BiffMsg = BiffMsg_J;
107 }
108 else
109 {
110 NadeMsg = NadeMsg_E;
111 FuniMsg = FuniMsg_E;
112 PsyuMsg = PsyuMsg_E;
113 QuitMsg = QuitMsg_E;
114 BiffMsg = BiffMsg_E;
115 }
116 }
117
118 /******** End of File ********/
119
120