1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/chinese/pine4/files/patch-bg

156 lines
4.6 KiB
Plaintext
Raw Normal View History

--- pine/reply.c.orig Wed Jul 15 08:40:00 1998
+++ pine/reply.c Tue Jul 28 08:35:06 1998
@@ -88,9 +88,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 "<22>ϥ<EFBFBD> \"Reply-To:\" <20>a<EFBFBD>}<7D>N<EFBFBD><4E> \"From:\" <20>a<EFBFBD>}"
+#define ALL_PMT "<22>^<5E>е<EFBFBD><D0B5>Ҧ<EFBFBD><D2A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>H<EFBFBD><48>"
+#define NEWS_PMT "<22>^<5E>Цܷs<DCB7>D<EFBFBD>ոs<D5B8>A<EFBFBD>^<5E><EFBFBD>@<40>̩Ψ<CCA9><CEA8>̬ҭn<D2AD>H"
/*
* standard type of storage object used for body parts...
@@ -411,7 +411,7 @@
#endif
/* partially formatted outgoing message */
- pine_send(outgoing, &body, "COMPOSE MESSAGE REPLY",
+ pine_send(outgoing, &body, "<22>s<EFBFBD><73><EFBFBD>H<EFBFBD><48><EFBFBD>^<5E><>",
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("<22>^<5E><>");
return(0);
}
@@ -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("<22>^<5E><>");
return(0);
}
else if(ret == 'y')
@@ -1099,8 +1099,8 @@
{
int ret, edited = 0;
static ESCKEY_S rtq_opts[] = {
- {'y', 'y', "Y", "Yes"},
- {'n', 'n', "N", "No"},
+ {'y', 'y', "Y", "<22>O"},
+ {'n', 'n', "N", "<22>_"},
{-1, 0, NULL, NULL}, /* may be overridden below */
{-1, 0, NULL, NULL}
};
@@ -1110,19 +1110,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, "<22>b<EFBFBD>^<5E><>%s%s%s<><73><EFBFBD>]<5D>t%s%s<><EFBFBD><ECA5BB><EFBFBD>T<EFBFBD><54><EFBFBD>H",
+ F_ON(F_ENABLE_EDIT_REPLY_INDENT, ps) ? "<22>]<5D>ϥ<EFBFBD> \"" : "",
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) ? "\" <20><><EFBFBD>ި<EFBFBD><DEA8>ХܥN<DCA5><4E><EFBFBD>^" : "",
+ (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 = "<22>s<EFBFBD><73><EFBFBD>ި<EFBFBD><DEA8>ХܥN<DCA5><4E>";
}
else
rtq_opts[2].ch = -1;
@@ -1133,7 +1132,7 @@
rtq_opts, edited ? 'y' : 'n',
'x', NO_HELP, RB_SEQ_SENSITIVE)){
case 'x':
- cmd_cancelled("Reply");
+ cmd_cancelled("<22>^<5E><>");
return(-1);
case 'r':
@@ -1152,7 +1151,7 @@
switch(optionally_enter(buf, ps->ttyo->screen_rows > 4
? -FOOTER_ROWS(ps_global) : -1,
- 0, 63, "Reply prefix : ",
+ 0, 63, "<22>ި<EFBFBD><DEA8>ХܥN<DCA5><4E><EFBFBD>G",
NULL, NO_HELP, &flags)){
case 0: /* entry successful, continue */
if(flags & OE_USER_MODIFIED){
@@ -1165,7 +1164,7 @@
break;
case 1:
- cmd_cancelled("Reply");
+ cmd_cancelled("<22>^<5E><>");
case -1:
return(-1);
@@ -1518,9 +1517,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", "<22>^<5E>Цܪ<D0A6><DCAA>W"},
+ {'r', 'r', "R", "<22>^<5E><><EFBFBD>@<40><>"},
+ {'b', 'b', "B", "<22><><EFBFBD>̬ҭn"},
{-1, 0, NULL, NULL} };
if(env->newsgroups && *env->newsgroups && !reply_poster_followup(env))
@@ -1544,7 +1543,7 @@
case 'x' : /* cancel or unknown response */
default :
- cmd_cancelled("Reply");
+ cmd_cancelled("<22>^<5E><>");
ret = 0;
break;
}
@@ -1552,7 +1551,7 @@
if(ret > 1){
if(env->followup_to){
q_status_message(SM_ORDER, 2, 3,
- "Posting to specified Followup-To groups");
+ "<22>Z<EFBFBD>n<EFBFBD>ܯS<DCAF>w<EFBFBD><77><EFBFBD>^<5E>вոs");
outgoing->newsgroups = cpystr(env->followup_to);
}
else if(!outgoing->newsgroups)
@@ -1710,7 +1709,7 @@
* up...
*/
if(ret == 'x'){
- q_status_message(SM_ORDER, 0, 3, "Forward message cancelled");
+ q_status_message(SM_ORDER, 0, 3, "<22><><EFBFBD><EFBFBD><EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD><EFBFBD>H");
goto clean_early;
}
else if(ret == 'y'){ /* attach message[s]!!! */
@@ -1842,7 +1841,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 ? "<22>e<EFBFBD>X<EFBFBD>H<EFBFBD><48>" : "<22><><EFBFBD>H<EFBFBD>H<EFBFBD><48>",
NULL, NULL, NULL, NULL, NULL, FALSE);
clean: