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-ay
Steve Price 386876662e Update to version 4.10.
PR:		10245
Submitted by:	maintainer
1999-03-15 01:45:43 +00:00

166 lines
5.2 KiB
Plaintext

--- pine/help.c.orig Thu Jan 7 03:50:55 1999
+++ pine/help.c Tue Feb 23 15:27:01 1999
@@ -53,12 +53,12 @@
{NULL,NULL,{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","前一連結",{MC_PREV_HANDLE,1,{ctrl('B')}},KS_NONE},
+ {"^F","次一連結",{MC_NEXT_HANDLE,1,{ctrl('F')}},KS_NONE},
PREVPAGE_MENU,
NEXTPAGE_MENU,
PRYNTMSG_MENU,
- {"Z","Print All",{MC_PRINTALL,1,{'z'}},KS_NONE},
+ {"Z","列印全部",{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","完畢",{MC_EXIT,2,{ctrl('m'),ctrl('j')}},KS_NONE},
NULL_MENU,
NULL_MENU,
NULL_MENU,
@@ -262,7 +262,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 = "輔助說明文字";
sargs.text.handles = handles;
if(!(sargs.bar.title = title)){
if(!struncmp(shown_text[0], "<html>", 6)){
@@ -290,7 +290,7 @@
}
if(!sargs.bar.title)
- sargs.bar.title = "HELP TEXT";
+ sargs.bar.title = "輔助說明文字";
}
sargs.bar.style = TextPercent;
@@ -307,18 +307,18 @@
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 = "前一說明";
km.keys[HLP_EXIT_KEY].bind.cmd = MC_FINISH;
km.keys[HLP_EXIT_KEY].bind.ch[0] = 'p';
km.keys[HLP_SUBEXIT_KEY].name = "E";
- km.keys[HLP_SUBEXIT_KEY].label = "Exit Help";
+ km.keys[HLP_SUBEXIT_KEY].label = "離開";
km.keys[HLP_SUBEXIT_KEY].bind.cmd = MC_EXIT;
km.keys[HLP_SUBEXIT_KEY].bind.ch[0] = 'e';
}
else if(text == h_special_help_nav){
km.keys[HLP_EXIT_KEY].name = "P";
- km.keys[HLP_EXIT_KEY].label = "Prev Help";
+ km.keys[HLP_EXIT_KEY].label = "前一說明";
km.keys[HLP_EXIT_KEY].bind.cmd = MC_FINISH;
km.keys[HLP_EXIT_KEY].bind.ch[0] = 'p';
@@ -327,12 +327,12 @@
}
else{
km.keys[HLP_EXIT_KEY].name = "E";
- km.keys[HLP_EXIT_KEY].label = "Exit Help";
+ km.keys[HLP_EXIT_KEY].label = "離開";
km.keys[HLP_EXIT_KEY].bind.cmd = MC_EXIT;
km.keys[HLP_EXIT_KEY].bind.ch[0] = 'e';
km.keys[HLP_SUBEXIT_KEY].name = "?";
- km.keys[HLP_SUBEXIT_KEY].label = "Help Help";
+ km.keys[HLP_SUBEXIT_KEY].label = "輔助說明";
km.keys[HLP_SUBEXIT_KEY].bind.cmd = MC_HELP;
km.keys[HLP_SUBEXIT_KEY].bind.ch[0] = '?';
}
@@ -492,7 +492,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 = "[檢視連結]";
}
}
@@ -543,7 +543,7 @@
print_text(NEWLINE);
if(error = gf_pipe(helper_getc, print_char))
- q_status_message1(SM_ORDER | SM_DING, 3, 3, "Printing Error: %s", error);
+ q_status_message1(SM_ORDER | SM_DING, 3, 3, "列印錯誤:%s", error);
print_char(ctrl('L')); /* new page. */
}
@@ -573,7 +573,7 @@
#endif
if(ps_global->intr_pending){
q_status_message(SM_ORDER, 3, 3,
- "Print of all help cancelled");
+ "取消列印所有的輔助說明");
break;
}
@@ -962,7 +962,7 @@
memset(&sargs, 0, sizeof(SCROLL_S));
sargs.text.text = tmp_text;
sargs.text.src = CharStar;
- sargs.text.desc = "journal";
+ sargs.text.desc = "日誌";
sargs.bar.title = title;
sargs.start.on = LastPage;
@@ -1321,7 +1321,7 @@
#endif
}
else if(ch == 'x'){
- q_status_message(SM_ORDER, 0, 3, "Bug report cancelled.");
+ q_status_message(SM_ORDER, 0, 3, "取消錯誤回報。");
return(-1);
}
}
@@ -1448,13 +1448,13 @@
if(in_handle){
hp_menu[++i].type = tQueue;
hp_menu[i].label.style = lNormal;
- hp_menu[i].label.string = "View Help Section";
+ hp_menu[i].label.string = "檢視輔助說明章節";
hp_menu[i].data.val = 'V';
}
hp_menu[++i].type = tQueue;
hp_menu[i].label.style = lNormal;
- hp_menu[i].label.string = "Exit Help";
+ hp_menu[i].label.string = "離開";
hp_menu[i].data.val = 'E';
hp_menu[++i].type = tTail;
@@ -1479,18 +1479,18 @@
if(in_handle){
hp_menu[++i].type = tQueue;
hp_menu[i].label.style = lNormal;
- hp_menu[i].label.string = "View Help Section";
+ hp_menu[i].label.string = "檢視該節說明";
hp_menu[i].data.val = 'V';
}
hp_menu[++i].type = tQueue;
hp_menu[i].label.style = lNormal;
- hp_menu[i].label.string = "Previous Help Section";
+ hp_menu[i].label.string = "前一節";
hp_menu[i].data.val = 'P';
hp_menu[++i].type = tQueue;
hp_menu[i].label.style = lNormal;
- hp_menu[i].label.string = "Exit Help";
+ hp_menu[i].label.string = "離開";
hp_menu[i].data.val = 'E';
hp_menu[++i].type = tTail;