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-be

281 lines
9.1 KiB
Plaintext
Raw Normal View History

--- pine/pine.c.orig Wed Jul 22 06:02:36 1998
+++ pine/pine.c Tue Jul 28 08:35:06 1998
@@ -107,12 +107,12 @@
OTHER_MENU,
NULL_MENU,
NULL_MENU,
- {"P","PrevCmd",{MC_PREVITEM,3,{'p',ctrl('P'),KEY_UP}},KS_NONE},
- {"N","NextCmd",{MC_NEXTITEM,3,{'n',ctrl('N'),KEY_DOWN}},KS_NONE},
+ {"P","<22>e<EFBFBD>@<40>R<EFBFBD>O",{MC_PREVITEM,3,{'p',ctrl('P'),KEY_UP}},KS_NONE},
+ {"N","<22><><EFBFBD>@<40>R<EFBFBD>O",{MC_NEXTITEM,3,{'n',ctrl('N'),KEY_DOWN}},KS_NONE},
NULL_MENU,
NULL_MENU,
- {"R","RelNotes",{MC_RELNOTES,1,{'r'}},KS_NONE},
- {"K","KBLock",{MC_KBLOCK,1,{'k'}},KS_NONE},
+ {"R","<22>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",{MC_RELNOTES,1,{'r'}},KS_NONE},
+ {"K","<22><><EFBFBD>L<EFBFBD><4C><EFBFBD>w",{MC_KBLOCK,1,{'k'}},KS_NONE},
NULL_MENU,
NULL_MENU,
@@ -122,10 +122,10 @@
COMPOSE_MENU,
LISTFLD_MENU,
GOTO_MENU,
- {"I","Index",{MC_INDEX,1,{'i'}},KS_FLDRINDEX},
- {"J","Journal",{MC_JOURNAL,1,{'j'}},KS_REVIEW},
- {"S","Setup",{MC_SETUP,1,{'s'}},KS_NONE},
- {"A","AddrBook",{MC_ADDRBOOK,1,{'a'}},KS_ADDRBOOK},
+ {"I","<22><><EFBFBD><EFBFBD>",{MC_INDEX,1,{'i'}},KS_FLDRINDEX},
+ {"J","<22><><EFBFBD>x",{MC_JOURNAL,1,{'j'}},KS_REVIEW},
+ {"S","<22>]<5D>w",{MC_SETUP,1,{'s'}},KS_NONE},
+ {"A","<22>a<EFBFBD>}ï",{MC_ADDRBOOK,1,{'a'}},KS_ADDRBOOK},
NULL_MENU,
NULL_MENU};
INST_KEY_MENU(main_keymenu, main_keys);
@@ -511,7 +511,7 @@
static struct key simple_file_keys[] =
{HELP_MENU,
NULL_MENU,
- {"Q","Quit Viewer",{MC_EXIT,1,{'q'}},KS_NONE},
+ {"Q","<22><><EFBFBD>}",{MC_EXIT,1,{'q'}},KS_NONE},
NULL_MENU,
NULL_MENU,
NULL_MENU,
@@ -520,15 +520,15 @@
PRYNTTXT_MENU,
WHEREIS_MENU,
FWDEMAIL_MENU,
- {"S", "Save", {MC_SAVETEXT,1,{'s'}}, KS_SAVE}};
+ {"S", "<22>s<EFBFBD><73>", {MC_SAVETEXT,1,{'s'}}, KS_SAVE}};
INST_KEY_MENU(simple_file_keymenu, simple_file_keys);
#define SAVE_KEY 9
memset(&sargs, 0, sizeof(SCROLL_S));
sargs.text.text = so_text(store);
sargs.text.src = src;
- sargs.text.desc = "file";
- sargs.bar.title = "FILE VIEW";
+ sargs.text.desc = "<22>ɮ<EFBFBD>";
+ sargs.bar.title = "<22>˵<EFBFBD><CBB5>ɮ<EFBFBD>";
sargs.bar.style = FileTextPercent;
sargs.keys.menu = &simple_file_keymenu;
setbitmap(sargs.keys.bitmap);
@@ -709,7 +709,7 @@
if(!pine_state->VAR_INBOX_PATH || !pine_state->VAR_INBOX_PATH[0]
|| strucmp(pine_state->VAR_INBOX_PATH, "inbox") == 0){
HelpType help = NO_HELP;
- static ESCKEY_S ekey[] = {{ctrl(T), 2, "^T", "To Fldrs"},
+ static ESCKEY_S ekey[] = {{ctrl(T), 2, "^T", "<22><><EFBFBD>ƧX"},
{-1, 0, NULL, NULL}};
pine_state->mangled_footer = 1;
@@ -719,7 +719,7 @@
rv = optionally_enter(int_mail, -FOOTER_ROWS(pine_state),
0, MAXPATH,
- "No inbox! Folder to open as inbox : ",
+ "<22>S<EFBFBD><53><EFBFBD>s<EFBFBD>i<EFBFBD>H<EFBFBD><48><EFBFBD>X(inbox)<29>I<EFBFBD>H<EFBFBD><48><EFBFBD>X<EFBFBD>}<7D>Ҭ<EFBFBD> inbox<6F>G",
/* ekey */ NULL, help, &flags);
if(rv == 3){
help = (help == NO_HELP) ? h_sticky_inbox : NO_HELP;
@@ -731,7 +731,7 @@
}
if(rv == 1){
- q_status_message(SM_ORDER, 0, 2 ,"Folder open cancelled");
+ q_status_message(SM_ORDER, 0, 2 ,"<22><><EFBFBD><EFBFBD><EFBFBD>}<7D>ҫH<D2AB><48><EFBFBD>X");
rv = 0; /* reset rv */
}
else if(rv == 2){
@@ -750,7 +750,7 @@
removing_leading_white_space(int_mail);
if((!pine_state->VAR_INBOX_PATH
|| strucmp(pine_state->VAR_INBOX_PATH, "inbox") == 0)
- && want_to("Preserve folder as \"inbox-path\" in PINERC",
+ && want_to("<22>b PINERC <20><><EFBFBD>O<EFBFBD>d<EFBFBD><64><EFBFBD>ƧX<C6A7><58> \"inbox-path\"",
'y', 'n', NO_HELP, WT_NORM) == 'y'){
set_variable(V_INBOX_PATH, int_mail, 1);
}
@@ -895,25 +895,25 @@
*news_addition;
int key_index; /* index into keymenu array for this cmd */
} mkeys[] = {
- {" %s HELP - Get help using Pine",
+ {" %s <20>ϥλ<CFA5><CEBB><EFBFBD> - Pine <20><><EFBFBD>ϥλ<CFA5><CEBB><EFBFBD>",
NULL, MAIN_HELP_KEY},
{"", NULL, UNUSED},
- {" %s COMPOSE MESSAGE - Compose and send%s a message",
+ {" %s <20>g<EFBFBD>H - <20>g<EFBFBD>H<EFBFBD>άO<CEAC>o<EFBFBD><6F><EFBFBD>峹",
"/post", MAIN_COMPOSE_KEY},
{"", NULL, UNUSED},
- {" %s MESSAGE INDEX - View messages in current folder",
+ {" %s <20>d<EFBFBD>ݫH<DDAB><48><EFBFBD>X - <20>d<EFBFBD>ݥثe<D8AB>H<EFBFBD><48><EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD>H<EFBFBD><48>",
NULL, MAIN_INDEX_KEY},
{"", NULL, UNUSED},
- {" %s FOLDER LIST - Select a folder%s to view",
- " OR news group", MAIN_FOLDER_KEY},
+ {" %s <20>H<EFBFBD><48><EFBFBD>X<EFBFBD>C<EFBFBD><43> - <20>C<EFBFBD>X<EFBFBD>H<EFBFBD><48><EFBFBD>X%s<>H<EFBFBD>ѿ<EFBFBD><D1BF><EFBFBD>",
+ "<22>άO<CEAC>s<EFBFBD>D<EFBFBD>ոs", MAIN_FOLDER_KEY},
{"", NULL, UNUSED},
- {" %s ADDRESS BOOK - Update address book",
+ {" %s <20>a<EFBFBD>}ï - <20><><EFBFBD>s<EFBFBD>έק<CEAD><D7A7>a<EFBFBD><><C3AF><EFBFBD><EFBFBD><EFBFBD>e",
NULL, MAIN_ADDRESS_KEY},
{"", NULL, UNUSED},
- {" %s SETUP - Configure Pine Options",
+ {" %s <20>]<5D>w - <20>]<5D>w Pine <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѽ<EFBFBD>",
NULL, MAIN_SETUP_KEY},
{"", NULL, UNUSED},
- {" %s QUIT - Leave the Pine program",
+ {" %s <20><><EFBFBD>} - <20><><EFBFBD><EFBFBD> Pine <20><><EFBFBD>ϥ<EFBFBD>",
NULL, MAIN_QUIT_KEY}
};
@@ -1206,7 +1206,7 @@
pine_state->mangled_footer = 1;
}
else{
- helper(main_menu_tx, "HELP FOR MAIN MENU", 0);
+ helper(main_menu_tx, "<22>D<EFBFBD><44><EFBFBD><EFBFBD><E6AABA><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD>", 0);
pine_state->mangled_screen = 1;
}
@@ -1234,7 +1234,7 @@
just_a_navigate_cmd++;
}
else
- q_status_message(SM_ORDER, 0, 2, "Already at top of list");
+ q_status_message(SM_ORDER, 0, 2, "<22>w<EFBFBD>g<EFBFBD>b<EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>ݤF");
break;
@@ -1250,14 +1250,14 @@
just_a_navigate_cmd++;
}
else
- q_status_message(SM_ORDER, 0, 2, "Already at bottom of list");
+ q_status_message(SM_ORDER, 0, 2, "<22>w<EFBFBD>g<EFBFBD>b<EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>ݤF");
break;
/*---------- Release Notes ----------*/
case MC_RELNOTES :
- helper(h_news, "PINE RELEASE NOTES", 0);
+ helper(h_news, "PINE <20>X<EFBFBD><58><EFBFBD>K<EFBFBD>n", 0);
pine_state->mangled_screen = 1;
break;
@@ -1486,7 +1486,7 @@
/* paint the titlebar if needed */
if(ps->mangled_header){
- set_titlebar("MAIN MENU", ps->mail_stream, ps->context_current,
+ set_titlebar("<22>D<EFBFBD><44><EFBFBD><EFBFBD>", ps->mail_stream, ps->context_current,
ps->cur_folder, ps->msgmap, 1, FolderName, 0, 0);
ps->mangled_header = 0;
}
@@ -1651,13 +1651,13 @@
{
char prompt[80];
char letters[20];
- char *printer = "Printer";
- char *passwd = "Newpassword";
- char *config = "Config";
- char *update = "Update";
- char *sigedit = "Signature";
- char *abooks = "AddressBooks";
- char *clctns = "collectionList";
+ char *printer = "<22>L<EFBFBD><4C><EFBFBD><EFBFBD>";
+ char *passwd = "<22>]<5D>w<EFBFBD>s<EFBFBD>K<EFBFBD>X";
+ char *config = "<22><><EFBFBD>ҳ]<5D>w";
+ char *update = "<22><><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD>";
+ char *sigedit = "<22>s<EFBFBD><73>ñ<EFBFBD>W<EFBFBD><57>";
+ char *abooks = "<22>a<EFBFBD>}ï";
+ char *clctns = "<22>`<60><><EFBFBD>C<EFBFBD><43>";
#ifdef ENABLE_LDAP
char *dir = "Directory";
#endif
@@ -1735,13 +1735,13 @@
}
sprintf(prompt,
- "Choose a setup task from %s : ",
- F_ON(F_BLANK_KEYMENU,ps_global) ? letters : "the menu below");
+ "<22>бq%s<><73><EFBFBD>ܧA<DCA7>ҭn<D2AD>]<5D>w<EFBFBD><77><EFBFBD>u<EFBFBD>@<40>G",
+ F_ON(F_BLANK_KEYMENU,ps_global) ? letters : "<22>U<EFBFBD>C<EFBFBD><43><EFBFBD>椤");
s = radio_buttons(prompt, ql, setup_names, deefault, 'x', help, RB_NORM);
/* ^C */
if(s == 'x') {
- q_status_message(SM_ORDER,0,3,"Setup command cancelled");
+ q_status_message(SM_ORDER,0,3,"<22><><EFBFBD><EFBFBD><EFBFBD>]<5D>w<EFBFBD><77><EFBFBD>O");
s = 'e';
}
@@ -1854,14 +1854,14 @@
HELP_MENU,
NULL_MENU,
{"E",NULL,{MC_EXIT,1,{'e',ctrl('M'),ctrl('J')}},KS_NONE},
- {"Ret","[Be Counted!]",{MC_VIEW_HANDLE,2,{ctrl('M'),ctrl('J')}},KS_NONE},
+ {"Ret","[<5B>C<EFBFBD>J<EFBFBD>ϥΪ<CFA5><CEAA>`<60>p<EFBFBD><70>]",{MC_VIEW_HANDLE,2,{ctrl('M'),ctrl('J')}},KS_NONE},
NULL_MENU,
NULL_MENU,
PREVPAGE_MENU,
NEXTPAGE_MENU,
PRYNTMSG_MENU,
NULL_MENU,
- {"R","RelNotes",{MC_RELNOTES,1,{'r'}},KS_NONE},
+ {"R","<22>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",{MC_RELNOTES,1,{'r'}},KS_NONE},
NULL_MENU};
INST_KEY_MENU(nuov_keymenu, nuov_keys);
#define NUOV_EXIT 2
@@ -1950,13 +1950,13 @@
memset(&sargs, 0, sizeof(SCROLL_S));
sargs.text.text = so_text(store);
sargs.text.src = CharStar;
- sargs.text.desc = "greeting text";
+ sargs.text.desc = "<22>ݭԤ<DDAD><D4A4>r";
sargs.text.handles = handles;
- sargs.bar.title = "GREETING TEXT";
+ sargs.bar.title = "<22>ݭԤ<DDAD><D4A4>r";
sargs.bar.style = TextPercent;
sargs.proc.tool = nuov_processor;
sargs.help.text = main_menu_tx;
- sargs.help.title = "MAIN PINE HELP";
+ sargs.help.title = "PINE <20><><EFBFBD>D<EFBFBD>n<EFBFBD><6E><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD>";
sargs.resize_exit = 1;
sargs.force_h = 1;
sargs.keys.menu = &km;
@@ -1967,11 +1967,11 @@
setbitmap(sargs.keys.bitmap);
if(ps->phone_home){
- km.keys[NUOV_EXIT].label = "Exit this greeting";
+ km.keys[NUOV_EXIT].label = "<22><><EFBFBD>}";
km.keys[NUOV_EXIT].bind.nch = 1;
}
else{
- km.keys[NUOV_EXIT].label = "[Exit this greeting]";
+ km.keys[NUOV_EXIT].label = "[<5B><><EFBFBD>}]";
km.keys[NUOV_EXIT].bind.nch = 3;
clrbitn(NUOV_VIEW, sargs.keys.bitmap);
}
@@ -2029,7 +2029,7 @@
break;
case MC_RELNOTES :
- helper(h_news, "PINE RELEASE NOTES", 0);
+ helper(h_news, "PINE <20>X<EFBFBD><58><EFBFBD>K<EFBFBD>n", 0);
ps_global->mangled_screen = 1;
break;
@@ -2148,7 +2148,7 @@
dprint(1, (debugfile, "\n\n ---- QUIT SCREEN ----\n"));
if(!pine_state->nr_mode && F_OFF(F_QUIT_WO_CONFIRM,pine_state)
- && want_to("Really quit pine", 'y', 0, NO_HELP, WT_NORM) != 'y') {
+ && want_to("<22>u<EFBFBD><75><EFBFBD>n<EFBFBD><6E><EFBFBD>} Pine <20>ܡH", 'y', 0, NO_HELP, WT_NORM) != 'y') {
pine_state->next_screen = pine_state->prev_screen;
return;
}