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

220 lines
6.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- pine/reply.c.orig Tue Oct 12 01:30:36 1999
+++ pine/reply.c Thu Oct 14 15:00:52 1999
@@ -108,9 +108,9 @@
/*
* Little defs to keep the code a bit neater...
*/
-#define FRM_PMT "Use \"Reply-To:\" address instead of \"From:\" address"
-#define ALL_PMT "Reply to all recipients"
-#define NEWS_PMT "Follow-up to news group(s), Reply via email to author or Both? "
+#define FRM_PMT "使用 \"Reply-To:\" 地址代替 \"From:\" 地址"
+#define ALL_PMT "回覆給所有的收信者"
+#define NEWS_PMT "回覆至新聞組群,回函給作者或兩者皆要?"
#define SIGDASHES "-- "
@@ -341,7 +341,7 @@
role = combine_inherited_role(role);
else{ /* cancel reply */
role = NULL;
- cmd_cancelled("Reply");
+ cmd_cancelled("回覆");
goto done_early;
}
}
@@ -603,7 +603,7 @@
#endif
/* partially formatted outgoing message */
- pine_send(outgoing, &body, "COMPOSE MESSAGE REPLY",
+ pine_send(outgoing, &body, "編輯信件回函",
role, fcc.tptr, &reply, redraft_pos, NULL, NULL, 0);
done:
pine_free_body(&body);
@@ -681,7 +681,7 @@
(ADDRESS *) NULL, env->from, 0);
if(ret == 'x') {
- cmd_cancelled("Reply");
+ cmd_cancelled("回覆");
return(0);
}
@@ -730,7 +730,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')
@@ -830,9 +830,9 @@
PAT_S *curpat, *pat;
PAT_STATE pstate;
static ESCKEY_S ekey[] = {
- {'y', 'y', "Y", "Yes"},
- {'n', 'n', "N", "No Role"},
- {ctrl('T'), 2, "^T", "To Select Alternate Role"},
+ {'y', 'y', "Y", "是"},
+ {'n', 'n', "N", "否"},
+ {ctrl('T'), 2, "^T", "選擇替代角色"},
{-1, 0, NULL, NULL}};
if(!nonempty_patterns() || !role)
@@ -884,11 +884,11 @@
curpat = first_pattern(ROLE_DO_ROLES, &pstate);
if(flags & ROLE_REPLY)
- prompt_fodder = "Reply";
+ prompt_fodder = "回覆";
else if(flags & ROLE_FORWARD)
- prompt_fodder = "Forward";
+ prompt_fodder = "轉寄";
else
- prompt_fodder = "Compose";
+ prompt_fodder = "編輯";
done = 0;
while(!done){
@@ -1504,8 +1504,8 @@
{
int ret, edited = 0;
static ESCKEY_S rtq_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}
};
@@ -1515,19 +1515,18 @@
return(1);
while(1){
- sprintf(tmp_20k_buf, "Include %s%soriginal message%s in Reply%s%s%s? ",
- (many > 1L) ? comatose(many) : "",
- (many > 1L) ? " " : "",
- (many > 1L) ? "s" : "",
- F_ON(F_ENABLE_EDIT_REPLY_INDENT, ps) ? " (using \"" : "",
+ sprintf(tmp_20k_buf, "在回函%s%s%s中包含%s%s原本的訊息",
+ F_ON(F_ENABLE_EDIT_REPLY_INDENT, ps) ? "(使用 \"" : "",
F_ON(F_ENABLE_EDIT_REPLY_INDENT, ps) ? *prefix : "",
- F_ON(F_ENABLE_EDIT_REPLY_INDENT, ps) ? "\")" : "");
+ F_ON(F_ENABLE_EDIT_REPLY_INDENT, ps) ? "\" 為引言標示代號)" : "",
+ (many > 1L) ? comatose(many) : "",
+ (many > 1L) ? " " : "");
if(F_ON(F_ENABLE_EDIT_REPLY_INDENT, ps)){
rtq_opts[2].ch = ctrl('R');
rtq_opts[2].rval = 'r';
rtq_opts[2].name = "^R";
- rtq_opts[2].label = "Edit Indent String";
+ rtq_opts[2].label = "編輯引言標示代號";
}
else
rtq_opts[2].ch = -1;
@@ -1538,7 +1537,7 @@
rtq_opts, edited ? 'y' : 'n',
'x', NO_HELP, RB_SEQ_SENSITIVE)){
case 'x':
- cmd_cancelled("Reply");
+ cmd_cancelled("回覆");
return(-1);
case 'r':
@@ -1557,7 +1556,7 @@
switch(optionally_enter(buf, ps->ttyo->screen_rows > 4
? -FOOTER_ROWS(ps_global) : -1,
- 0, 63, "Reply prefix : ",
+ 0, 63, "引言標示代號:",
NULL, NO_HELP, &flags)){
case 0: /* entry successful, continue */
if(flags & OE_USER_MODIFIED){
@@ -1570,7 +1569,7 @@
break;
case 1:
- cmd_cancelled("Reply");
+ cmd_cancelled("回覆");
case -1:
return(-1);
@@ -2579,9 +2578,9 @@
ENVELOPE *env, *outgoing;
{
int ret = 1;
- static ESCKEY_S news_opt[] = { {'f', 'f', "F", "Follow-up"},
- {'r', 'r', "R", "Reply"},
- {'b', 'b', "B", "Both"},
+ static ESCKEY_S news_opt[] = { {'f', 'f', "F", "回覆至版上"},
+ {'r', 'r', "R", "回給作者"},
+ {'b', 'b', "B", "兩者皆要"},
{-1, 0, NULL, NULL} };
if(env->newsgroups && *env->newsgroups && !reply_poster_followup(env))
@@ -2605,7 +2604,7 @@
case 'x' : /* cancel or unknown response */
default :
- cmd_cancelled("Reply");
+ cmd_cancelled("回覆");
ret = 0;
break;
}
@@ -2613,7 +2612,7 @@
if(ret > 1){
if(env->followup_to){
q_status_message(SM_ORDER, 2, 3,
- "Posting to specified Followup-To groups");
+ "刊登至特定的回覆組群");
outgoing->newsgroups = cpystr(env->followup_to);
}
else if(!outgoing->newsgroups)
@@ -3249,7 +3248,7 @@
: 0;
if(ret == 'x'){
- cmd_cancelled("Forward");
+ cmd_cancelled("轉寄");
so_give((STORE_S **)&msgtext);
goto clean;
}
@@ -3263,7 +3262,7 @@
role = combine_inherited_role(role);
else{ /* cancel reply */
role = NULL;
- cmd_cancelled("Forward");
+ cmd_cancelled("轉寄");
so_give((STORE_S **)&msgtext);
goto clean;
}
@@ -3458,7 +3457,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 ? "送出信件" : "轉寄信件",
role, NULL, NULL, redraft_pos, NULL, NULL, FALSE);
clean:
@@ -3481,7 +3480,7 @@
mail_gc(ps->mail_stream, GC_TEXTS);
#endif
q_status_message(SM_ORDER | SM_DING, 4, 5,
- "Error fetching message contents. Can't forward message.");
+ "擷取信件內容時發生錯誤。無法轉寄信件。");
goto clean;
}
@@ -3861,7 +3860,7 @@
if(confirm_role(ROLE_COMPOSE, &role))
role = combine_inherited_role(role);
else{ /* cancel */
- cmd_cancelled("Composition");
+ cmd_cancelled("編輯");
display_message('x');
mail_free_envelope(&env);
pine_free_body(&body);