diff options
Diffstat (limited to 'chinese/pine4/files/patch-bb')
-rw-r--r-- | chinese/pine4/files/patch-bb | 598 |
1 files changed, 519 insertions, 79 deletions
diff --git a/chinese/pine4/files/patch-bb b/chinese/pine4/files/patch-bb index 17e394848e61..db71f8e1162e 100644 --- a/chinese/pine4/files/patch-bb +++ b/chinese/pine4/files/patch-bb @@ -1,85 +1,525 @@ ---- pine/reply.c.orig Tue Jun 23 12:08:03 1998 -+++ pine/reply.c Wed Jul 15 17:02:37 1998 -@@ -411,7 +411,7 @@ - #endif - - /* partially formatted outgoing message */ -- pine_send(outgoing, &body, "COMPOSE MESSAGE REPLY", -+ pine_send(outgoing, &body, "編輯信件回函", - fcc.tptr, &reply, NULL, NULL, NULL, 0); - done: - pine_free_body(&body); -@@ -485,7 +485,7 @@ - (ADDRESS *) NULL, env->from, 0); - - if(ret == 'x') { -- cmd_cancelled("Reply"); -+ cmd_cancelled("回覆"); - return(0); - } +--- pine/mailview.c.orig Fri Jul 17 15:10:35 1998 ++++ pine/mailview.c Tue Jul 28 08:35:04 1998 +@@ -140,8 +140,8 @@ + static struct key view_keys[] = + {HELP_MENU, + OTHER_MENU, +- {"<","MsgIndex",{MC_INDEX,3,{'i','<',','}},KS_FLDRINDEX}, +- {">","ViewAttch",{MC_VIEW_ATCH,3,{'v','>','.'}},KS_NONE}, ++ {"<","索引",{MC_INDEX,3,{'i','<',','}},KS_FLDRINDEX}, ++ {">","檢視附件",{MC_VIEW_ATCH,3,{'v','>','.'}},KS_NONE}, + PREVMSG_MENU, + NEXTMSG_MENU, + PREVPAGE_MENU, +@@ -166,11 +166,11 @@ -@@ -534,7 +534,7 @@ - || (*saved_cc || *saved_resent))){ - *flags &= ~RSF_QUERY_REPLY_ALL; - if((ret=want_to(ALL_PMT,'n','x',NO_HELP,WT_SEQ_SENSITIVE)) == 'x'){ -- cmd_cancelled("Reply"); -+ cmd_cancelled("回覆"); - return(0); - } - else if(ret == 'y') -@@ -1099,8 +1099,8 @@ - { - int ret, edited = 0; - static ESCKEY_S rtq_opts[] = { + HELP_MENU, + OTHER_MENU, +- {"Ret","[View Hilite]",{MC_VIEW_HANDLE,3, ++ {"Ret","[檢視 Hilite]",{MC_VIEW_HANDLE,3, + {ctrl('m'),ctrl('j'),KEY_RIGHT}},KS_NONE}, +- {":","SelectCur",{MC_SELCUR,1,{':'}},KS_SELECTCUR}, +- {"^B","Prev URL",{MC_PREV_HANDLE,1,{ctrl('B')}},KS_NONE}, +- {"^F","Next URL",{MC_NEXT_HANDLE,1,{ctrl('F')}},KS_NONE}, ++ {":","選擇",{MC_SELCUR,1,{':'}},KS_SELECTCUR}, ++ {"^B","前一 URL",{MC_PREV_HANDLE,1,{ctrl('B')}},KS_NONE}, ++ {"^F","次一 URL",{MC_NEXT_HANDLE,1,{ctrl('F')}},KS_NONE}, + JUMP_MENU, + TAB_MENU, + HDRMODE_MENU, +@@ -187,7 +187,7 @@ + #define FLAG_KEY 34 + #define VIEW_PIPE_KEY 35 + +-static struct key nr_anon_view_keys[] = ++static struct key nr_anon_view_keys[] = + {HELP_MENU, + WHEREIS_MENU, + QUIT_MENU, +@@ -211,7 +211,7 @@ + NEXTMSG_MENU, + PREVPAGE_MENU, + NEXTPAGE_MENU, +- {"F", "Fwd Email", {MC_FORWARD,1,{'f'}}, KS_FORWARD}, ++ {"F", "信件轉寄", {MC_FORWARD,1,{'f'}}, KS_FORWARD}, + JUMP_MENU, + PRYNTTXT_MENU, + SAVE_MENU, +@@ -233,7 +233,7 @@ + static struct key simple_text_keys[] = + {HELP_MENU, + NULL_MENU, +- {"E","Exit Viewer",{MC_EXIT,1,{'e'}},KS_NONE}, ++ {"E","離開",{MC_EXIT,1,{'e'}},KS_NONE}, + NULL_MENU, + NULL_MENU, + NULL_MENU, +@@ -242,7 +242,7 @@ + PRYNTTXT_MENU, + WHEREIS_MENU, + FWDEMAIL_MENU, +- {"S", "Save", {MC_SAVETEXT,1,{'s'}}, KS_SAVE}}; ++ {"S", "存檔", {MC_SAVETEXT,1,{'s'}}, KS_SAVE}}; + INST_KEY_MENU(simple_text_keymenu, simple_text_keys); + + +@@ -377,7 +377,7 @@ + * we were viewing. If so, make sure we don't just come back. + */ + if(mn_get_total(ps->msgmap) <= 0L || !ps->mail_stream){ +- q_status_message(SM_ORDER, 0, 3, "No messages to read!"); ++ q_status_message(SM_ORDER, 0, 3, "沒有可供讀取的信件!"); + ps->next_screen = mail_index_screen; + break; + } +@@ -391,7 +391,7 @@ + body = NULL; + if(!(env = mail_fetchstructure(ps->mail_stream, raw_msgno, &body)) + || !(mc = mail_elt(ps->mail_stream, raw_msgno))){ +- q_status_message1(SM_ORDER, 3, 3, "Error getting message %s data", ++ q_status_message1(SM_ORDER, 3, 3, "取得信件 %s 的資料時發生錯誤", + comatose(mn_get_cur(ps->msgmap))); + dprint(1, (debugfile, "!!!! ERROR fetching %s of msg %ld\n", + env ? "elt" : "env", mn_get_cur(ps->msgmap))); +@@ -444,7 +444,7 @@ + memset(&scrollargs, 0, sizeof(SCROLL_S)); + scrollargs.text.text = so_text(store); + scrollargs.text.src = src; +- scrollargs.text.desc = "message"; ++ scrollargs.text.desc = "信件"; + + /* + * make first selectable handle the default +@@ -463,11 +463,11 @@ + else + scrollargs.body_valid = 1; + +- scrollargs.bar.title = "MESSAGE TEXT"; ++ scrollargs.bar.title = "信件文字"; + scrollargs.end_scroll = view_end_scroll; + scrollargs.resize_exit = 1; + scrollargs.help.text = h_mail_view; +- scrollargs.help.title = "HELP FOR MESSAGE TEXT VIEW"; ++ scrollargs.help.title = "信件文字的輔助說明"; + scrollargs.keys.menu = &view_keymenu; + scrollargs.keys.what = save_what; + setbitmap(scrollargs.keys.bitmap); +@@ -1190,7 +1190,7 @@ + /*---- format and copy envelope ----*/ + if(ps_global->full_header) + q_status_message(SM_INFO, 0, 3, +- "Full header mode ON. All header text being included"); ++ "完整標頭模式開啟。所有的標頭文字都包含在內"); + + HD_INIT(&h, ps_global->VAR_VIEW_HEADERS, ps_global->view_all_except, + FE_DEFAULT); +@@ -1229,7 +1229,7 @@ + if(append_file_name) + fs_give((void **)&append_file_name); + +- q_status_message1(SM_ORDER,3,3,"Can't make temp file: %s", ++ q_status_message1(SM_ORDER,3,3,"無法建立暫存檔:%s", + error_description(errno)); + return(0); + } +@@ -1523,7 +1523,7 @@ + write_error: + + if(!(flgs & FM_DISPLAY)) +- q_status_message1(SM_ORDER, 3, 4, "Error writing message: %s", ++ q_status_message1(SM_ORDER, 3, 4, "寫入信件時發生錯誤:%s", + decode_err ? decode_err : error_description(errno)); + + return(0); +@@ -1853,8 +1853,8 @@ + char prompt[256], tmp[MAILTMPLEN]; + int rc, flags, local_h; + static ESCKEY_S launch_opts[] = { - {'y', 'y', "Y", "Yes"}, - {'n', 'n', "N", "No"}, + {'y', 'y', "Y", "是"}, + {'n', 'n', "N", "否"}, - {-1, 0, NULL, NULL}, /* may be overridden below */ - {-1, 0, NULL, NULL} - }; -@@ -1133,7 +1133,7 @@ - rtq_opts, edited ? 'y' : 'n', - 'x', NO_HELP, RB_SEQ_SENSITIVE)){ - case 'x': -- cmd_cancelled("Reply"); -+ cmd_cancelled("回覆"); - return(-1); - - case 'r': -@@ -1165,7 +1165,7 @@ - break; - - case 1: -- cmd_cancelled("Reply"); -+ cmd_cancelled("回覆"); - - case -1: - return(-1); -@@ -1542,7 +1542,7 @@ - - case 'x' : /* cancel or unknown response */ - default : -- cmd_cancelled("Reply"); -+ cmd_cancelled("回覆"); - ret = 0; - break; - } -@@ -1708,7 +1708,7 @@ - * up... - */ - if(ret == 'x'){ -- q_status_message(SM_ORDER, 0, 3, "Forward message cancelled"); -+ q_status_message(SM_ORDER, 0, 3, "取消信件轉寄"); - goto clean_early; + {-2, 0, NULL, NULL}, + {-2, 0, NULL, NULL}, + {0, 'u', "U", "editURL"}, +@@ -1875,7 +1875,7 @@ + else{ + launch_opts[5].ch = -1; + if(!local_h){ +- if(want_to("No Web-Browser application defined! Define now", ++ if(want_to("尚未定義 Web-Browser!現在定義", + 'y', 0, NO_HELP, WT_SEQ_SENSITIVE) == 'y'){ + /* Prompt for the displayer? */ + tmp[0] = '\0'; +@@ -1919,7 +1919,7 @@ + } + else{ + q_status_message1(SM_ORDER | SM_DING, 2, 2, +- "Browser not found: %s", ++ "找不到瀏覽器:%s", + error_description(errno)); + continue; + } +@@ -1948,8 +1948,8 @@ + return(1); + + while(1){ +- sprintf(prompt, "View selected %s %s%.37s%s? ", +- (handle->type == URL) ? "URL" : "Attachment", ++ sprintf(prompt, "檢視選擇的 %s %s%.37s%s? ", ++ (handle->type == URL) ? "URL" : "附件", + (handle->type == URL) ? "\"" : "", + (handle->type == URL) ? handle->h.url.path : "", + (handle->type == URL) +@@ -2414,11 +2414,11 @@ + mode = PIPE_RESET | PIPE_USER ; + if(syspipe = open_system_pipe(cmd, NULL, NULL, mode)){ + close_system_pipe(&syspipe); +- q_status_message(SM_ORDER, 0, 4, "VIEWER command completed"); ++ q_status_message(SM_ORDER, 0, 4, "VIEWER 命令完成"); + } + else + q_status_message1(SM_ORDER, 3, 4, +- "Cannot spawn command : %s", cmd); ++ "無法起始命令:%s", cmd); + } + else if(f = url_local_handler(handle->h.url.path)){ + if((*f)(handle->h.url.path) > 1) +@@ -2426,7 +2426,7 @@ + } + else + q_status_message1(SM_ORDER, 2, 2, +- "\"Web-Browser\" not defined: Can't open %s", ++ "尚未定義 \"Web-Browser\":無法開啟 %s", + handle->h.url.path); + + return(rv); +@@ -2746,7 +2746,7 @@ + } + else + q_status_message(SM_ORDER | SM_DING, 3, 4, +- "Can't create space for composer"); ++ "無法替編輯器建立空間"); + + if(outgoing) + mail_free_envelope(&outgoing); +@@ -2810,7 +2810,7 @@ + else if(errstr) + q_status_message(SM_ORDER|SM_DING, 3, 3, errstr); + else +- cmd_cancelled("URL Launch"); ++ cmd_cancelled("檢視 URL"); + + break; + +@@ -2833,7 +2833,7 @@ + if(uid_val != ps_global->mail_stream->uid_validity){ + /* Complain! */ + q_status_message(SM_ORDER|SM_DING, 3, 3, +- "Warning! Referenced folder changed since URL recorded"); ++ "警告!參考資料匣已於 URL 記錄後改變"); + } + + if(uid){ +@@ -2849,7 +2849,7 @@ + + if(i > mn_get_total(ps_global->msgmap)) + q_status_message(SM_ORDER, 2, 3, +- "Couldn't find specified article number"); ++ "找不到指定的文章編號"); + } + else if(search){ + /* +@@ -2870,9 +2870,9 @@ + if(i = any_lflagged(ps_global->msgmap, MN_SLCT)){ + extern long zoom_index(); + +- q_status_message2(SM_ORDER, 0, 3, +- "%s message%s selected", +- long2string(i), plural(i)); ++ q_status_message1(SM_ORDER, 0, 3, ++ "已選擇 %s 封信件", ++ long2string(i)); + /* Zoom the index! */ + zoom_index(ps_global, ps_global->msgmap); + } +@@ -3011,9 +3011,9 @@ + + if(auth && *auth != '*') + q_status_message1(SM_ORDER, 3, 3, +- "Unsupported authentication method. %s.", +- user ? "Using standard login" +- : "Logging in as \"Anonymous\""); ++ "未支援的認證模式。%s。", ++ user ? "使用標準登入" ++ : "以 \"Anonymous\" 登入"); + + /* + * At this point our structure should contain the +@@ -3098,7 +3098,7 @@ + + if(i > mn_get_total(ps_global->msgmap)) + q_status_message(SM_ORDER, 2, 3, +- "Couldn't find specified article number"); ++ "找不到指定的文章編號"); + } + + break; +@@ -3177,7 +3177,7 @@ + } + else + q_status_message1(SM_ORDER | SM_DING, 0, 3, +- "Can't find fragment: %s", fragment); ++ "找不到片斷:%s", fragment); + + return(1); + } +@@ -3204,7 +3204,7 @@ + dprint(2, (debugfile, "-- bogus url \"%s\": %s\n", + url ? url : "<NULL URL>", reason)); + if(url) +- q_status_message3(SM_ORDER|SM_DING, 2, 3, "Malformed \"%.*s\" URL: %s", ++ q_status_message3(SM_ORDER|SM_DING, 2, 3, "格式錯誤的 \"%.*s\" URL:%s", + (void *) (strchr(url, ':') - url), url, reason); + + return(0); +@@ -3344,7 +3344,7 @@ + + write_error: + if(style == QStatus) +- q_status_message1(SM_ORDER, 3, 4, "Error writing message: %s", ++ q_status_message1(SM_ORDER, 3, 4, "寫入信件時發生錯誤:%s", + error_description(errno)); + + return(1); +@@ -3594,7 +3594,7 @@ + gf_set_so_writec(&tmp_pc, df_store); + if(errstr = dfilter(display_filter, tmp_store, tmp_pc, NULL)){ + q_status_message1(SM_ORDER | SM_DING, 3, 3, +- "Formatting error: %s", errstr); ++ "格式錯誤:%s", errstr); + rv = FHT_WRTERR; + } + else{ +@@ -3606,7 +3606,7 @@ + } + else{ + q_status_message1(SM_ORDER | SM_DING, 3, 3, +- "No space for filtered text: %s", errstr); ++ "沒有足夠的空間過濾文字:%s", errstr); + rv = FHT_WRTERR; + } + } +@@ -3631,7 +3631,7 @@ + if(errstr = gf_pipe(tmp_gc, final_pc)){ + rv = FHT_WRTERR; + q_status_message1(SM_ORDER | SM_DING, 3, 3, +- "Can't build header : %s", errstr); ++ "無法建立標頭:%s", errstr); + } + } + +@@ -3770,7 +3770,7 @@ + format_newsgroup_string("Newsgroups: ", e->newsgroups, prefix, pc); + if(e->ngbogus) + q_status_message(SM_ORDER, 0, 3, +- "Unverified Newsgroup header -- Message MAY or MAY NOT have been posted"); ++ "未經證實的新聞組群標頭 -- 訊息可能從未被張貼"); } - else if(ret == 'y'){ /* attach message[s]!!! */ -@@ -1840,7 +1840,7 @@ - pine_simple_send(outgoing, &body, NULL, NULL, NULL, 1); - else /* partially formatted outgoing message */ - pine_send(outgoing, &body, -- ps->nr_mode ? "SEND MESSAGE" : "FORWARD MESSAGE", -+ ps->nr_mode ? "送出信件" : "轉寄信件", - NULL, NULL, NULL, NULL, NULL, FALSE); - - clean: + + if((which & FE_FOLLOWUPTO) && e->followup_to) +@@ -4394,7 +4394,7 @@ + } + + if(!sparms->bar.title) +- sparms->bar.title = "Text"; ++ sparms->bar.title = "文字"; + + if(sparms->bar.style == TitleBarNone) + sparms->bar.style = MsgTextPercent; +@@ -4543,7 +4543,7 @@ + } + + if(first_view && num_display_lines >= get_scroll_text_lines()) +- q_status_message1(SM_INFO, 0, 1, "ALL of %s", STYLE_NAME(sparms)); ++ q_status_message1(SM_INFO, 0, 1, "%s 全部", STYLE_NAME(sparms)); + + + force = 0; /* may not need to next time around */ +@@ -4659,7 +4659,7 @@ + whereis_pos.row = 0; + if(sparms->help.text == NO_HELP || ps_global->nr_mode){ + q_status_message(SM_ORDER, 0, 5, +- "No help text currently available"); ++ "目前尚無輔助說明"); + break; + } + +@@ -4698,12 +4698,12 @@ + cur_top_line -= scroll_lines; + if(cur_top_line <= 0){ + cur_top_line = 0; +- q_status_message1(SM_INFO, 0, 1, "START of %s", ++ q_status_message1(SM_INFO, 0, 1, "%s起始", + STYLE_NAME(sparms)); + } + } + else +- q_status_message1(SM_ORDER, 0, 1, "Already at start of %s", ++ q_status_message1(SM_ORDER, 0, 1, "已經在%s的起始", + STYLE_NAME(sparms)); + break; + +@@ -4717,12 +4717,12 @@ + cur_top_line += scroll_lines; + + if(cur_top_line + num_display_lines >= get_scroll_text_lines()) +- q_status_message1(SM_INFO, 0, 1, "END of %s", ++ q_status_message1(SM_INFO, 0, 1, "%s結尾", + STYLE_NAME(sparms)); + } + else if(!sparms->end_scroll + || !(done = (*sparms->end_scroll)(sparms))) +- q_status_message1(SM_ORDER, 0, 1, "Already at end of %s", ++ q_status_message1(SM_ORDER, 0, 1, "已經在%s的結尾", + STYLE_NAME(sparms)); + + break; +@@ -4739,11 +4739,11 @@ + cur_top_line++; + if(cur_top_line + num_display_lines + >= get_scroll_text_lines()) +- q_status_message1(SM_INFO, 0, 1, "END of %s", ++ q_status_message1(SM_INFO, 0, 1, "%s結尾", + STYLE_NAME(sparms)); + } + else +- q_status_message1(SM_ORDER, 0, 1, "Already at end of %s", ++ q_status_message1(SM_ORDER, 0, 1, "已經在%s的結尾", + STYLE_NAME(sparms)); + } + +@@ -4760,11 +4760,11 @@ + if(cur_top_line){ + cur_top_line--; + if(cur_top_line == 0) +- q_status_message1(SM_INFO, 0, 1, "START of %s", ++ q_status_message1(SM_INFO, 0, 1, "%s起始", + STYLE_NAME(sparms)); + } + else +- q_status_message1(SM_ORDER, 0, 1, "Already at start of %s", ++ q_status_message1(SM_ORDER, 0, 1, "已經在%s的起始", + STYLE_NAME(sparms)); + } + +@@ -4795,7 +4795,7 @@ + } + + q_status_message(SM_ORDER, 0, 1, +- "Already on last selectable item"); ++ "已經在最後一個可選擇的項目上"); + } + + break; +@@ -4825,7 +4825,7 @@ + } + + q_status_message(SM_ORDER, 0, 1, +- "Already on first selectable item"); ++ "已經在第一個可選擇的項目上"); + } + + break; +@@ -4844,7 +4844,7 @@ + break; + + case -1 : +- cmd_cancelled("View"); ++ cmd_cancelled("檢視"); + break; + + default : +@@ -4931,14 +4931,14 @@ + q_status_message(SM_ORDER, 0, 3, tmp_20k_buf); + else + q_status_message2(SM_ORDER, 0, 3, +- "%sFound on line %s on screen", +- result ? "Search wrapped to start. " : "", ++ "%s在畫面上第 %s 行找到", ++ result ? "重頭搜尋。" : "", + int2string(whereis_pos.row)); + } + else if(found_on == -1) +- cmd_cancelled("Search"); ++ cmd_cancelled("搜尋"); + else +- q_status_message(SM_ORDER | SM_DING, 0, 3, "Word not found"); ++ q_status_message(SM_ORDER | SM_DING, 0, 3, "找不到該字"); + + break; + +@@ -4994,7 +4994,7 @@ + break; + + case -1 : +- cmd_cancelled("View"); ++ cmd_cancelled("檢視"); + break; + + default : +@@ -5239,13 +5239,13 @@ + int rc, flags; + static char search_string[MAX_SEARCH+1] = { '\0' }; + static ESCKEY_S word_search_key[] = { { 0, 0, "", "" }, +- {ctrl('Y'), 10, "^Y", "First Line"}, +- {ctrl('V'), 11, "^V", "Last Line"}, ++ {ctrl('Y'), 10, "^Y", "第一行"}, ++ {ctrl('V'), 11, "^V", "最後一行"}, + {-1, 0, NULL, NULL} + }; + + report[0] = '\0'; +- sprintf(prompt, "Word to search for [%s] : ", search_string); ++ sprintf(prompt, "搜尋字串[%s]:", search_string); + help = NO_HELP; + nsearch_string[0] = '\0'; + +@@ -5260,13 +5260,13 @@ + continue; + } + else if(rc == 10){ +- strcpy(report, "Searched to First Line."); ++ strcpy(report, "搜尋至第一行。"); + cursor_pos->row = 0; + cursor_pos->col = 0; + return(0); + } + else if(rc == 11){ +- strcpy(report, "Searched to Last Line."); ++ strcpy(report, "搜尋至最後一行。"); + cursor_pos->row = max(get_scroll_text_lines() - 1, 0); + cursor_pos->col = 0; + return(cursor_pos->row); +@@ -6055,10 +6055,10 @@ + if(*msg_p[0]) + for(i = 0; i < msg_q; i++) + q_status_message2(SM_ORDER, 3, 4, +- "%s Result: %s", title, msg_p[i]); ++ "%s 結果:%s", title, msg_p[i]); + else + q_status_message2(SM_ORDER, 0, 4, "%s%s", title, +- alt_msg ? alt_msg : " command completed"); ++ alt_msg ? alt_msg : " 命令完成"); + } + else{ + SCROLL_S sargs; +@@ -6069,7 +6069,7 @@ + memset(&sargs, 0, sizeof(SCROLL_S)); + sargs.text.text = f; + sargs.text.src = FileStar; +- sargs.text.desc = "help text"; ++ sargs.text.desc = "輔助說明文字"; + sargs.bar.title = title; + sargs.bar.style = TextPercent; + sargs.help.text = h_simple_text_view; |