freebsd-ports/chinese/pine4/files/patch-ay
Steve Price 615932e686 Update to version 4.20.
PR:		14575
Submitted by:	maintainer
1999-11-01 00:41:02 +00:00

166 lines
5.2 KiB
Plaintext

--- pine/help.c.orig Wed Sep 15 04:31:21 1999
+++ pine/help.c Thu Oct 14 11:43:45 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,
@@ -263,7 +263,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 = "輔助說明文字";
if(sargs.text.handles = handles)
while(sargs.text.handles->type == URL
&& !sargs.text.handles->h.url.path
@@ -296,7 +296,7 @@
}
if(!sargs.bar.title)
- sargs.bar.title = "HELP TEXT";
+ sargs.bar.title = "輔助說明文字";
}
sargs.bar.style = TextPercent;
@@ -313,18 +313,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';
@@ -333,12 +333,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] = '?';
}
@@ -507,7 +507,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 = "[檢視鏈結]";
}
}
@@ -558,7 +558,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. */
}
@@ -588,7 +588,7 @@
#endif
if(ps_global->intr_pending){
q_status_message(SM_ORDER, 3, 3,
- "Print of all help cancelled");
+ "取消列印所有的輔助說明");
break;
}
@@ -977,7 +977,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;
@@ -1336,7 +1336,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);
}
}
@@ -1463,13 +1463,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;
@@ -1494,18 +1494,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;