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

102 lines
3.1 KiB
Plaintext
Raw Normal View History

--- pine/help.c.orig Wed Jul 1 06:22:26 1998
+++ pine/help.c Tue Jul 28 08:35:02 1998
@@ -50,15 +50,15 @@
static struct key help_keys[] =
{MAIN_MENU,
- {"E","Exit Help",{MC_EXIT,1,{'e'}}, KS_EXITMODE},
+ {"E","<22><><EFBFBD>}",{MC_EXIT,1,{'e'}}, KS_EXITMODE},
{NULL,NULL,{MC_EXIT,1,{'e'}}, KS_EXITMODE},
{NULL,NULL,{MC_VIEW_HANDLE,3,{'v',ctrl('m'),ctrl('j')}},KS_NONE},
- {"^B","PrevLink",{MC_PREV_HANDLE,1,{ctrl('B')}},KS_NONE},
- {"^F","NextLink",{MC_NEXT_HANDLE,1,{ctrl('F')}},KS_NONE},
+ {"^B","<22>e<EFBFBD>@<40>s<EFBFBD><73>",{MC_PREV_HANDLE,1,{ctrl('B')}},KS_NONE},
+ {"^F","<22><><EFBFBD>@<40>s<EFBFBD><73>",{MC_NEXT_HANDLE,1,{ctrl('F')}},KS_NONE},
PREVPAGE_MENU,
NEXTPAGE_MENU,
PRYNTMSG_MENU,
- {"Z","Print All",{MC_PRINTALL,1,{'z'}},KS_NONE},
+ {"Z","<22>C<EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD>",{MC_PRINTALL,1,{'z'}},KS_NONE},
NULL_MENU,
WHEREIS_MENU};
INST_KEY_MENU(help_keymenu, help_keys);
@@ -77,7 +77,7 @@
static struct key gripe_modal_keys[] =
{NULL_MENU,
NULL_MENU,
- {"Ret","Finished",{MC_EXIT,2,{ctrl('m'),ctrl('j')}},KS_NONE},
+ {"Ret","<22><><EFBFBD><EFBFBD>",{MC_EXIT,2,{ctrl('m'),ctrl('j')}},KS_NONE},
NULL_MENU,
NULL_MENU,
NULL_MENU,
@@ -269,7 +269,7 @@
memset(&sargs, 0, sizeof(SCROLL_S));
sargs.text.text = so_text(store);
sargs.text.src = CharStar;
- sargs.text.desc = "help text";
+ sargs.text.desc = "<22><><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>r";
sargs.text.handles = handles;
if(!(sargs.bar.title = title)){
if(!struncmp(shown_text[0], "<html>", 6)){
@@ -297,7 +297,7 @@
}
if(!sargs.bar.title)
- sargs.bar.title = "HELP TEXT";
+ sargs.bar.title = "<22><><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>r";
}
sargs.bar.style = TextPercent;
@@ -313,13 +313,13 @@
setbitmap(sargs.keys.bitmap);
if(flags & HLPD_FROMHELP){
km.keys[HLP_EXIT_KEY].name = "P";
- km.keys[HLP_EXIT_KEY].label = "Prev Help";
+ km.keys[HLP_EXIT_KEY].label = "<22>e<EFBFBD>@<40><><EFBFBD><EFBFBD>";
km.keys[HLP_EXIT_KEY].bind.cmd = MC_FINISH;
km.keys[HLP_EXIT_KEY].bind.ch[0] = 'p';
}
else{
km.keys[HLP_EXIT_KEY].name = "E";
- km.keys[HLP_EXIT_KEY].label = "Exit Help";
+ km.keys[HLP_EXIT_KEY].label = "<22><><EFBFBD>}";
km.keys[HLP_EXIT_KEY].bind.cmd = MC_EXIT;
km.keys[HLP_EXIT_KEY].bind.ch[0] = 'e';
clrbitn(HLP_SUBEXIT_KEY, sargs.keys.bitmap);
@@ -478,7 +478,7 @@
}
sparms->keys.menu->keys[HLP_VIEW_HANDLE].name = "V";
- sparms->keys.menu->keys[HLP_VIEW_HANDLE].label = "[View Link]";
+ sparms->keys.menu->keys[HLP_VIEW_HANDLE].label = "[<5B>˵<EFBFBD><CBB5>s<EFBFBD><73>]";
}
}
@@ -559,7 +559,7 @@
#endif
if(ps_global->intr_pending){
q_status_message(SM_ORDER, 3, 3,
- "Print of all help cancelled");
+ "<22><><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>L<EFBFBD>Ҧ<EFBFBD><D2A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD>");
break;
}
@@ -948,7 +948,7 @@
memset(&sargs, 0, sizeof(SCROLL_S));
sargs.text.text = tmp_text;
sargs.text.src = CharStar;
- sargs.text.desc = "journal";
+ sargs.text.desc = "<22><><EFBFBD>x";
sargs.bar.title = title;
sargs.start.on = LastPage;
@@ -1304,7 +1304,7 @@
#endif
}
else if(ch == 'x'){
- q_status_message(SM_ORDER, 0, 3, "Bug report cancelled.");
+ q_status_message(SM_ORDER, 0, 3, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>~<7E>^<5E><><EFBFBD>C");
return(-1);
}
}