mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
386876662e
PR: 10245 Submitted by: maintainer
183 lines
5.1 KiB
Plaintext
183 lines
5.1 KiB
Plaintext
--- pine/reply.c.orig Thu Jan 28 06:32:10 1999
|
||
+++ pine/reply.c Tue Feb 23 15:55:36 1999
|
||
@@ -107,9 +107,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 "-- "
|
||
|
||
|
||
@@ -293,7 +293,7 @@
|
||
else{ /* cancel reply */
|
||
role = NULL;
|
||
close_patterns(&pattern_h);
|
||
- cmd_cancelled("Reply");
|
||
+ cmd_cancelled("回覆");
|
||
goto done_early;
|
||
}
|
||
|
||
@@ -558,7 +558,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);
|
||
@@ -636,7 +636,7 @@
|
||
(ADDRESS *) NULL, env->from, 0);
|
||
|
||
if(ret == 'x') {
|
||
- cmd_cancelled("Reply");
|
||
+ cmd_cancelled("回覆");
|
||
return(0);
|
||
}
|
||
|
||
@@ -685,7 +685,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')
|
||
@@ -1406,8 +1406,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}
|
||
};
|
||
@@ -1417,19 +1417,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;
|
||
@@ -1440,7 +1439,7 @@
|
||
rtq_opts, edited ? 'y' : 'n',
|
||
'x', NO_HELP, RB_SEQ_SENSITIVE)){
|
||
case 'x':
|
||
- cmd_cancelled("Reply");
|
||
+ cmd_cancelled("回覆");
|
||
return(-1);
|
||
|
||
case 'r':
|
||
@@ -1459,7 +1458,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){
|
||
@@ -1472,7 +1471,7 @@
|
||
break;
|
||
|
||
case 1:
|
||
- cmd_cancelled("Reply");
|
||
+ cmd_cancelled("回覆");
|
||
|
||
case -1:
|
||
return(-1);
|
||
@@ -2476,9 +2475,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))
|
||
@@ -2502,7 +2501,7 @@
|
||
|
||
case 'x' : /* cancel or unknown response */
|
||
default :
|
||
- cmd_cancelled("Reply");
|
||
+ cmd_cancelled("回覆");
|
||
ret = 0;
|
||
break;
|
||
}
|
||
@@ -2510,7 +2509,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)
|
||
@@ -3148,7 +3147,7 @@
|
||
: 0;
|
||
|
||
if(ret == 'x'){
|
||
- cmd_cancelled("Forward");
|
||
+ cmd_cancelled("轉寄");
|
||
so_give((STORE_S **)&msgtext);
|
||
goto clean;
|
||
}
|
||
@@ -3163,7 +3162,7 @@
|
||
else{ /* cancel reply */
|
||
role = NULL;
|
||
close_patterns(&pattern_h);
|
||
- cmd_cancelled("Forward");
|
||
+ cmd_cancelled("轉寄");
|
||
so_give((STORE_S **)&msgtext);
|
||
goto clean;
|
||
}
|
||
@@ -3360,7 +3359,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:
|
||
@@ -3383,7 +3382,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;
|
||
}
|
||
|