summaryrefslogtreecommitdiffstats
path: root/mbbsd/vice.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/vice.c')
-rw-r--r--mbbsd/vice.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mbbsd/vice.c b/mbbsd/vice.c
index e774479c..d1a3fb9e 100644
--- a/mbbsd/vice.c
+++ b/mbbsd/vice.c
@@ -1,4 +1,4 @@
-/* $Id: vice.c,v 1.9 2003/06/28 08:49:26 kcwu Exp $ */
+/* $Id$ */
#include "bbs.h"
#define VICE_PLAY BBSHOME "/etc/vice/vice.play"
@@ -106,7 +106,7 @@ vice_main()
i = 0;
move(10, 24);
clrtoeol();
- prints("這一期的發票號碼");
+ prints(SHM->i18nstr[cuser.language][2373]);
while (fgets(serial, 15, fd)) {
if ((ptr = strchr(serial, '\r')))
*ptr = 0;
@@ -119,27 +119,27 @@ vice_main()
j += 9;
j %= 45;
}
- getdata(8, 0, "按'c'開始對獎了(或是任意鍵離開)): ",
+ getdata(8, 0, SHM->i18nstr[cuser.language][2374],
ch, sizeof(ch), LCECHO);
if (ch[0] != 'c' || lockutmpmode(VICE, LOCK_MULTI)) {
fclose(fd);
return 0;
}
- showtitle("發票對獎", BBSNAME);
+ showtitle(SHM->i18nstr[cuser.language][2375], BBSNAME);
rewind(fd);
while (fgets(serial, 15, fd)) {
if ((ptr = strchr(serial, '\n')))
*ptr = 0;
money = TABLE[check(tbingo, serial)];
total += money;
- prints("%s 中了 %d\n", serial, money);
+ prints(SHM->i18nstr[cuser.language][2376], serial, money);
}
pressanykey();
if (total > 0) {
ran_showmfile(VICE_WIN, MAX_WIN_PICTURE);
move(22, 0);
clrtoeol();
- prints("全部的發票中了 %d 塊錢\n", total);
+ prints(SHM->i18nstr[cuser.language][2377], total);
demoney(total);
} else
ran_showmfile(VICE_LOST, MAX_LOST_PICTURE);