1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/chinese/pine4/files/patch-ba
Steve Price 615932e686 Update to version 4.20.
PR:		14575
Submitted by:	maintainer
1999-11-01 00:41:02 +00:00

1125 lines
32 KiB
Plaintext

--- pine/mailcmd.c.orig Tue Oct 12 06:13:50 1999
+++ pine/mailcmd.c Thu Oct 14 13:29:28 1999
@@ -115,39 +115,39 @@
/*
* List of Select options used by apply_* functions...
*/
-static char *sel_pmt1 = "ALTER message selection : ";
+static char *sel_pmt1 = "更改信件的選擇:";
ESCKEY_S sel_opts1[] = {
- {'a', 'a', "A", "unselect All"},
+ {'a', 'a', "A", "取消所有選擇"},
{'c', 'c', "C", NULL},
- {'b', 'b', "B", "Broaden selctn"},
- {'n', 'n', "N", "Narrow selctn"},
- {'f', 'f', "F", "Flip selected"},
+ {'b', 'b', "B", "擴大選擇"},
+ {'n', 'n', "N", "縮小選擇"},
+ {'f', 'f', "F", "切換選擇"},
{-1, 0, NULL, NULL}
};
-char *sel_pmt2 = "SELECT criteria : ";
+char *sel_pmt2 = "選擇標準:";
static ESCKEY_S sel_opts2[] = {
- {'a', 'a', "A", "select All"},
- {'c', 'c', "C", "select Cur"},
- {'n', 'n', "N", "Number"},
- {'d', 'd', "D", "Date"},
- {'t', 't', "T", "Text"},
- {'s', 's', "S", "Status"},
+ {'a', 'a', "A", "選擇所有"},
+ {'c', 'c', "C", "選擇目前的"},
+ {'n', 'n', "N", "數目"},
+ {'d', 'd', "D", "日期"},
+ {'t', 't', "T", "文字"},
+ {'s', 's', "S", "狀態"},
{-1, 0, NULL, NULL}
};
-static char *sel_pmt3 = "APPLY command : ";
+static char *sel_pmt3 = "套用命令:";
static ESCKEY_S sel_opts3[] = {
- {'d', 'd', "D", "Del"},
- {'u', 'u', "U", "Undel"},
- {'r', 'r', "R", "Reply"},
- {'f', 'f', "F", "Forward"},
- {'%', '%', "%", "Print"},
- {'t', 't', "T", "TakeAddr"},
- {'s', 's', "S", "Save"},
- {'e', 'e', "E", "Export"},
+ {'d', 'd', "D", "刪除"},
+ {'u', 'u', "U", "復原刪除"},
+ {'r', 'r', "R", "回覆"},
+ {'f', 'f', "F", "轉寄"},
+ {'%', '%', "%", "列印"},
+ {'t', 't', "T", "地址簿"},
+ {'s', 's', "S", "存檔"},
+ {'e', 'e', "E", "匯出"},
{ -1, 0, NULL, NULL},
{ -1, 0, NULL, NULL},
{ -1, 0, NULL, NULL},
@@ -157,24 +157,24 @@
static char *sel_flag =
- "Select New, Deleted, Answered, or Important messages ? ";
+ "選擇 新的,已刪除的,已回覆的,或重要的信件?";
static char *sel_flag_not =
- "Select NOT New, NOT Deleted, NOT Answered or NOT Tagged msgs ? ";
+ "選擇 非新的,非已刪除的,非已回覆的,或非被標記的信件?";
static ESCKEY_S sel_flag_opt[] = {
- {'n', 'n', "N", "New"},
- {'*', '*', "*", "Important"},
- {'d', 'd', "D", "Deleted"},
- {'a', 'a', "A", "Answered"},
- {'!', '!', "!", "Not"},
+ {'n', 'n', "N", "新的"},
+ {'*', '*', "*", "重要的"},
+ {'d', 'd', "D", "已刪除的"},
+ {'a', 'a', "A", "已回覆的"},
+ {'!', '!', "!", "非"},
{-1, 0, NULL, NULL}
};
static ESCKEY_S sel_date_opt[] = {
{0, 0, NULL, NULL},
- {ctrl('P'), 12, "^P", "Prev Day"},
- {ctrl('N'), 13, "^N", "Next Day"},
- {ctrl('X'), 11, "^X", "Cur Msg"},
+ {ctrl('P'), 12, "^P", "前一天"},
+ {ctrl('N'), 13, "^N", "後一天"},
+ {ctrl('X'), 11, "^X", "目前的"},
{ctrl('W'), 14, "^W", "Toggle When"},
{KEY_UP, 12, "", ""},
{KEY_DOWN, 13, "", ""},
@@ -183,23 +183,23 @@
static char *sel_text =
- "Select based on To, From, Cc, Recip, Subject fields or All message text ? ";
+ "選擇以 收件人,寄件人,副本,領受者,主題 等欄位為主,或所有的訊息文字?";
static char *sel_not_text =
- "Select based on NOT To, From, Cc, Recip, Subject fields or All message text ? ";
+ "選擇「不」以 收件人,寄件人,副本,領受者,主題 等欄位為主,或所有的訊息文字?";
static ESCKEY_S sel_text_opt[] = {
- {'f', 'f', "F", "From"},
- {'s', 's', "S", "Subject"},
- {'t', 't', "T", "To"},
- {'a', 'a', "A", "All Text"},
- {'c', 'c', "C", "Cc"},
- {'!', '!', "!", "Not"},
- {'r', 'r', "R", "Recipient"},
- {'p', 'p', "P", "Participant"},
+ {'f', 'f', "F", "寄件人"},
+ {'s', 's', "S", "主題"},
+ {'t', 't', "T", "收件人"},
+ {'a', 'a', "A", "所有的訊息文字"},
+ {'c', 'c', "C", "副本"},
+ {'!', '!', "!", "非"},
+ {'r', 'r', "R", "領受者"},
+ {'p', 'p', "P", "關係者"},
{-1, 0, NULL, NULL}
};
static char *select_num =
- "Enter comma-delimited list of numbers (dash between ranges): ";
+ "輸入以逗點分隔的數字串列(範圍以破折號區分):";
/*----------------------------------------------------------------------
@@ -248,7 +248,7 @@
case MC_HELP :
if(state->nr_mode) {
q_status_message(SM_ORDER, 0, 3,
- "No help text currently available");
+ "目前無法取得文字說明");
break;
}
@@ -277,7 +277,7 @@
/*------- View message text --------*/
case MC_VIEW_TEXT :
- if(any_messages(msgmap, NULL, "to View")){
+ if(any_messages(msgmap, NULL, "可供檢視")){
state->next_screen = mail_view_screen;
#if defined(DOS) && !defined(WIN32)
flush_index_cache(); /* save room on PC */
@@ -301,10 +301,10 @@
mn_dec_cur(stream, msgmap);
if(i == mn_get_cur(msgmap))
q_status_message(SM_ORDER, 0, 2,
- "Already on first message in Zoomed Index");
+ "已經到縮放索引中的第一封訊息了");
}
else
- q_status_message(SM_ORDER, 0, 1, "Already on first message");
+ q_status_message(SM_ORDER, 0, 1, "已經到第一封訊息了");
}
break;
@@ -316,7 +316,7 @@
&& (i = mn_get_cur(msgmap)) < mn_get_total(msgmap)){
mn_inc_cur(stream, msgmap);
if(i == mn_get_cur(msgmap))
- any_messages(NULL, "more", "in Zoomed Index");
+ any_messages(NULL, "更多的", "在可縮放索引中");
}
else{
prompt[0] = '\0';
@@ -333,7 +333,7 @@
strcat(prompt, ". No more folders to TAB to.");
}
- any_messages(NULL, (mn_get_total(msgmap) > 0L) ? "more" : NULL,
+ any_messages(NULL, (mn_get_total(msgmap) > 0L) ? "更多的" : NULL,
prompt[0] ? prompt : NULL);
if(!IS_NEWS(stream))
@@ -511,9 +511,9 @@
}
}
else
- q_status_message1(SM_ORDER, 0, 2, "No more %ss",
+ q_status_message1(SM_ORDER, 0, 2, "沒有更多的%s了",
(state->context_current->use&CNTXT_INCMNG)
- ? "incoming folder" : "news group");
+ ? "新進資料匣" : "新聞組群");
break;
}
@@ -530,9 +530,9 @@
*/
if(F_OFF(F_AUTO_OPEN_NEXT_UNREAD, state)){
static ESCKEY_S next_opt[] = {
- {'y', 'y', "Y", "Yes"},
- {'n', 'n', "N", "No"},
- {TAB, 'n', "Tab", "NextNew"},
+ {'y', 'y', "Y", "是"},
+ {'n', 'n', "N", "否"},
+ {TAB, 'n', "Tab", "下一新的"},
{-1, 0, NULL, NULL}
};
@@ -558,7 +558,7 @@
else
any_messages(NULL,
(mn_get_total(msgmap) > 0L)
- ? IS_NEWS(stream) ? "more undeleted" : "more new"
+ ? IS_NEWS(stream) ? "更多遭復原刪除的" : "更多新的"
: NULL,
NULL);
}
@@ -576,7 +576,7 @@
* global "zoom mode" flag to suppress messags from the index
* should suffice.
*/
- if(any_messages(msgmap, NULL, "to Zoom on")){
+ if(any_messages(msgmap, NULL, "可供放大")){
if(unzoom_index(state, msgmap)){
dprint(4, (debugfile, "\n\n ---- Exiting ZOOM mode ----\n"));
q_status_message(SM_ORDER,0,2, "Index Zoom Mode is now off");
@@ -593,7 +593,7 @@
"All messages selected, so not entering Index Zoom Mode");
}
else
- any_messages(NULL, "selected", "to Zoom on");
+ any_messages(NULL, "被選中的", "可供放大");
}
break;
@@ -601,7 +601,7 @@
/*---------- print message on paper ----------*/
case MC_PRINTMSG :
- if(any_messages(msgmap, NULL, "to print"))
+ if(any_messages(msgmap, NULL, "可供列印"))
cmd_print(state, msgmap, 0, in_index);
break;
@@ -609,7 +609,7 @@
/*---------- Take Address ----------*/
case MC_TAKE :
- if(any_messages(msgmap, NULL, "to Take address from"))
+ if(any_messages(msgmap, NULL, "可供取得地址"))
cmd_take_addr(state, msgmap, 0);
break;
@@ -617,7 +617,7 @@
/*---------- Save Message ----------*/
case MC_SAVE :
- if(any_messages(msgmap, NULL, "to Save"))
+ if(any_messages(msgmap, NULL, "可供存檔"))
cmd_save(state, stream, msgmap, 0);
break;
@@ -625,7 +625,7 @@
/*---------- Export message ----------*/
case MC_EXPORT :
- if(any_messages(msgmap, NULL, "to Export")){
+ if(any_messages(msgmap, NULL, "可供匯出")){
cmd_export(state, msgmap, question_line, 0);
state->mangled_footer = 1;
}
@@ -638,9 +638,9 @@
dprint(2, (debugfile, "\n - expunge -\n"));
if(IS_NEWS(stream) && stream->rdonly){
if((del_count = count_flagged(stream, F_DEL)) > 0L){
- state->mangled_footer = 1;
- sprintf(prompt, "Exclude %ld message%s from %s", del_count,
- plural(del_count), pretty_fn(state->cur_folder));
+
+ sprintf(prompt, "自 %s 中排除 %ld 封信件",
+ pretty_fn(state->cur_folder), del_count);
if(F_ON(F_FULL_AUTO_EXPUNGE, state)
|| (F_ON(F_AUTO_EXPUNGE, state)
&& (state->context_current
@@ -662,21 +662,20 @@
state->mangled_body = 1;
state->mangled_header = 1;
- q_status_message2(SM_ORDER, 0, 4, "%s message%s excluded",
- long2string(del_count),
- plural(del_count));
+ q_status_message1(SM_ORDER, 0, 4, "%s 封信件被排除了",
+ long2string(del_count));
}
else
- any_messages(NULL, NULL, "Excluded");
+ any_messages(NULL, NULL, "排除在外");
}
else
- any_messages(NULL, "deleted", "to Exclude");
+ any_messages(NULL, "被刪除", "可供排除");
break;
}
else if(READONLY_FOLDER){
q_status_message(SM_ORDER, 0, 4,
- "Can't expunge. Folder is read-only");
+ "無法刪除。信件匣是唯讀的");
break;
}
@@ -695,7 +694,7 @@
ret = 'y';
if(ret == 'x')
- cmd_cancelled("Expunge");
+ cmd_cancelled("刪除");
if(ret != 'y')
break;
@@ -763,11 +762,11 @@
if(state->expunge_count <= 0)
if(del_count)
q_status_message1(SM_ORDER, 0, 3,
- "No messages expunged from folder \"%s\"",
+ "沒有任何信件自信件匣 \"%s\" 中刪除",
pretty_fn(state->cur_folder));
else
q_status_message(SM_ORDER, 0, 3,
- "No messages marked deleted. No messages expunged.");
+ "沒有任何信件被標示為刪除。沒有信件被刪除。");
break;
@@ -799,8 +798,8 @@
if(del_count > 0L){
state->mangled_footer = 1;
- sprintf(prompt, "UNexclude %ld message%s in %s", del_count,
- plural(del_count), pretty_fn(state->cur_folder));
+ sprintf(prompt, "%ld 封信件在信件匣 %s 中被復原排除", del_count,
+ pretty_fn(state->cur_folder));
if(F_ON(F_FULL_AUTO_EXPUNGE, state)
|| (F_ON(F_AUTO_EXPUNGE, state)
&& (state->context_current
@@ -818,29 +817,28 @@
*/
refresh_sort(msgmap, FALSE);
state->mangled_header = 1;
- q_status_message2(SM_ORDER, 0, 4,
- "%s message%s UNexcluded",
- long2string(del_count),
- plural(del_count));
+ q_status_message1(SM_ORDER, 0, 4,
+ "%s 封信件被復原排除",
+ long2string(del_count));
if(!visible) /* hilite last message */
mn_set_cur(msgmap, mn_get_total(msgmap));
}
else
- any_messages(NULL, NULL, "UNexcluded");
+ any_messages(NULL, NULL, "已復原排除");
}
else
- any_messages(NULL, "excluded", "to UNexclude");
+ any_messages(NULL, "已被排除", "可供復原排除");
}
else
- any_messages(NULL, "excluded", "to UNexclude");
+ any_messages(NULL, "已被排除", "可供復原排除");
break;
/*------- Make Selection -----------*/
case MC_SELECT :
- if(any_messages(msgmap, NULL, "to Select")){
+ if(any_messages(msgmap, NULL, "可供選擇")){
aggregate_select(state, msgmap, question_line, in_index);
if(in_index && any_lflagged(msgmap, MN_SLCT) > 0L
&& !any_lflagged(msgmap, MN_HIDE)
@@ -872,7 +870,7 @@
unzoom_index(state, msgmap);
}
else
- any_messages(NULL, NULL, "to Apply command to. Try \"Select\"");
+ any_messages(NULL, NULL, "可供套用命令。試試 \"選擇\"");
}
break;
@@ -950,21 +948,21 @@
{
if(cmd == ctrl('Q') || cmd == ctrl('S'))
q_status_message1(SM_ASYNC, 0, 2,
- "%s char received. Set \"preserve-start-stop\" feature in Setup/Config.",
+ "收到 %s 字元。以 設定/環境設定 開啟 \"preserve-start-stop\"。",
pretty_command(cmd));
else if(cmd == KEY_JUNK)
q_status_message3(SM_ORDER, 0, 2,
- "Invalid key pressed.%s%s%s",
- (help) ? " Use " : "",
+ "輸入了無效的按鍵。%s%s%s",
+ (help) ? "請以 " : "",
(help) ? help : "",
- (help) ? " for help" : "");
+ (help) ? " 呼叫輔助說明" : "");
else
q_status_message4(SM_ORDER, 0, 2,
- "Command \"%s\" not defined for this screen.%s%s%s",
+ "命令 \"%s\" 未在此畫面定義。%s%s%s",
pretty_command(cmd),
- (help) ? " Use " : "",
+ (help) ? "請以 " : "",
(help) ? help : "",
- (help) ? " for help" : "");
+ (help) ? " 呼叫輔助說明。" : "");
}
@@ -1237,11 +1235,9 @@
char *type, *cmd;
{
if(mn_get_total(map) <= 0L){
- q_status_message4(SM_ORDER, 0, 2, "No %s%smessages%s%s",
+ q_status_message2(SM_ORDER, 0, 2, "沒有%s信件%s",
type ? type : "",
- type ? " " : "",
- (!cmd || *cmd != '.') ? " " : "",
- cmd ? cmd : "in folder");
+ cmd ? cmd : "在信件匣中");
return(FALSE);
}
@@ -1265,8 +1261,8 @@
{
if(READONLY_FOLDER || state->dead_stream){
q_status_message2(SM_ORDER | (state->dead_stream ? SM_DING : 0), 0, 3,
- "Can't %s message. Folder is %s.", cmd,
- (state->dead_stream) ? "closed" : "read-only");
+ "無法%s信件。信件匣是%s的。", cmd,
+ (state->dead_stream) ? "關閉" : "唯讀");
return(FALSE);
}
@@ -1286,7 +1282,7 @@
cmd_cancelled(cmd)
char *cmd;
{
- q_status_message1(SM_INFO, 0, 2, "%s cancelled", cmd ? cmd : "Command");
+ q_status_message1(SM_INFO, 0, 2, "取消%s", cmd ? cmd : "命令");
}
@@ -1312,7 +1308,7 @@
dprint(4, (debugfile, "\n - delete message -\n"));
if(!(any_messages(msgmap, NULL, "to Delete")
- && can_set_flag(state, "delete")))
+ && can_set_flag(state, "刪除")))
return;
if(state->io_error_on_stream) {
@@ -1322,16 +1318,15 @@
if(agg){
sequence = selected_sequence(state->mail_stream, msgmap, &del_count);
- sprintf(prompt, "%ld selected message%s marked for deletion",
- del_count, plural(del_count));
+ sprintf(prompt, "%ld 封信件被標示為待刪除", del_count);
}
else{
msgno = mn_get_cur(msgmap);
del_count = 1L; /* return current */
sequence = cpystr(long2string(mn_m2raw(msgmap, mn_get_cur(msgmap))));
lastmsg = (msgno >= mn_get_total(msgmap));
- sprintf(prompt, "%s%s marked for deletion",
- lastmsg ? "Last message" : "Message ",
+ sprintf(prompt, "%s%s 被標示為待刪除",
+ lastmsg ? "最後一封信" : "信件 ",
lastmsg ? "" : long2string(msgno));
}
@@ -1361,8 +1356,8 @@
strcpy(nextfolder, state->cur_folder);
strcat(prompt, next_folder(NULL, nextfolder, nextfolder,
state->context_current, NULL)
- ? ". Press TAB for next folder."
- : ". No more folders to TAB to.");
+ ? "。 以 TAB 鍵切換至下一信件匣。"
+ : "。 已無更多信件匣可供切換了。");
}
}
@@ -1393,7 +1388,7 @@
dprint(4, (debugfile, "\n - undelete -\n"));
if(!(any_messages(msgmap, NULL, "to Undelete")
- && can_set_flag(state, "undelete")))
+ && can_set_flag(state, "復原刪除")))
return;
if(agg){
@@ -1418,13 +1413,13 @@
update_titlebar_status();
q_status_message(SM_ORDER, 0, 3,
wasdeleted
- ? "Deletion mark removed, message won't be deleted"
- : "Message not marked for deletion; no action taken");
+ ? "已移除刪除標記,信件將不會遭刪除"
+ : "信件尚未被標示為刪除:沒有採取任何行動");
}
else
- q_status_message2(SM_ORDER, 0, 3,
- "Deletion mark removed from %s message%s",
- comatose(del_count), plural(del_count));
+ q_status_message1(SM_ORDER, 0, 3,
+ "移除 %s 封信件上的刪除標記",
+ comatose(del_count));
if(state->io_error_on_stream) {
state->io_error_on_stream = 0;
@@ -1488,7 +1483,7 @@
};
if(!(any_messages(msgmap, NULL, "to Flag")
- && can_set_flag(state, "flag")))
+ && can_set_flag(state, "標示")))
return;
if(state->io_error_on_stream) {
@@ -1844,7 +1839,7 @@
if(msgno_any_exceptions(stream, msgmap, MSG_EX_DELETE)
&& want_to("Saved copy will NOT include entire message! Continue",
'y', 'n', NO_HELP, WT_FLUSH_IN | WT_SEQ_SENSITIVE) != 'y'){
- cmd_cancelled("Save message");
+ cmd_cancelled("信件存檔");
return;
}
@@ -1967,32 +1962,32 @@
ekey[rc].ch = ctrl('T');
ekey[rc].rval = 2;
ekey[rc].name = "^T";
- ekey[rc++].label = "To Fldrs";
+ ekey[rc++].label = "信件匣列表";
if(saveable_count > 1){
ekey[rc].ch = ctrl('P');
ekey[rc].rval = 10;
ekey[rc].name = "^P";
- ekey[rc++].label = "Prev Collection";
+ ekey[rc++].label = "前一總集";
ekey[rc].ch = ctrl('N');
ekey[rc].rval = 11;
ekey[rc].name = "^N";
- ekey[rc++].label = "Next Collection";
+ ekey[rc++].label = "後一總集";
}
if(F_ON(F_ENABLE_TAB_COMPLETE, ps_global)){
ekey[rc].ch = TAB;
ekey[rc].rval = 12;
ekey[rc].name = "TAB";
- ekey[rc++].label = "Complete";
+ ekey[rc++].label = "完成";
}
if(F_ON(F_ENABLE_SUB_LISTS, ps_global)){
ekey[rc].ch = ctrl('X');
ekey[rc].rval = 14;
ekey[rc].name = "^X";
- ekey[rc++].label = "ListMatches";
+ ekey[rc++].label = "列出符合";
}
if(saveable_count > 1){
@@ -2129,7 +2124,7 @@
/* else fall thru like they cancelled */
case 1 :
- cmd_cancelled("Save message");
+ cmd_cancelled("信件存檔");
done--;
break;
@@ -3260,16 +3255,16 @@
}
sprintf(tmp_20k_buf,
- "Folder \"%.15s%s\" in <%.15s%s> doesn't exist. Create",
+ "信件匣 \"%.15s%s\" 在 <%.15s%s> 不存在。要建立",
folder, (strlen(folder) > 15) ? "..." : "",
context->nickname,
(strlen(context->nickname) > 15) ? "..." : "");
}
else
- sprintf(tmp_20k_buf,"Folder \"%.40s\" doesn't exist. Create", folder);
+ sprintf(tmp_20k_buf,"信件匣 \"%.40s\" 不存在。要建立", folder);
if(want_to(tmp_20k_buf, 'y', 'n', NO_HELP, WT_SEQ_SENSITIVE) != 'y'){
- cmd_cancelled("Save message");
+ cmd_cancelled("信件存檔");
return(-1);
}
@@ -3395,14 +3390,14 @@
export_opts[i = 0].ch = ctrl('T');
export_opts[i].rval = 10;
export_opts[i].name = "^T";
- export_opts[i++].label = "To Files";
+ export_opts[i++].label = "檔案列表";
#if !defined(DOS) && !defined(MAC) && !defined(OS2)
if(ps_global->VAR_DOWNLOAD_CMD && ps_global->VAR_DOWNLOAD_CMD[0]){
export_opts[i].ch = ctrl('V');
export_opts[i].rval = 12;
export_opts[i].name = "^V";
- export_opts[i++].label = "Downld Msg";
+ export_opts[i++].label = "下載";
}
#endif /* !(DOS || MAC) */
@@ -3410,7 +3405,7 @@
export_opts[i].ch = ctrl('I');
export_opts[i].rval = 11;
export_opts[i].name = "TAB";
- export_opts[i++].label = "Complete";
+ export_opts[i++].label = "完成";
}
#if 0
@@ -3419,7 +3414,7 @@
export_opts[i].ch = ctrl('X');
export_opts[i].rval = 14;
export_opts[i].name = "^X";
- export_opts[i++].label = "ListMatches";
+ export_opts[i++].label = "列出符合";
}
#endif
@@ -3433,7 +3428,7 @@
if(r < 0){
switch(r){
case -1:
- cmd_cancelled("Export message");
+ cmd_cancelled("匯出信件");
break;
case -2:
@@ -3455,7 +3450,7 @@
if(ps_global->restricted){
q_status_message(SM_ORDER | SM_DING, 3, 3,
- "Download disallowed in restricted mode");
+ "限制模式中不允許\下載");
goto fini;
}
@@ -3474,7 +3469,7 @@
|| !format_message(mn_m2raw(msgmap, mn_get_cur(msgmap)),
env, b, FM_NEW_MESS | FM_NOWRAP, pc)){
q_status_message(SM_ORDER | SM_DING, 3, 3,
- err = "Error writing tempfile for download");
+ err = "寫入下載暫存檔時發生錯誤");
break;
}
@@ -3487,18 +3482,18 @@
(void) close_system_pipe(&syspipe);
else
q_status_message(SM_ORDER | SM_DING, 3, 3,
- err = "Error running download command");
+ err = "執行下載命令時發生錯誤");
}
unlink(tfp);
}
else
q_status_message(SM_ORDER | SM_DING, 3, 3,
- err = "Error building temp file for download");
+ err = "無法建立供下載使用的暫存檔");
fs_give((void **)&tfp);
if(!err)
- q_status_message(SM_ORDER, 0, 3, "Download Command Completed");
+ q_status_message(SM_ORDER, 0, 3, "下載命令完成");
goto fini;
}
@@ -3612,7 +3607,7 @@
STORE_S *store = NULL;
struct variable *vars = ps->vars;
static ESCKEY_S simple_export_opts[] = {
- {ctrl('T'), 10, "^T", "To Files"},
+ {ctrl('T'), 10, "^T", "檔案列表"},
{-1, 0, NULL, NULL},
{-1, 0, NULL, NULL}};
@@ -3620,7 +3615,7 @@
simple_export_opts[r].ch = ctrl('I');
simple_export_opts[r].rval = 11;
simple_export_opts[r].name = "TAB";
- simple_export_opts[r].label = "Complete";
+ simple_export_opts[r].label = "完成";
}
if(!srctext){
@@ -3693,7 +3688,7 @@
break;
case -1:
- cmd_cancelled("Export");
+ cmd_cancelled("匯出");
break;
case -2:
@@ -4365,32 +4360,32 @@
ekey[rc].ch = (allow_list) ? ctrl('T') : 0 ;
ekey[rc].rval = (allow_list) ? 2 : 0;
ekey[rc].name = (allow_list) ? "^T" : "";
- ekey[rc++].label = (allow_list) ? "ToFldrs" : "";
+ ekey[rc++].label = (allow_list) ? "檔案列表" : "";
if(ps_global->context_list->next){
ekey[rc].ch = ctrl('P');
ekey[rc].rval = 10;
ekey[rc].name = "^P";
- ekey[rc++].label = "Prev Collection";
+ ekey[rc++].label = "前一總集";
ekey[rc].ch = ctrl('N');
ekey[rc].rval = 11;
ekey[rc].name = "^N";
- ekey[rc++].label = "Next Collection";
+ ekey[rc++].label = "後一總集";
}
if(F_ON(F_ENABLE_TAB_COMPLETE,ps_global)){
ekey[rc].ch = TAB;
ekey[rc].rval = 12;
ekey[rc].name = "TAB";
- ekey[rc++].label = "Complete";
+ ekey[rc++].label = "完成";
}
if(F_ON(F_ENABLE_SUB_LISTS, ps_global)){
ekey[rc].ch = ctrl('X');
ekey[rc].rval = 14;
ekey[rc].name = "^X";
- ekey[rc++].label = "ListMatches";
+ ekey[rc++].label = "列出符合";
}
if(ps_global->context_list->next){
@@ -4508,15 +4503,15 @@
newfolder);
else if(tc->use & CNTXT_INCMNG)
q_status_message1(SM_ORDER, 0, 3,
- "Can't find Incoming Folder: %s",
+ "找不到新進信件匣:%s",
newfolder);
else if(context_isambig(newfolder))
q_status_message3(SM_ORDER, 0, 3,
- "Can't find folder \"%s\" in %.*s",
- newfolder, (void *) 50, tc->nickname);
+ "在 %.*s 中找不到信件匣 \"%s\"",
+ (void *) 50, tc->nickname, newfolder);
else
q_status_message1(SM_ORDER, 0, 3,
- "Can't find folder \"%s\"",
+ "找不到信件匣 \"%s\"",
newfolder);
return(NULL);
@@ -4529,7 +4524,7 @@
/* fall thru like they cancelled */
case 1 : /* o_e says user cancel */
- cmd_cancelled("Open folder");
+ cmd_cancelled("開啟信件匣");
return(NULL);
case 2 : /* o_e says user wants list */
@@ -4762,7 +4757,7 @@
else if ((new_context->use & CNTXT_INCMNG)
&& (folder_index(newfolder, new_context, FI_FOLDER) < 0)){
q_status_message1(SM_ORDER, 3, 4,
- "Can't find Incoming Folder %s.", newfolder);
+ "找不到新進信件匣 %s。", newfolder);
return(0);
}
}
@@ -4802,11 +4797,10 @@
clear_index_cache();
/* MUST sort before restoring msgno! */
refresh_sort(ps_global->msgmap, FALSE);
- q_status_message3(SM_ORDER, 0, 3,
- "Opened folder \"%s\" with %s message%s",
+ q_status_message2(SM_ORDER, 0, 3,
+ "信件匣 \"%s\" 已開啟,共 %s 封信件",
ps_global->inbox_name,
- long2string(mn_get_total(ps_global->msgmap)),
- plural(mn_get_total(ps_global->msgmap)));
+ long2string(mn_get_total(ps_global->msgmap)));
#ifdef _WINDOWS
mswin_settitle(ps_global->inbox_name);
#endif
@@ -4846,7 +4840,7 @@
}
}
- strcat(strncat(strcpy(status_msg, "Opening \""),
+ strcat(strncat(strcpy(status_msg, "正在開啟 \""),
pretty_fn(newfolder), 70), "\"");
we_cancel = busy_alarm(1, status_msg, NULL, 1);
@@ -4930,7 +4924,7 @@
&& !mn_get_revsort(ps_global->msgmap)))
refresh_sort(ps_global->msgmap, FALSE);
- q_status_message1(SM_ORDER, 0, 3, "Folder \"%s\" reopened",
+ q_status_message1(SM_ORDER, 0, 3, "重新開啟資料匣 \"%s\"",
old_folder);
}
}
@@ -5018,13 +5012,13 @@
/* UWIN doesn't want to see this message */
if(!ps_global->nr_mode)
- q_status_message7(SM_ORDER, 0, 4, "%s \"%s\" opened with %s message%s%s",
+ q_status_message7(SM_ORDER, 0, 4, "%s \"%s\" 已開啟,共 %s 封信%s",
IS_NEWS(ps_global->mail_stream)
- ? "News group" : "Folder",
+ ? "新聞組群" : "信件匣",
pretty_fn(newfolder),
comatose(mn_get_total(ps_global->msgmap)),
plural(mn_get_total(ps_global->msgmap)),
- READONLY_FOLDER ? " READONLY" : "",
+ READONLY_FOLDER ? " 唯讀" : "",
NULL, NULL);
#ifdef _WINDOWS
@@ -5191,9 +5185,9 @@
char ing[4];
if(final_msg)
- strcpy(ing, "ed");
+ strcpy(ing, "已");
else
- strcpy(ing, "ing");
+ strcpy(ing, "正");
buff1[0] = '\0';
buff2[0] = '\0';
@@ -5202,7 +5196,7 @@
stream->mailbox));
if(!stream->rdonly){
- q_status_message1(SM_INFO, 0, 1, "Closing \"%s\"...", folder);
+ q_status_message1(SM_INFO, 0, 1, "正在關閉 \"%s\"...", folder);
flush_status_messages(1);
/*
@@ -5255,10 +5249,8 @@
}
else{
sprintf(prompt_b,
- "Expunge the %ld deleted message%s from \"%s\"",
- delete_count,
- delete_count == 1 ? "" : "s",
- short_folder_name);
+ "自 \"%s\" 中刪除 %ld 封信件", short_folder_name,
+ delete_count);
ret = want_to(prompt_b, 'y', 0, NO_HELP, WT_NORM);
}
@@ -5269,13 +5261,10 @@
if(ret == 'y'){
sprintf(buff2,
- "Clos%s \"%.30s\". %s %s message%s and delet%s %s.",
+ "%s關閉 \"%.30s\"。保留 %s 封並刪除 %s 封信件。",
ing,
pretty_fn(folder),
- final_msg ? "Kept" : "Keeping",
comatose((stream->nmsgs - delete_count)),
- plural(stream->nmsgs - delete_count),
- ing,
long2string(delete_count));
if(final_msg)
*final_msg = cpystr(buff2);
@@ -5348,17 +5337,15 @@
if(stream->nmsgs){
sprintf(buff2,
- "Clos%s folder \"%s\". %s%s%s message%s.",
+ "%s關閉信件匣 \"%s\"。保留%s%s 封信件。",
ing,
pretty_fn(folder),
- final_msg ? "Kept" : "Keeping",
- (stream->nmsgs == 1L) ? " single" : " all ",
+ (stream->nmsgs == 1L) ? " 一" : "全部共 ",
(stream->nmsgs > 1L)
- ? comatose(stream->nmsgs) : "",
- plural(stream->nmsgs));
+ ? comatose(stream->nmsgs) : "");
}
else{
- sprintf(buff2, "Clos%s empty folder \"%s\"",
+ sprintf(buff2, "%s關閉空的信件匣 \"%s\"",
ing, pretty_fn(folder));
}
@@ -5377,7 +5364,7 @@
q_status_message(SM_ORDER,
F_ON(F_AUTO_READ_MSGS,ps_global) ? 0 : 3, 5, moved_msg);
- sprintf(buff2, "Clos%s news group \"%s\"",
+ sprintf(buff2, "%s關閉新聞組群 \"%s\"",
ing, pretty_fn(folder));
if(F_ON(F_NEWS_CATCHUP, ps_global)){
@@ -5414,7 +5401,7 @@
}
else
sprintf(buff2,
- "Clos%s read-only folder \"%s\". No changes to save",
+ "%s關閉唯讀的信件匣 \"%s\"。未存入任何改變",
ing, pretty_fn(folder));
if(final_msg)
@@ -6033,18 +6020,18 @@
if(in_index && F_ON(F_PRINT_INDEX, state)){
char m[10];
static ESCKEY_S prt_opts[] = {
- {'i', 'i', "I", "Index"},
+ {'i', 'i', "I", "索引"},
{'m', 'm', "M", NULL},
{-1, 0, NULL, NULL}};
- sprintf(m, "Message%s", (msgs>1L) ? "s" : "");
+ sprintf(m, "信件");
prt_opts[1].label = m;
- sprintf(prompt, "Print %sFolder Index or %s %s? ",
- agg ? "selected " : "", agg ? "selected" : "current", m);
+ sprintf(prompt, "印出 %s信件匣索引或 %s %s? ",
+ agg ? "已被選擇的 " : "", agg ? "已被選擇的" : "目前的", m);
switch(radio_buttons(prompt, -FOOTER_ROWS(state), prt_opts, 'm', 'x',
NO_HELP, RB_NORM|RB_SEQ_SENSITIVE)){
case 'x' :
- cmd_cancelled("Print");
+ cmd_cancelled("列印");
if(agg)
restore_selected(msgmap);
@@ -6061,11 +6048,11 @@
}
if(do_index)
- sprintf(prompt, "%sFolder Index ", agg ? "Selected " : "");
+ sprintf(prompt, "%s信件匣索引 ", agg ? "已被選擇的" : "");
else if(msgs > 1L)
- sprintf(prompt, "%s messages ", long2string(msgs));
+ sprintf(prompt, "%s 封信件 ", long2string(msgs));
else
- sprintf(prompt, "Message %s ", long2string(mn_get_cur(msgmap)));
+ sprintf(prompt, "第 %s 封信件", long2string(mn_get_cur(msgmap)));
if(open_printer(prompt) < 0){
if(agg)
@@ -6329,7 +6316,7 @@
/* else fall thru as if cancelled */
case 1 :
- cmd_cancelled("Pipe command");
+ cmd_cancelled("導向(Pipe)命令");
done++;
break;
@@ -6642,7 +6629,7 @@
sel_opts = sel_opts2;
if(old_tot = any_lflagged(msgmap, MN_SLCT)){
i = get_lflag(state->mail_stream, msgmap, mn_get_cur(msgmap), MN_SLCT);
- sel_opts1[1].label = "unselect Cur" + (i ? 0 : 2);
+ sel_opts1[1].label = "取消目前選擇" + (i ? 0 : 2);
sel_opts += 2; /* disable extra options */
switch(q = radio_buttons(sel_pmt1, q_line, sel_opts1, 'c', 'x', help,
RB_NORM)){
@@ -6686,7 +6673,7 @@
*/
switch(q){
case 'x': /* cancel */
- cmd_cancelled("Select command");
+ cmd_cancelled("選取命令");
return;
case 'c' : /* select/unselect current */
@@ -6895,14 +6882,14 @@
sel_opts3[i].ch = '*';
sel_opts3[i].rval = '*';
sel_opts3[i].name = "*";
- sel_opts3[i++].label = "Flag";
+ sel_opts3[i++].label = "旗標";
}
if(F_ON(F_ENABLE_PIPE,state)){ /* pipe? */
sel_opts3[i].ch = '|';
sel_opts3[i].rval = '|';
sel_opts3[i].name = "|";
- sel_opts3[i++].label = "Pipe";
+ sel_opts3[i++].label = "導向(Pipe)";
}
/*
@@ -6914,7 +6901,7 @@
sel_opts3[i].ch = 'b';
sel_opts3[i].rval = 'b';
sel_opts3[i].name = "B";
- sel_opts3[i++].label = "Bounce";
+ sel_opts3[i++].label = "退信";
}
if(F_ON(F_ENABLE_PRYNT, state)){
@@ -6985,7 +6972,7 @@
break;
case 'x' : /* cancel */
- cmd_cancelled("Apply command");
+ cmd_cancelled("套用命令");
rv = 0;
break;
@@ -7102,7 +7089,7 @@
*t = '\0';
if(r == 1 || numbers[0] == '\0'){
- cmd_cancelled("Selection by number");
+ cmd_cancelled("根據數字選擇");
return(1);
}
else
@@ -7228,7 +7215,7 @@
prompt, sel_date_opt, help, &flags);
switch (r){
case 1 :
- cmd_cancelled("Selection by date");
+ cmd_cancelled("根據日期選擇");
return(1);
case 3 :
@@ -7350,15 +7337,15 @@
ekey[0].ch = ctrl('T');
ekey[0].name = "^T";
ekey[0].rval = 10;
- ekey[0].label = "Cur To";
+ ekey[0].label = "目前收信人";
ekey[1].ch = ctrl('R');
ekey[1].name = "^R";
ekey[1].rval = 11;
- ekey[1].label = "Cur From";
+ ekey[1].label = "目前寄件人";
ekey[2].ch = ctrl('W');
ekey[2].name = "^W";
ekey[2].rval = 12;
- ekey[2].label = "Cur Cc";
+ ekey[2].label = "目前副本";
break;
case 's' :
@@ -7366,7 +7353,7 @@
ekey[0].ch = ctrl('X');
ekey[0].name = "^X";
ekey[0].rval = 13;
- ekey[0].label = "Cur Subject";
+ ekey[0].label = "目前主題";
break;
case 'a' :
@@ -7477,7 +7464,7 @@
}
if(type == 'x' || r == 'x'){
- cmd_cancelled("Selection by text");
+ cmd_cancelled("根據文字選擇");
return(1);
}
@@ -7735,7 +7722,7 @@
NO_HELP, RB_NORM);
if(s == 'x'){
- cmd_cancelled("Selection by status");
+ cmd_cancelled("根據狀態選擇");
return(1);
}
else if(s == '!')
@@ -7832,7 +7819,7 @@
/*----- String together the prompt ------*/
tmp[1] = '\0';
- strcpy(prompt, "Choose type of sort, or Reverse current sort : ");
+ strcpy(prompt, "選取排序方式,或反轉目前的排序:");
for(i = 0; state->sort_types[i] != EndofList; i++) {
sorts[i].rval = i;
p = sorts[i].label = sort_name(state->sort_types[i]);
@@ -7849,7 +7836,7 @@
sorts[i].ch = 'r';
sorts[i].rval = 'r';
sorts[i].name = cpystr("R");
- sorts[i].label = "Reverse";
+ sorts[i].label = "反轉";
sorts[++i].ch = -1;
help = h_select_sort;
@@ -7862,7 +7849,7 @@
}
else{
retval = 0;
- cmd_cancelled("Sort");
+ cmd_cancelled("排序");
}
while(--i >= 0)