1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/chinese/pine4/files/patch-ao

118 lines
3.3 KiB
Plaintext
Raw Normal View History

--- pico/pico.c.orig Tue Jul 7 05:41:45 1998
+++ pico/pico.c Tue Jul 28 08:35:00 1998
@@ -318,7 +318,7 @@
c = GetKey();
if (term.t_nrow < 6 && c != NODATA){
(*term.t_beep)();
- emlwrite("Please make the screen bigger.", NULL);
+ emlwrite("<22>бN<D0B1>e<EFBFBD><65><EFBFBD>դj<D5A4>@<40>ǡC", NULL);
continue;
}
@@ -560,9 +560,9 @@
}
if(c&CTRL)
- emlwrite("\007Unknown Command: ^%c", (void *)(c&0xff));
+ emlwrite("\007<30><37><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>O<EFBFBD>G^%c", (void *)(c&0xff));
else
- emlwrite("\007Unknown Command", NULL);
+ emlwrite("\007<30><37><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>O", NULL);
lastflag = 0; /* Fake last flags. */
return (FALSE);
@@ -615,7 +615,7 @@
return(TRUE);
}
else{
- emlwrite("Cancel Cancelled", NULL);
+ emlwrite("<22><><EFBFBD><EFBFBD>", NULL);
curwp->w_flag |= WFMODE; /* and modeline so we */
sgarbk = TRUE; /* redraw the keymenu */
pclear(term.t_nrow - 1, term.t_nrow + 1);
@@ -624,17 +624,17 @@
}
}
else switch(mlyesno(Pmaster->headents
- ? "Cancel message (answering \"Yes\" will abandon your mail message)"
+ ? "\"<22><><EFBFBD><EFBFBD>\"<22>o<EFBFBD>Ӱʧ@<40>N<EFBFBD>|<7C><><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>ثe<D8AB><65><EFBFBD>H<EFBFBD><48><EFBFBD>C<EFBFBD>T<EFBFBD>w<EFBFBD><77><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
: (anycb() == FALSE)
- ? "Cancel Edit (and abandon changes)"
- : "Cancel Edit",
+ ? "<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73>(<28>é<EFBFBD><C3A9><EFBFBD><EFBFBD>Ҧ<EFBFBD><D2A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)"
+ : "<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73>",
FALSE)){
case TRUE:
pico_all_done = COMP_CANCEL;
return(TRUE);
case ABORT:
- emlwrite("\007Cancel Cancelled", NULL);
+ emlwrite("\007<30><37><EFBFBD><EFBFBD>", NULL);
break;
default:
@@ -672,7 +672,7 @@
/* First, make sure there are no outstanding problems */
if(AttachError()){
- emlwrite("\007Problem with attachments! Fix errors or delete attachments.", NULL);
+ emlwrite("\007<30><37><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD>! <20>Э״_<D7B4>ΧR<CEA7><52><EFBFBD>Ӫ<EFBFBD><D3AA><EFBFBD><EFBFBD>C", NULL);
return(FALSE);
}
@@ -706,7 +706,7 @@
if (f != FALSE /* Argument forces it. */
|| anycb() == FALSE /* All buffers clean. */
/* User says it's OK. */
- || (s=mlyesno("Save modified buffer (ANSWERING \"No\" WILL DESTROY CHANGES)", -1)) == FALSE) {
+ || (s=mlyesno("<22>s<EFBFBD>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>L<EFBFBD><4C><EFBFBD>w<EFBFBD>İ<EFBFBD> (<28>^<5E><> \"No\" <20>N<EFBFBD>M<EFBFBD><4D><EFBFBD>Ҧ<EFBFBD><D2A6>w<EFBFBD><77><EFBFBD>L<EFBFBD><4C><EFBFBD>ק<EFBFBD>)", -1)) == FALSE) {
vttidy();
#if defined(USE_TERMCAP) || defined(USE_TERMINFO) || defined(VMS)
kbdestroy(kbesc);
@@ -719,7 +719,7 @@
wquit(1, 0);
}
else if(s == ABORT){
- emlwrite("Exit cancelled", NULL);
+ emlwrite("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}", NULL);
if(term.t_mrow == 0)
curwp->w_flag |= WFHARD; /* cause bottom 3 lines to paint */
}
@@ -753,7 +753,7 @@
ctrlg(f, n)
int f, n;
{
- emlwrite("Cancelled", NULL);
+ emlwrite("<22><><EFBFBD><EFBFBD>", NULL);
return (ABORT);
}
@@ -764,7 +764,7 @@
rdonly()
{
(*term.t_beep)();
- emlwrite("Key illegal in VIEW mode", NULL);
+ emlwrite("<22>o<EFBFBD><6F><EFBFBD>O<EFBFBD>@<40>Ӧb VIEW <20>Ҧ<EFBFBD><D2A6><EFBFBD><EFBFBD>X<EFBFBD>k<EFBFBD><6B><EFBFBD>R<EFBFBD>O", NULL);
return(FALSE);
}
@@ -1289,7 +1289,7 @@
wp->doto = 0;
}
else
- emlwrite("Can't allocate space for text", NULL);
+ emlwrite("<22>L<EFBFBD>k<EFBFBD>t<EFBFBD>m<EFBFBD><6D><EFBFBD>r<EFBFBD><72><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>Ŷ<EFBFBD>", NULL);
return((void *)wp);
}
@@ -1377,7 +1377,7 @@
register LINE *lp;
if((lp = lalloc(0)) == NULL){
- emlwrite("Can't allocate space for more characters",NULL);
+ emlwrite("<22>L<EFBFBD>k<EFBFBD>t<EFBFBD>m<EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>Ŷ<EFBFBD><C5B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><68><EFBFBD>r<EFBFBD><72>",NULL);
return(0);
}