mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
386876662e
PR: 10245 Submitted by: maintainer
1434 lines
45 KiB
Plaintext
1434 lines
45 KiB
Plaintext
--- pine/addrbook.c.orig Tue Feb 23 16:21:22 1999
|
||
+++ pine/addrbook.c Tue Feb 23 18:02:45 1999
|
||
@@ -129,14 +129,14 @@
|
||
char *pcpine_help_addrbook PROTO((char *));
|
||
#endif
|
||
|
||
-#define CLICKHERE "[ Address List ]"
|
||
-#define EMPTY "[ Empty ]"
|
||
-#define ZOOM_EMPTY "[ No Selected Entries in this Address Book ]"
|
||
-#define ADD_PERSONAL " [ Move here to add a Personal Address Book ]"
|
||
-#define ADD_GLOBAL " [ Move here to add a Global Address Book ]"
|
||
-#define DISTLIST "DISTRIBUTION LIST:"
|
||
-#define NOABOOKS "[ No Address Book Configured ]"
|
||
-#define CLICKHERECMB "[ Select Here to See Expanded List ]"
|
||
+#define CLICKHERE "[ 地址列表 ]"
|
||
+#define EMPTY "[ 沒有任何項目 ]"
|
||
+#define ZOOM_EMPTY "[ 本列表中沒有任何已被選取的項目 ]"
|
||
+#define ADD_PERSONAL " [ 移到這裡加入一個個人的地址簿 ]"
|
||
+#define ADD_GLOBAL " [ 移到這裡加入一個整體的地址簿 ]"
|
||
+#define DISTLIST "分類列表:"
|
||
+#define NOABOOKS "[ 沒有已經設定好的地址簿 ]"
|
||
+#define CLICKHERECMB "[ 選這裡以檢視展開後的列表 ]"
|
||
|
||
|
||
/*
|
||
@@ -287,7 +287,7 @@
|
||
|
||
dprint(2, (debugfile, "parse_format: ignoring unrecognized word \"%s\" in address-book-formats\n", p));
|
||
q_status_message1(SM_ORDER, warnings++==0 ? 1 : 0, 4,
|
||
- "Ignoring unrecognized word \"%s\" in address-book-formats", p);
|
||
+ "忽略地址簿格式中無法辨識的字 \"%s\"", p);
|
||
/* put back space */
|
||
if(r)
|
||
*r = SPACE;
|
||
@@ -357,7 +357,7 @@
|
||
|
||
if(column == 0){
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "address-book-formats has no recognizable words, using default format");
|
||
+ "由於在地址簿格式中找不到足以辨識的字,因此使用預設模式");
|
||
goto assign_default;
|
||
}
|
||
|
||
@@ -599,7 +599,7 @@
|
||
}
|
||
else{
|
||
q_status_message(SM_ORDER | SM_DING, 5, 10,
|
||
- "Bug in addrbook, not supposed to happen, re-syncing...");
|
||
+ "地址簿功\能中出現未預期的錯誤,重新同步中...");
|
||
dprint(1,
|
||
(debugfile,
|
||
"Bug in addrbook (null dlc in dlist(%ld), not supposed to happen\n",
|
||
@@ -1705,14 +1705,14 @@
|
||
mailcap_free(); /* free resources we won't be using for a while */
|
||
|
||
if(setjmp(addrbook_changed_unexpectedly)){
|
||
- q_status_message(SM_ORDER, 5, 10, "Resetting address book...");
|
||
+ q_status_message(SM_ORDER, 5, 10, "正在重設地址簿...");
|
||
dprint(1, (debugfile, "RESETTING address book... addr_book_screen!\n"));
|
||
addrbook_reset();
|
||
}
|
||
|
||
ab_nesting_level = 1; /* come here only from main menu */
|
||
|
||
- (void)addr_book(AddrBookScreen, "ADDRESS BOOK", NULL);
|
||
+ (void)addr_book(AddrBookScreen, "地址簿", NULL);
|
||
end_adrbks();
|
||
|
||
pine_state->prev_screen = addr_book_screen;
|
||
@@ -1728,14 +1728,14 @@
|
||
mailcap_free(); /* free resources we won't be using for a while */
|
||
|
||
if(setjmp(addrbook_changed_unexpectedly)){
|
||
- q_status_message(SM_ORDER, 5, 10, "Resetting address book...");
|
||
+ q_status_message(SM_ORDER, 5, 10, "正在重設地址簿...");
|
||
dprint(1, (debugfile, "RESETTING address book... addr_book_config!\n"));
|
||
addrbook_reset();
|
||
}
|
||
|
||
ab_nesting_level = 1;
|
||
|
||
- (void)addr_book(AddrBookConfig, "SETUP ADDRESS BOOKS", NULL);
|
||
+ (void)addr_book(AddrBookConfig, "設定地址簿", NULL);
|
||
end_adrbks();
|
||
|
||
pine_state->prev_screen = addr_book_screen;
|
||
@@ -1759,7 +1759,7 @@
|
||
save_nesting_level = cpyint(ab_nesting_level);
|
||
memcpy(save_jmp_buf, addrbook_changed_unexpectedly, sizeof(jmp_buf));
|
||
if(setjmp(addrbook_changed_unexpectedly)){
|
||
- q_status_message(SM_ORDER, 5, 10, "Resetting address book...");
|
||
+ q_status_message(SM_ORDER, 5, 10, "正在重設地址簿...");
|
||
dprint(1,
|
||
(debugfile, "RESETTING address book... addr_book_compose_oneaddr!\n"));
|
||
addrbook_reset();
|
||
@@ -1768,7 +1768,7 @@
|
||
|
||
ab_nesting_level++;
|
||
|
||
- p = addr_book(SelectAddr, "SELECT ADDRESS", NULL);
|
||
+ p = addr_book(SelectAddr, "選擇地址", NULL);
|
||
|
||
if(ab_nesting_level <= 1)
|
||
end_adrbks();
|
||
@@ -1803,7 +1803,7 @@
|
||
save_nesting_level = cpyint(ab_nesting_level);
|
||
memcpy(save_jmp_buf, addrbook_changed_unexpectedly, sizeof(jmp_buf));
|
||
if(setjmp(addrbook_changed_unexpectedly)){
|
||
- q_status_message(SM_ORDER, 5, 10, "Resetting address book...");
|
||
+ q_status_message(SM_ORDER, 5, 10, "正在重設地址簿...");
|
||
dprint(1,
|
||
(debugfile, "RESETTING address book... addr_book_compose!\n"));
|
||
addrbook_reset();
|
||
@@ -1812,7 +1812,7 @@
|
||
|
||
ab_nesting_level++;
|
||
|
||
- p = addr_book(SelectNicksCom, "COMPOSER: SELECT ADDRESS", error);
|
||
+ p = addr_book(SelectNicksCom, "編輯器:選擇列表", error);
|
||
|
||
if(ab_nesting_level <= 1)
|
||
end_adrbks();
|
||
@@ -1847,7 +1847,7 @@
|
||
save_nesting_level = cpyint(ab_nesting_level);
|
||
memcpy(save_jmp_buf, addrbook_changed_unexpectedly, sizeof(jmp_buf));
|
||
if(setjmp(addrbook_changed_unexpectedly)){
|
||
- q_status_message(SM_ORDER, 5, 10, "Resetting address book...");
|
||
+ q_status_message(SM_ORDER, 5, 10, "正在重設地址簿...");
|
||
dprint(1,
|
||
(debugfile, "RESETTING address book... addr_book_compose_lcc!\n"));
|
||
addrbook_reset();
|
||
@@ -1860,7 +1860,7 @@
|
||
* We used to use SelectAddrLccCom here but decided it wasn't necessary
|
||
* to restrict the selection to a list.
|
||
*/
|
||
- p = addr_book(SelectNicksCom, "COMPOSER: SELECT LIST", error);
|
||
+ p = addr_book(SelectNicksCom, "編輯器:選擇列表", error);
|
||
|
||
if(ab_nesting_level <= 1)
|
||
end_adrbks();
|
||
@@ -1895,7 +1895,7 @@
|
||
save_nesting_level = cpyint(ab_nesting_level);
|
||
memcpy(save_jmp_buf, addrbook_changed_unexpectedly, sizeof(jmp_buf));
|
||
if(setjmp(addrbook_changed_unexpectedly)){
|
||
- q_status_message(SM_ORDER, 5, 10, "Resetting address book...");
|
||
+ q_status_message(SM_ORDER, 5, 10, "正在重設地址簿...");
|
||
dprint(1,
|
||
(debugfile, "RESETTING address book... addr_book_change_list!\n"));
|
||
addrbook_reset();
|
||
@@ -1904,7 +1904,7 @@
|
||
|
||
ab_nesting_level++;
|
||
|
||
- p = addr_book(SelectNicksCom, "ADDRESS BOOK (Update): SELECT ADDRESSES",
|
||
+ p = addr_book(SelectNicksCom, "地址簿 (更新):選擇地址",
|
||
error);
|
||
|
||
if(ab_nesting_level <= 1)
|
||
@@ -1937,7 +1937,7 @@
|
||
save_nesting_level = cpyint(ab_nesting_level);
|
||
memcpy(save_jmp_buf, addrbook_changed_unexpectedly, sizeof(jmp_buf));
|
||
if(setjmp(addrbook_changed_unexpectedly)){
|
||
- q_status_message(SM_ORDER, 5, 10, "Resetting address book...");
|
||
+ q_status_message(SM_ORDER, 5, 10, "正在重設地址簿...");
|
||
dprint(1,
|
||
(debugfile, "RESETTING address book...addr_book_bounce!\n"));
|
||
addrbook_reset();
|
||
@@ -1946,7 +1946,7 @@
|
||
|
||
ab_nesting_level++;
|
||
|
||
- p = addr_book(SelectManyNicks, "SELECT ADDRESSES", NULL);
|
||
+ p = addr_book(SelectManyNicks, "選擇地址", NULL);
|
||
|
||
if(ab_nesting_level <= 1)
|
||
end_adrbks();
|
||
@@ -1978,7 +1978,7 @@
|
||
save_nesting_level = cpyint(ab_nesting_level);
|
||
memcpy(save_jmp_buf, addrbook_changed_unexpectedly, sizeof(jmp_buf));
|
||
if(setjmp(addrbook_changed_unexpectedly)){
|
||
- q_status_message(SM_ORDER, 5, 10, "Resetting address book...");
|
||
+ q_status_message(SM_ORDER, 5, 10, "正在重設地址簿...");
|
||
dprint(1,
|
||
(debugfile, "RESETTING address book...addr_book_takeaddr!\n"));
|
||
addrbook_reset();
|
||
@@ -1987,7 +1987,7 @@
|
||
|
||
ab_nesting_level++;
|
||
|
||
- p = addr_book(SelectNickTake, "TAKEADDR: SELECT NICKNAME", NULL);
|
||
+ p = addr_book(SelectNickTake, "選擇地址:選擇暱稱", NULL);
|
||
|
||
if(ab_nesting_level <= 1)
|
||
end_adrbks();
|
||
@@ -2023,7 +2023,7 @@
|
||
save_nesting_level = cpyint(ab_nesting_level);
|
||
memcpy(save_jmp_buf, addrbook_changed_unexpectedly, sizeof(jmp_buf));
|
||
if(setjmp(addrbook_changed_unexpectedly)){
|
||
- q_status_message(SM_ORDER, 5, 10, "Resetting address book...");
|
||
+ q_status_message(SM_ORDER, 5, 10, "正在重設地址簿...");
|
||
dprint(1,
|
||
(debugfile, "RESETTING address book...addr_book_nick_for_edit!\n"));
|
||
addrbook_reset();
|
||
@@ -2038,7 +2038,7 @@
|
||
* and this seemed to be the easiest way to accomplish that.
|
||
*/
|
||
as.n_serv = 0;
|
||
- p = addr_book(SelectNickCom, "SELECT NICKNAME", error);
|
||
+ p = addr_book(SelectNickCom, "選擇暱稱", error);
|
||
as.n_serv = save_n_serv;
|
||
|
||
if(ab_nesting_level <= 1)
|
||
@@ -2071,7 +2071,7 @@
|
||
save_nesting_level = cpyint(ab_nesting_level);
|
||
memcpy(save_jmp_buf, addrbook_changed_unexpectedly, sizeof(jmp_buf));
|
||
if(setjmp(addrbook_changed_unexpectedly)){
|
||
- q_status_message(SM_ORDER, 5, 10, "Resetting address book...");
|
||
+ q_status_message(SM_ORDER, 5, 10, "正在重設地址簿...");
|
||
dprint(1,
|
||
(debugfile, "RESETTING address book...addr_book_selnick!\n"));
|
||
addrbook_reset();
|
||
@@ -2080,7 +2080,7 @@
|
||
|
||
ab_nesting_level++;
|
||
|
||
- p = addr_book(SelectNick, "SELECT NICKNAME", NULL);
|
||
+ p = addr_book(SelectNick, "選擇暱稱", NULL);
|
||
|
||
if(ab_nesting_level <= 1)
|
||
end_adrbks();
|
||
@@ -2103,8 +2103,8 @@
|
||
NULL_MENU,
|
||
NULL_MENU,
|
||
NULL_MENU,
|
||
- {"P", "PrevEntry", {MC_PREVITEM,1,{'p'}}, KS_NONE},
|
||
- {"N", "NextEntry", {MC_NEXTITEM,1,{'n'}}, KS_NONE},
|
||
+ {"P", "前一個項目", {MC_PREVITEM,1,{'p'}}, KS_NONE},
|
||
+ {"N", "次一個項目", {MC_NEXTITEM,1,{'n'}}, KS_NONE},
|
||
PREVPAGE_MENU,
|
||
NEXTPAGE_MENU,
|
||
NULL_MENU,
|
||
@@ -2127,10 +2127,10 @@
|
||
|
||
HELP_MENU,
|
||
OTHER_MENU,
|
||
- {";","Select",{MC_SELECT,1,{';'}},KS_NONE},
|
||
- {"A","Apply",{MC_APPLY,1,{'a'}},KS_APPLY},
|
||
- {":","SelectCur",{MC_SELCUR,1,{':'}},KS_SELECTCUR},
|
||
- {"Z","ZoomMode",{MC_ZOOM,1,{'z'}},KS_NONE},
|
||
+ {";","選擇",{MC_SELECT,1,{';'}},KS_NONE},
|
||
+ {"A","套用",{MC_APPLY,1,{'a'}},KS_APPLY},
|
||
+ {":","選擇目前的",{MC_SELCUR,1,{':'}},KS_SELECTCUR},
|
||
+ {"Z","縮放模式",{MC_ZOOM,1,{'z'}},KS_NONE},
|
||
NULL_MENU,
|
||
NULL_MENU,
|
||
NULL_MENU,
|
||
@@ -2259,7 +2259,7 @@
|
||
if(!init_addrbooks(HalfOpen, 1, !as.config, !are_selecting)){
|
||
if(are_selecting){
|
||
q_status_message(SM_ORDER | SM_DING, 0, 4,
|
||
- "No Address Book Configured");
|
||
+ "沒有已設定完成的地址簿");
|
||
display_message(c);
|
||
sleep(2);
|
||
return NULL;
|
||
@@ -2267,7 +2267,7 @@
|
||
else if(!as.config){
|
||
ps->next_screen = main_menu_screen;
|
||
q_status_message(SM_ORDER | SM_DING, 3, 4,
|
||
- "No Address Book Configured, Use SETUP Addressbook screen");
|
||
+ "沒有已設定完成的地址簿,請用 SETUP Addressbook 功\能畫面");
|
||
ps->mangled_screen = 1;
|
||
return NULL;
|
||
}
|
||
@@ -2277,7 +2277,7 @@
|
||
readonly_warning(NO_DING, NULL);
|
||
else if(as.adrbks[0].access == NoAccess)
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "AddressBook not accessible, permission denied");
|
||
+ "地址簿禁止被存取");
|
||
}
|
||
|
||
erase_checks();
|
||
@@ -2422,10 +2422,10 @@
|
||
|
||
if(style == AddrBookScreen){
|
||
if(F_ON(F_CMBND_ABOOK_DISP,ps_global))
|
||
- sprintf(buf, "ADDRESS BOOK%s", (as.n_addrbk > 1) ? "S" : "");
|
||
+ sprintf(buf, "地址簿");
|
||
else
|
||
- sprintf(buf, "ADDRESS BOOK%s%s%s",
|
||
- is_custom_title ? " <" : cur_is_open() ? "" : " LIST",
|
||
+ sprintf(buf, "地址簿%s%s%s",
|
||
+ is_custom_title ? " <" : cur_is_open() ? "" : "列表",
|
||
is_custom_title ? pab->nickname : "",
|
||
is_custom_title ? ">" : "");
|
||
|
||
@@ -2490,7 +2490,7 @@
|
||
km->how_many = 1;
|
||
|
||
clrbitn(OTHER_KEY, bitmap);
|
||
- menu_init_binding(km, 'E', MC_EXIT, "E", "Exit Setup", TWO_KEY);
|
||
+ menu_init_binding(km, 'E', MC_EXIT, "E", "離開", TWO_KEY);
|
||
KS_OSDATASET(&km->keys[TWO_KEY], KS_EXITMODE);
|
||
|
||
/*
|
||
@@ -2503,22 +2503,22 @@
|
||
clrbitn(THREE_KEY, bitmap);
|
||
menu_init_binding(km, 'A', MC_ADDABOOK, "A",
|
||
add_is_global(as.top_ent+as.cur_row)
|
||
- ? "[Add Glob Abook]"
|
||
- : "[Add Pers Abook]",
|
||
+ ? "[新增整體地址簿]"
|
||
+ : "[新增個人地址簿]",
|
||
ADD_KEY);
|
||
def_key = ADD_KEY;
|
||
}
|
||
else{
|
||
- menu_init_binding(km, 'D', MC_DELABOOK, "D", "Del Abook",
|
||
+ menu_init_binding(km, 'D', MC_DELABOOK, "D", "刪除地址簿",
|
||
DELETE_KEY);
|
||
- menu_init_binding(km, '$', MC_SHUFFLE, "$", "Shuffle",
|
||
+ menu_init_binding(km, '$', MC_SHUFFLE, "$", "重整",
|
||
SENDTO_KEY);
|
||
- menu_init_binding(km, 'C', MC_EDITABOOK, "C", "[Change]",
|
||
+ menu_init_binding(km, 'C', MC_EDITABOOK, "C", "[修改]",
|
||
THREE_KEY);
|
||
menu_init_binding(km, 'A', MC_ADDABOOK, "A",
|
||
add_is_global(as.top_ent+as.cur_row)
|
||
- ? "Add Glob Abook"
|
||
- : "Add Pers Abook",
|
||
+ ? "新增整體地址簿"
|
||
+ : "新增個人地址簿",
|
||
ADD_KEY);
|
||
}
|
||
}
|
||
@@ -2531,7 +2531,7 @@
|
||
* The OTHER_KEY is used as the Exit key in selection mode.
|
||
* This is because the TWO_KEY is being used for < actions.
|
||
*/
|
||
- menu_init_binding(km, 'E', MC_EXIT, "E", "ExitSelect",
|
||
+ menu_init_binding(km, 'E', MC_EXIT, "E", "離開",
|
||
OTHER_KEY);
|
||
KS_OSDATASET(&km->keys[OTHER_KEY], KS_EXITMODE);
|
||
|
||
@@ -2551,8 +2551,8 @@
|
||
clrbitn(TWO_KEY, bitmap);
|
||
else{
|
||
menu_init_binding(km, '<', cmd, "<",
|
||
- cmd == MC_POPUP ? "AddressBkList"
|
||
- : "Unexpand",
|
||
+ cmd == MC_POPUP ? "地址簿列表"
|
||
+ : "復原展開",
|
||
TWO_KEY);
|
||
menu_add_binding(km, ',', cmd);
|
||
if(F_ON(F_ARROW_NAV,ps))
|
||
@@ -2563,16 +2563,16 @@
|
||
if(checkedn){
|
||
if(entry_is_clickable_title(as.top_ent+as.cur_row)){
|
||
menu_init_binding(km, 'S', MC_CHOICE, "S",
|
||
- "Select", TWO_KEY);
|
||
+ "選擇", TWO_KEY);
|
||
}
|
||
else{
|
||
menu_init_binding(km, 'S', MC_CHOICE, "S",
|
||
- "[Select]", TWO_KEY);
|
||
+ "[選擇]", TWO_KEY);
|
||
def_key = TWO_KEY;
|
||
}
|
||
}
|
||
else
|
||
- menu_init_binding(km, 'S', MC_CHOICE, "S", "Select",
|
||
+ menu_init_binding(km, 'S', MC_CHOICE, "S", "選擇",
|
||
TWO_KEY);
|
||
}
|
||
else
|
||
@@ -2584,7 +2584,7 @@
|
||
* key becomes the ViewAbook key.
|
||
*/
|
||
if(entry_is_askserver(as.top_ent+as.cur_row) && !as.checkboxes){
|
||
- menu_init_binding(km, '>', MC_QUERY_SERV, ">", "[Search]",
|
||
+ menu_init_binding(km, '>', MC_QUERY_SERV, ">", "[搜尋]",
|
||
THREE_KEY);
|
||
menu_add_binding(km, 's', MC_QUERY_SERV);
|
||
menu_add_binding(km, '.', MC_QUERY_SERV);
|
||
@@ -2592,7 +2592,7 @@
|
||
menu_add_binding(km, KEY_RIGHT, MC_QUERY_SERV);
|
||
}
|
||
else if(entry_is_clickable_title(as.top_ent+as.cur_row)){
|
||
- menu_init_binding(km, '>', MC_OPENABOOK, ">", "[ViewAbook]",
|
||
+ menu_init_binding(km, '>', MC_OPENABOOK, ">", "[檢視地址簿]",
|
||
THREE_KEY);
|
||
menu_add_binding(km, 'v', MC_OPENABOOK);
|
||
menu_add_binding(km, '.', MC_OPENABOOK);
|
||
@@ -2600,7 +2600,7 @@
|
||
menu_add_binding(km, KEY_RIGHT, MC_OPENABOOK);
|
||
}
|
||
else if(cur_is_open()){
|
||
- menu_init_binding(km, 'S', MC_CHOICE, "S", "[Select]",
|
||
+ menu_init_binding(km, 'S', MC_CHOICE, "S", "[選取]",
|
||
THREE_KEY);
|
||
}
|
||
else
|
||
@@ -2613,7 +2613,7 @@
|
||
*/
|
||
if(entry_is_clickable(as.top_ent+as.cur_row) &&
|
||
!entry_is_clickable_title(as.top_ent+as.cur_row)){
|
||
- menu_init_binding(km, '>', MC_EXPAND, ">", "Expand",
|
||
+ menu_init_binding(km, '>', MC_EXPAND, ">", "展開",
|
||
SENDTO_KEY);
|
||
menu_add_binding(km, '.', MC_EXPAND);
|
||
if(F_ON(F_ARROW_NAV,ps))
|
||
@@ -2623,12 +2623,12 @@
|
||
clrbitn(SENDTO_KEY, bitmap);
|
||
|
||
if(cur_is_open() && as.checkboxes){
|
||
- menu_init_binding(km, 'X', MC_TOGGLE, "X", "Set/Unset",
|
||
+ menu_init_binding(km, 'X', MC_TOGGLE, "X", "設定/解除設定",
|
||
DELETE_KEY);
|
||
|
||
}
|
||
else if(cur_is_open() && listmode_ok){
|
||
- menu_init_binding(km, 'L', MC_LISTMODE, "L", "ListMode",
|
||
+ menu_init_binding(km, 'L', MC_LISTMODE, "L", "列表模式",
|
||
DELETE_KEY);
|
||
}
|
||
else
|
||
@@ -2645,7 +2645,7 @@
|
||
* reasonable function call.
|
||
*/
|
||
km->keys[OTHER_KEY].name = "O";
|
||
- km->keys[OTHER_KEY].label = "OTHER CMDS";
|
||
+ km->keys[OTHER_KEY].label = "其他命令";
|
||
km->keys[OTHER_KEY].bind.cmd = MC_OTHER;
|
||
km->keys[OTHER_KEY].bind.ch[0] = 'O';
|
||
km->keys[OTHER_KEY].bind.nch = 1;
|
||
@@ -2664,13 +2664,13 @@
|
||
if(F_OFF(F_EXPANDED_DISTLISTS,ps) &&
|
||
entry_is_listent(as.top_ent+as.cur_row)){
|
||
cmd = MC_UNEXPAND;
|
||
- menu_init_binding(km, '<', cmd, "<", "Unexpand",
|
||
+ menu_init_binding(km, '<', cmd, "<", "復原展開",
|
||
TWO_KEY);
|
||
KS_OSDATASET(&km->keys[TWO_KEY], KS_NONE);
|
||
}
|
||
else{
|
||
cmd = MC_MAIN;
|
||
- menu_init_binding(km, 'M', cmd, "<", "Main Menu",
|
||
+ menu_init_binding(km, 'M', cmd, "<", "主選單",
|
||
TWO_KEY);
|
||
KS_OSDATASET(&km->keys[TWO_KEY], KS_MAINMENU);
|
||
}
|
||
@@ -2679,11 +2679,11 @@
|
||
/*
|
||
* Add or delete entries from this address book.
|
||
*/
|
||
- menu_init_binding(km, '@', MC_ADD, "@", "AddNew",
|
||
+ menu_init_binding(km, '@', MC_ADD, "@", "新增",
|
||
ADD_KEY);
|
||
- menu_init_binding(km, 'D', MC_DELETE, "D", "Delete",
|
||
+ menu_init_binding(km, 'D', MC_DELETE, "D", "刪除",
|
||
DELETE_KEY);
|
||
- menu_init_binding(km, 'C', MC_COMPOSE, "C", "ComposeTo",
|
||
+ menu_init_binding(km, 'C', MC_COMPOSE, "C", "編修",
|
||
SENDTO_KEY);
|
||
KS_OSDATASET(&km->keys[SENDTO_KEY], KS_COMPOSER);
|
||
}
|
||
@@ -2709,7 +2709,7 @@
|
||
if(F_OFF(F_EXPANDED_DISTLISTS,ps) &&
|
||
entry_is_listent(as.top_ent+as.cur_row)){
|
||
cmd = MC_UNEXPAND;
|
||
- menu_init_binding(km, '<', cmd, "<", "Unexpand",
|
||
+ menu_init_binding(km, '<', cmd, "<", "復原展開",
|
||
TWO_KEY);
|
||
KS_OSDATASET(&km->keys[TWO_KEY], KS_NONE);
|
||
}
|
||
@@ -2717,12 +2717,12 @@
|
||
if(as.n_addrbk > 1 || as.n_serv){
|
||
cmd = MC_POPUP;
|
||
menu_init_binding(km, '<', cmd, "<",
|
||
- "AddressBkList", TWO_KEY);
|
||
+ "地址簿列表", TWO_KEY);
|
||
KS_OSDATASET(&km->keys[TWO_KEY], KS_NONE);
|
||
}
|
||
else{
|
||
cmd = MC_MAIN;
|
||
- menu_init_binding(km, 'M', cmd, "<", "Main Menu",
|
||
+ menu_init_binding(km, 'M', cmd, "<", "主選單",
|
||
TWO_KEY);
|
||
KS_OSDATASET(&km->keys[TWO_KEY], KS_MAINMENU);
|
||
}
|
||
@@ -2732,9 +2732,9 @@
|
||
/*
|
||
* Add or delete entries from this address book.
|
||
*/
|
||
- menu_init_binding(km, '@', MC_ADD, "@", "AddNew",
|
||
+ menu_init_binding(km, '@', MC_ADD, "@", "新增",
|
||
ADD_KEY);
|
||
- menu_init_binding(km, 'D', MC_DELETE, "D", "Delete",
|
||
+ menu_init_binding(km, 'D', MC_DELETE, "D", "刪除",
|
||
DELETE_KEY);
|
||
}
|
||
else{
|
||
@@ -2744,14 +2744,14 @@
|
||
|
||
/* Find someplace to put Main Menu command */
|
||
if(cmd == MC_POPUP){
|
||
- menu_init_binding(km, 'M', MC_MAIN, "M", "Main Menu",
|
||
+ menu_init_binding(km, 'M', MC_MAIN, "M", "主選單",
|
||
SECONDARY_MAIN_KEY);
|
||
KS_OSDATASET(&km->keys[SECONDARY_MAIN_KEY],KS_MAINMENU);
|
||
}
|
||
else
|
||
clrbitn(SECONDARY_MAIN_KEY, bitmap);
|
||
|
||
- menu_init_binding(km, 'C', MC_COMPOSE, "C", "ComposeTo",
|
||
+ menu_init_binding(km, 'C', MC_COMPOSE, "C", "編修",
|
||
SENDTO_KEY);
|
||
KS_OSDATASET(&km->keys[SENDTO_KEY], KS_COMPOSER);
|
||
}
|
||
@@ -2761,7 +2761,7 @@
|
||
* non-selection mode.
|
||
*/
|
||
cmd = MC_MAIN;
|
||
- menu_init_binding(km, 'M', cmd, "<", "Main Menu",
|
||
+ menu_init_binding(km, 'M', cmd, "<", "主選單",
|
||
TWO_KEY);
|
||
KS_OSDATASET(&km->keys[TWO_KEY], KS_MAINMENU);
|
||
|
||
@@ -2800,10 +2800,10 @@
|
||
cmd = MC_VIEW_ENTRY;
|
||
|
||
menu_init_binding(km, '>', cmd, ">",
|
||
- cmd == MC_EXPAND ? "[Expand]" :
|
||
- cmd == MC_QUERY_SERV ? "[Search]" :
|
||
- cur_is_open() ? "[View/Update]"
|
||
- : "[ViewAbook]",
|
||
+ cmd == MC_EXPAND ? "[展開]" :
|
||
+ cmd == MC_QUERY_SERV ? "[搜尋]" :
|
||
+ cur_is_open() ? "[檢視/更新]"
|
||
+ : "[檢視地址簿]",
|
||
THREE_KEY);
|
||
|
||
if(cmd == MC_QUERY_SERV)
|
||
@@ -2941,13 +2941,13 @@
|
||
}
|
||
|
||
if(as.config)
|
||
- helper(gAbookHelp, "HELP ON CONFIGURING ADDRESS BOOKS",
|
||
+ helper(gAbookHelp, "設定地址簿的輔助說明",
|
||
HLPD_NONE);
|
||
else if(are_selecting)
|
||
- helper(gAbookHelp, "HELP ON ADDRESS BOOK",
|
||
+ helper(gAbookHelp, "地址簿的輔助說明",
|
||
HLPD_SIMPLE | HLPD_NEWWIN);
|
||
else /* general maintenance screen */
|
||
- helper(gAbookHelp, "HELP ON ADDRESS BOOK", HLPD_NONE);
|
||
+ helper(gAbookHelp, "地址簿的輔助說明", HLPD_NONE);
|
||
|
||
/*
|
||
* Helper() may have a Main Menu key. If user types that
|
||
@@ -3021,7 +3021,7 @@
|
||
}
|
||
else
|
||
q_status_message(SM_ORDER | SM_DING, 3, 4,
|
||
- "Can't happen in MC_UNEXPAND");
|
||
+ "無法在 MC_UNEXPAND 時發生");
|
||
|
||
break;
|
||
|
||
@@ -3057,7 +3057,7 @@
|
||
}
|
||
else
|
||
q_status_message(SM_ORDER | SM_DING, 3, 4,
|
||
- "Can't happen in MC_POPUP");
|
||
+ "無法在 MC_POPUP 時發生");
|
||
|
||
break;
|
||
|
||
@@ -3128,11 +3128,11 @@
|
||
}
|
||
else if(dlc_to_flush->type == DlcTitleNoPerm)
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "Cannot access address book.");
|
||
+ "無法存取地址簿。");
|
||
}
|
||
else
|
||
q_status_message(SM_ORDER | SM_DING, 3, 4,
|
||
- "Can't happen in MC_OPENABOOK");
|
||
+ "無法在 MC_OPENABOOK 時發生");
|
||
|
||
break;
|
||
|
||
@@ -3178,7 +3178,7 @@
|
||
}
|
||
else
|
||
q_status_message(SM_ORDER | SM_DING, 3, 4,
|
||
- "Can't happen in MC_EXPAND");
|
||
+ "無法在 MC_EXPAND 時發生");
|
||
|
||
break;
|
||
|
||
@@ -3190,7 +3190,7 @@
|
||
/* Select an entry to mail to or a nickname to add to */
|
||
if(!any_addrs_avail(as.top_ent+as.cur_row)){
|
||
q_status_message(SM_ORDER | SM_DING, 0, 4,
|
||
- "No entries in address book. Use ExitSelect to leave address books");
|
||
+ "地址簿中找不到任何項目. 請以 離開選擇(E) 離開");
|
||
break;
|
||
}
|
||
|
||
@@ -3212,7 +3212,7 @@
|
||
}
|
||
else if(as.checkboxes && checkedn <= 0){
|
||
q_status_message(SM_ORDER, 0, 1,
|
||
- "Use \"X\" to mark addresses or lists");
|
||
+ "使用 \"X\" 標記地址或列表");
|
||
break;
|
||
}
|
||
else if(as.checkboxes){
|
||
@@ -3296,7 +3296,7 @@
|
||
if(selecting_mult_nicks){
|
||
if(dl->type != ListHead && style == SelectAddrLccCom){
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "You may only select lists for lcc, use bcc for other addresses");
|
||
+ "僅能選擇 lcc 列表, 其他的地址請用 bcc");
|
||
break;
|
||
}
|
||
else{
|
||
@@ -3358,16 +3358,16 @@
|
||
if(entry_is_clickable(as.top_ent+as.cur_row))
|
||
clickable_warning(as.top_ent+as.cur_row);
|
||
else if(entry_is_askserver(as.top_ent+as.cur_row))
|
||
- q_status_message(SM_ORDER, 3, 4, "Use select to select an address or addresses from address books");
|
||
+ q_status_message(SM_ORDER, 3, 4, "使用「選擇」來選擇地址簿中的地址");
|
||
else
|
||
- q_status_message(SM_ORDER, 3, 4, "No address selected");
|
||
+ q_status_message(SM_ORDER, 3, 4, "尚未選擇任何地址");
|
||
|
||
break;
|
||
}
|
||
}
|
||
else
|
||
q_status_message(SM_ORDER | SM_DING, 3, 4,
|
||
- "Can't happen in MC_CHOICE");
|
||
+ "無法在 MC_CHOICE 時發生");
|
||
|
||
break;
|
||
|
||
@@ -3391,7 +3391,7 @@
|
||
if(adrbk_check_all_validity_now()){
|
||
if(resync_screen(pab, style, checkedn)){
|
||
q_status_message(SM_ORDER | SM_DING, 3, 4,
|
||
- "Address book changed. AddNew cancelled. Try again.");
|
||
+ "地址簿被改變了;取消新增。請重試一遍。");
|
||
ps->mangled_screen = 1;
|
||
break;
|
||
}
|
||
@@ -3406,7 +3406,7 @@
|
||
dprint(9, (debugfile,
|
||
"Calling edit_entry to add entry manually\n"));
|
||
edit_entry(pab->address_book, (AdrBk_Entry *)NULL, NO_NEXT,
|
||
- NotSet, 0, &warped, "add");
|
||
+ NotSet, 0, &warped, "新增");
|
||
|
||
/*
|
||
* Warped means we got plopped down somewhere in the display
|
||
@@ -3551,7 +3551,7 @@
|
||
}
|
||
else{
|
||
q_status_message1(SM_ORDER|SM_DING, 0, 4,
|
||
- "Missing \"}\" in config: %s", q);
|
||
+ "設定檔中缺乏 \"}\":%s", q);
|
||
if(nick)
|
||
fs_give((void **)&nick);
|
||
if(file)
|
||
@@ -3586,7 +3586,7 @@
|
||
ps->mangled_screen = 1;
|
||
}
|
||
else
|
||
- q_status_message(SM_ORDER, 0, 4, "Not a changeable line");
|
||
+ q_status_message(SM_ORDER, 0, 4, "不為可被更改的一行");
|
||
|
||
break;
|
||
|
||
@@ -3594,7 +3594,7 @@
|
||
/*---------- Delete an address book -------------------*/
|
||
case MC_DELABOOK:
|
||
if(as.n_addrbk == 0){
|
||
- q_status_message(SM_ORDER, 0, 4, "Nothing to delete");
|
||
+ q_status_message(SM_ORDER, 0, 4, "沒有可被刪除的項目");
|
||
break;
|
||
}
|
||
|
||
@@ -3665,7 +3665,7 @@
|
||
start_disp = 0;
|
||
ps->mangled_body = 1;
|
||
ps->mangled_footer = 1;
|
||
- q_status_message(SM_ORDER, 0, 3, "Address book deleted");
|
||
+ q_status_message(SM_ORDER, 0, 3, "地址簿已被刪除");
|
||
}
|
||
else{
|
||
if(err){
|
||
@@ -3683,7 +3683,7 @@
|
||
case MC_SHUFFLE:
|
||
if(entry_is_addkey(as.top_ent+as.cur_row)){
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "Highlight entry you wish to shuffle");
|
||
+ "標示想要重整的項目");
|
||
break;
|
||
}
|
||
|
||
@@ -3756,8 +3756,8 @@
|
||
|
||
q_status_message(SM_ORDER, 0, 3,
|
||
msg ? msg :
|
||
- (ret < 0) ? "Shuffle failed" :
|
||
- "Address books shuffled");
|
||
+ (ret < 0) ? "重整失敗" :
|
||
+ "地址簿已重整");
|
||
if(ret < 0)
|
||
dprint(5, (debugfile, "addrbook shuffle failed: %s\n",
|
||
msg ? msg : "?"));
|
||
@@ -3784,7 +3784,7 @@
|
||
|
||
if(new_top_ent == as.top_ent ||
|
||
(as.cur_row + (as.top_ent-new_top_ent) > as.l_p_page - 1)){
|
||
- q_status_message(SM_INFO, 0, 1, "Already on first line.");
|
||
+ q_status_message(SM_INFO, 0, 1, "已經在第一行了。");
|
||
}
|
||
else{
|
||
as.cur_row += (as.top_ent - new_top_ent);
|
||
@@ -3842,7 +3842,7 @@
|
||
|
||
if(new_end_line - as.top_ent <= as.l_p_page - 1 ||
|
||
as.cur_row - (new_end_line-as.top_ent-(as.l_p_page-1)) < 0){
|
||
- q_status_message(SM_INFO, 0, 1, "Already on last line.");
|
||
+ q_status_message(SM_INFO, 0, 1, "已經在最後一行了。");
|
||
}
|
||
else{
|
||
as.cur_row -= (new_end_line-as.top_ent-(as.l_p_page-1));
|
||
@@ -3930,7 +3930,7 @@
|
||
#endif
|
||
default:
|
||
q_status_message(SM_INFO, 0, 1,
|
||
- "Can't happen in MC_MOUSE");
|
||
+ "無法在 MC_MOUSE 時發生");
|
||
break;
|
||
}
|
||
}
|
||
@@ -4037,7 +4037,7 @@
|
||
break;
|
||
|
||
if(as.top_ent == new_top_ent && as.cur_row == (fl-as.top_ent)){
|
||
- q_status_message(SM_INFO, 0, 1, "Already on first page.");
|
||
+ q_status_message(SM_INFO, 0, 1, "已經在第一頁了。");
|
||
break;
|
||
}
|
||
|
||
@@ -4073,7 +4073,7 @@
|
||
as.cur_row -
|
||
(new_end_line-as.top_ent-(as.l_p_page-1)) < 0){
|
||
q_status_message(SM_INFO, 0, 1,
|
||
- "Already on last page.");
|
||
+ "已經在最後一頁了。");
|
||
}
|
||
else{
|
||
as.cur_row -=
|
||
@@ -4122,14 +4122,14 @@
|
||
if(adrbk_check_all_validity_now()){
|
||
if(resync_screen(pab, style, checkedn)){
|
||
q_status_message(SM_ORDER | SM_DING, 3, 4,
|
||
- "Address book changed. Delete cancelled. Try again.");
|
||
+ "地址簿被改變了;取消刪除。請重試一遍。");
|
||
ps->mangled_screen = 1;
|
||
break;
|
||
}
|
||
}
|
||
|
||
if(!any_addrs_avail(as.top_ent+as.cur_row)){
|
||
- q_status_message(SM_ORDER, 0, 4, "No entries to delete");
|
||
+ q_status_message(SM_ORDER, 0, 4, "沒有可供刪除的項目");
|
||
break;
|
||
}
|
||
|
||
@@ -4191,7 +4191,7 @@
|
||
case MC_TOGGLE:
|
||
togglex:
|
||
if(!any_addrs_avail(as.top_ent+as.cur_row)){
|
||
- q_status_message(SM_ORDER, 0, 4, "No entries to select");
|
||
+ q_status_message(SM_ORDER, 0, 4, "沒有可供刪除的項目");
|
||
break;
|
||
}
|
||
|
||
@@ -4210,10 +4210,10 @@
|
||
|
||
if(style == SelectAddrLccCom && dl->type == ListEnt)
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "You may only select whole lists for lcc");
|
||
+ "僅能選擇整個列表給 lcc");
|
||
else if(style == SelectAddrLccCom && dl->type != ListHead)
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "You may only select lists for lcc, use bcc for personal entries");
|
||
+ "僅能選擇列表給 lcc,個人項目請用 bcc");
|
||
else if(dl->type == ListHead || dl->type == Simple){
|
||
current_changed_flag++;
|
||
if(entry_is_checked(pab->address_book->checks,
|
||
@@ -4230,11 +4230,11 @@
|
||
}
|
||
else
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "You may not select list members, only whole lists or personal entries");
|
||
+ "無法選擇列表成員,僅能選擇整個列表或個人項目");
|
||
}
|
||
else
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "You may only select addresses or lists");
|
||
+ "僅能選擇地址或列表");
|
||
|
||
break;
|
||
|
||
@@ -4252,7 +4252,7 @@
|
||
ps->mangled_body = 1;
|
||
start_disp = 0;
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "Use \"X\" to select addresses or lists");
|
||
+ "使用 \"X\" 標記地址或列表");
|
||
break;
|
||
|
||
|
||
@@ -4272,13 +4272,13 @@
|
||
if(!directory_ok){
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
(style == SelectAddrLccCom)
|
||
- ? "Can't search server for Lcc"
|
||
- : "Can't search server from here");
|
||
+ ? "無法由伺服器搜尋 Lcc"
|
||
+ : "無法由此搜尋伺服器");
|
||
break;
|
||
}
|
||
else if(as.checkboxes){
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "Can't search server when using ListMode");
|
||
+ "使用 ListMode 時無法搜尋伺服器");
|
||
break;
|
||
}
|
||
|
||
@@ -4333,14 +4333,14 @@
|
||
/*----- Select entries to work on --*/
|
||
case MC_SELECT:
|
||
if(!any_addrs_avail(as.top_ent+as.cur_row)){
|
||
- q_status_message(SM_ORDER, 0, 4, "No entries to select");
|
||
+ q_status_message(SM_ORDER, 0, 4, "沒有可供選擇的項目");
|
||
break;
|
||
}
|
||
|
||
if(!cur_is_open()){
|
||
if(entry_is_askserver(as.top_ent+as.cur_row))
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "Select is only available from within an expanded address book");
|
||
+ "僅能在展開後的地址簿中選擇");
|
||
else
|
||
clickable_warning(as.top_ent+as.cur_row);
|
||
|
||
@@ -4373,7 +4373,7 @@
|
||
/*----------- Select current entry ----------*/
|
||
case MC_SELCUR:
|
||
if(!any_addrs_avail(as.top_ent+as.cur_row)){
|
||
- q_status_message(SM_ORDER, 0, 4, "No entries to select");
|
||
+ q_status_message(SM_ORDER, 0, 4, "沒有可供選擇的項目");
|
||
break;
|
||
}
|
||
|
||
@@ -4434,7 +4434,7 @@
|
||
dlc_restart = *dlc;
|
||
as.zoomed = 0;
|
||
q_status_message(SM_ORDER, 0, 2,
|
||
- "Zoom Mode is now off, no entries selected");
|
||
+ "縮放模式目前為關閉狀態,沒有任何被選擇的項目");
|
||
|
||
warp_to_dlc(&dlc_restart, 0L);
|
||
/* put current entry in middle of screen */
|
||
@@ -4501,11 +4501,11 @@
|
||
}
|
||
else
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "You may not select list members, only whole lists or personal entries");
|
||
+ "無法選擇列表成員,僅能選擇整個列表或個人項目");
|
||
}
|
||
else
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "You may only select addresses or lists");
|
||
+ "僅能選擇地址或列表");
|
||
|
||
break;
|
||
|
||
@@ -4518,7 +4518,7 @@
|
||
: NULL,
|
||
&start_disp);
|
||
else{
|
||
- q_status_message(SM_ORDER, 0, 2, "Zoom Mode is now off");
|
||
+ q_status_message(SM_ORDER, 0, 2, "現在關閉縮放模式");
|
||
ab_unzoom(&start_disp);
|
||
}
|
||
|
||
@@ -4560,7 +4560,7 @@
|
||
}
|
||
else
|
||
q_status_message(SM_ORDER, 0, 2,
|
||
- "No selected entries to apply command to");
|
||
+ "沒有已選擇的項目可供套用命令");
|
||
|
||
break;
|
||
|
||
@@ -4606,7 +4606,7 @@
|
||
/*------ Copy entries into an abook ----*/
|
||
case MC_SAVE:
|
||
if(!any_addrs_avail(as.top_ent+as.cur_row)){
|
||
- q_status_message(SM_ORDER, 0, 4, "No entries to save");
|
||
+ q_status_message(SM_ORDER, 0, 4, "沒有可供存入的項目");
|
||
break;
|
||
}
|
||
|
||
@@ -4628,7 +4628,7 @@
|
||
/*------ Forward an entry in mail -----------*/
|
||
case MC_FORWARD:
|
||
if(!any_addrs_avail(as.top_ent+as.cur_row)){
|
||
- q_status_message(SM_ORDER, 0, 4, "No entries to forward");
|
||
+ q_status_message(SM_ORDER, 0, 4, "沒有可供轉寄的項目");
|
||
break;
|
||
}
|
||
|
||
@@ -4643,14 +4643,14 @@
|
||
}
|
||
|
||
if(!is_addr(as.top_ent+as.cur_row)){
|
||
- q_status_message(SM_ORDER, 0, 4, "Nothing to forward");
|
||
+ q_status_message(SM_ORDER, 0, 4, "沒有東西可以轉寄");
|
||
break;
|
||
}
|
||
|
||
dl = dlist(as.top_ent+as.cur_row);
|
||
if(dl->type != ListHead && dl->type != Simple){
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "Can only forward whole entries");
|
||
+ "僅能轉寄整個列表");
|
||
break;
|
||
}
|
||
|
||
@@ -4682,18 +4682,18 @@
|
||
case MC_UNKNOWN:
|
||
if(c == 'e' && !are_selecting){
|
||
q_status_message(SM_ORDER | SM_DING, 0, 2,
|
||
- "Command \"E\" not defined. Use \"View/Update\" to edit an entry");
|
||
+ "\"E\" 這個命令尚未被定義. 請使用 \"檢視/編輯\" 編輯選項");
|
||
break;
|
||
}
|
||
else if(c == 's'
|
||
&& !(are_selecting || entry_is_clickable(as.top_ent+as.cur_row))){
|
||
q_status_message(SM_ORDER | SM_DING, 0, 2,
|
||
- "Command \"S\" not defined. Use \"AddNew\" to create a list");
|
||
+ "\"S\" 這個命令尚未被定義. 請使用 \"新增\" 建立列表");
|
||
break;
|
||
}
|
||
else if(c == 'z' && !are_selecting){
|
||
q_status_message(SM_ORDER | SM_DING, 0, 2,
|
||
- "Command \"Z\" not defined. Use \"View/Update\" to add to a list");
|
||
+ "\"Z\" 這個命令尚未被定義. 請使用 \"檢視/更新\" 新增至列表");
|
||
break;
|
||
}
|
||
/* else, fall through */
|
||
@@ -4731,7 +4731,7 @@
|
||
as.zoomed = 1;
|
||
|
||
if(as.selections){
|
||
- q_status_message(SM_ORDER, 0, 2, "Zoom Mode is now on");
|
||
+ q_status_message(SM_ORDER, 0, 2, "現在開啟縮放模式");
|
||
if(cur_is_open()){
|
||
dl = dlist(as.top_ent+as.cur_row);
|
||
if((dl->type == ListHead ||
|
||
@@ -4779,7 +4779,7 @@
|
||
}
|
||
else{
|
||
as.zoomed = 0;
|
||
- q_status_message(SM_ORDER, 0, 2, "No selected entries to zoom on");
|
||
+ q_status_message(SM_ORDER, 0, 2, "沒有已選擇的項目可供放大");
|
||
}
|
||
}
|
||
|
||
@@ -4840,7 +4840,7 @@
|
||
char *name;
|
||
{
|
||
q_status_message2(SM_ORDER | (bell ? SM_DING : 0), 0, 4,
|
||
- "AddressBook%s%s is Read Only",
|
||
+ "地址簿%s%s 是唯讀的",
|
||
name ? " " : "",
|
||
name ? name : "");
|
||
}
|
||
@@ -4861,11 +4861,11 @@
|
||
dl = dlist(cur_line);
|
||
if(dl->type == NoAbooks)
|
||
q_status_message(SM_ORDER, 0, 4,
|
||
- "No address books configured, use Setup");
|
||
+ "沒有已設定好的地址簿,請用 Setup");
|
||
else if(dl->type == Empty)
|
||
- q_status_message(SM_ORDER, 0, 4, "Address Book is Empty");
|
||
+ q_status_message(SM_ORDER, 0, 4, "地址簿是空的");
|
||
else
|
||
- q_status_message(SM_ORDER, 0, 4, "Distribution List is Empty");
|
||
+ q_status_message(SM_ORDER, 0, 4, "分類列表是空的");
|
||
}
|
||
|
||
|
||
@@ -4882,9 +4882,9 @@
|
||
register AddrScrn_Disp *dl;
|
||
|
||
dl = dlist(cur_line);
|
||
- q_status_message1(SM_ORDER, 0, 4, "%s not expanded, use \">\" to expand",
|
||
- (dl->type == Title || dl->type == ClickHereCmb) ? "Address Book"
|
||
- : "Distribution List");
|
||
+ q_status_message1(SM_ORDER, 0, 4, "%s 未被展開,使用 \">\" 來展開",
|
||
+ (dl->type == Title || dl->type == ClickHereCmb) ? "地址簿"
|
||
+ : "分類列表");
|
||
}
|
||
|
||
|
||
@@ -4900,7 +4900,7 @@
|
||
char *what;
|
||
{
|
||
q_status_message1(SM_INFO | (bell ? SM_DING : 0), 0, 2,
|
||
- "Address book %s cancelled", what);
|
||
+ "地址簿%s已取消", what);
|
||
}
|
||
|
||
|
||
@@ -4910,7 +4910,7 @@
|
||
void
|
||
no_tabs_warning()
|
||
{
|
||
- q_status_message(SM_ORDER, 0, 4, "Tabs not allowed in address book");
|
||
+ q_status_message(SM_ORDER, 0, 4, "地址簿中不允許\有 Tab 存在");
|
||
}
|
||
|
||
|
||
@@ -4929,11 +4929,11 @@
|
||
{
|
||
int ret = 0;
|
||
static ESCKEY_S opts[] = {
|
||
- {'c', 'c', "C", "ComposeTo"},
|
||
- {'d', 'd', "D", "Delete"},
|
||
- {'%', '%', "%", "Print"},
|
||
- {'f', 'f', "F", "Forward"},
|
||
- {'s', 's', "S", "Save"},
|
||
+ {'c', 'c', "C", "編排"},
|
||
+ {'d', 'd', "D", "刪除"},
|
||
+ {'%', '%', "%", "列印"},
|
||
+ {'f', 'f', "F", "轉寄"},
|
||
+ {'s', 's', "S", "存檔"},
|
||
{ 0, '%', "", ""},
|
||
{-1, 0, NULL, NULL}};
|
||
|
||
@@ -4942,7 +4942,7 @@
|
||
|
||
opts[5].ch = (F_ON(F_ENABLE_PRYNT, ps_global)) ? 'y' : -1;
|
||
|
||
- switch(radio_buttons("APPLY command : ", command_line, opts, 0, 'z',
|
||
+ switch(radio_buttons("套用命令:", command_line, opts, 0, 'z',
|
||
NO_HELP, RB_NORM)){
|
||
case 'c':
|
||
ret = ab_compose_to_addr(cur_line, 1);
|
||
@@ -4965,7 +4965,7 @@
|
||
break;
|
||
|
||
case 'z':
|
||
- cmd_cancelled("Apply command");
|
||
+ cmd_cancelled("套用命令");
|
||
break;
|
||
}
|
||
|
||
@@ -4987,22 +4987,22 @@
|
||
int *start_disp;
|
||
{
|
||
static ESCKEY_S sel_opts1[] = {
|
||
- {'a', 'a', "A", "unselect All"},
|
||
+ {'a', 'a', "A", "取消所有選擇"},
|
||
{ 0 , 'c', "C", NULL},
|
||
- {'b', 'b', "B", "Broaden selctn"},
|
||
- {'n', 'n', "N", "Narrow selctn"},
|
||
- {'f', 'f', "F", "Flip selected"},
|
||
+ {'b', 'b', "B", "擴大選擇"},
|
||
+ {'n', 'n', "N", "縮小選擇"},
|
||
+ {'f', 'f', "F", "切換選擇"},
|
||
{-1, 0, NULL, NULL}
|
||
};
|
||
static char *sel_pmt1 = "ALTER message selection : ";
|
||
static ESCKEY_S sel_opts2[] = {
|
||
- {'a', 'a', "A", "select All"},
|
||
- {'c', 'c', "C", "select Cur"},
|
||
- {'t', 't', "T", "Text"},
|
||
- {'s', 's', "S", "Status"},
|
||
+ {'a', 'a', "A", "選擇全部"},
|
||
+ {'c', 'c', "C", "選擇目前的"},
|
||
+ {'t', 't', "T", "文字"},
|
||
+ {'s', 's', "S", "狀態"},
|
||
{-1, 0, NULL, NULL}
|
||
};
|
||
- static char *sel_pmt2 = "SELECT criteria : ";
|
||
+ static char *sel_pmt2 = "選擇標準:";
|
||
ESCKEY_S *sel_opts;
|
||
HelpType help = NO_HELP;
|
||
adrbk_cntr_t num, ab_count;
|
||
@@ -5030,8 +5030,8 @@
|
||
if(dl && (dl->type == ListHead || dl->type == Simple)){
|
||
sel_opts1[1].label = entry_is_selected(abook->selects,
|
||
(a_c_arg_t)dl->elnum)
|
||
- ? "unselect Cur"
|
||
- : "select Cur";
|
||
+ ? "取消目前的選擇"
|
||
+ : "選擇目前的";
|
||
sel_opts1[1].ch = 'c';
|
||
}
|
||
else
|
||
@@ -5053,7 +5053,7 @@
|
||
|
||
default:
|
||
q_status_message(SM_ORDER | SM_DING, 3, 3,
|
||
- "Unsupported Select option");
|
||
+ "尚未支援的選項");
|
||
return;
|
||
}
|
||
}
|
||
@@ -5062,8 +5062,8 @@
|
||
(dl->type == ListHead || dl->type == Simple)){
|
||
sel_opts1[1].label = entry_is_selected(abook->selects,
|
||
(a_c_arg_t)dl->elnum)
|
||
- ? "unselect Cur"
|
||
- : "select Cur";
|
||
+ ? "取消目前的選擇"
|
||
+ : "選擇目前的";
|
||
sel_opts1[1].ch = 'c';
|
||
}
|
||
else
|
||
@@ -5080,7 +5080,7 @@
|
||
|
||
switch(q){
|
||
case 'x': /* cancel */
|
||
- cmd_cancelled("Select command");
|
||
+ cmd_cancelled("選擇命令");
|
||
break;
|
||
|
||
case 'c': /* select/unselect current */
|
||
@@ -5092,7 +5092,7 @@
|
||
if(as.selections == 0 && as.zoomed){
|
||
as.zoomed = 0;
|
||
q_status_message(SM_ORDER, 0, 2,
|
||
- "Zoom Mode is now off, no entries selected");
|
||
+ "縮放模式目前為關閉狀態,沒有任何被選擇的項目");
|
||
do_warp++;
|
||
}
|
||
else if(as.zoomed){
|
||
@@ -5131,17 +5131,17 @@
|
||
if(as.selections == 0 && as.zoomed){
|
||
as.zoomed = 0;
|
||
q_status_message(SM_ORDER, 0, 2,
|
||
- "Zoom Mode is now off, all entries UNselected");
|
||
+ "縮放模式目前為關閉狀態,取消所有已選擇的項目");
|
||
do_warp++;
|
||
}
|
||
else{
|
||
char bb[100];
|
||
|
||
- sprintf(bb, "%s entries UNselected%s%s%s",
|
||
+ sprintf(bb, "%s 個項目被取消選擇%s%s%s",
|
||
comatose(prevsel-as.selections),
|
||
- as.selections ? ", still " : "",
|
||
+ as.selections ? ",仍有 " : "",
|
||
as.selections ? comatose(as.selections) : "",
|
||
- as.selections ? " selected in other addrbooks" : "");
|
||
+ as.selections ? " 個項目選擇於其他地址簿中" : "");
|
||
q_status_message(SM_ORDER, 0, 2, bb);
|
||
if(as.zoomed)
|
||
do_beginning++;
|
||
@@ -5157,7 +5157,7 @@
|
||
}
|
||
}
|
||
|
||
- q_status_message1(SM_ORDER, 0, 2, "All %s entries selected",
|
||
+ q_status_message1(SM_ORDER, 0, 2, "已選擇所有 %s 的項目",
|
||
comatose(ab_count));
|
||
if(prevsel == 0 && as.selections > 0 &&
|
||
!as.zoomed && F_ON(F_AUTO_ZOOM, ps)){
|
||
@@ -5194,14 +5194,14 @@
|
||
do_beginning++;
|
||
else{
|
||
as.zoomed = 0;
|
||
- q_status_message(SM_ORDER, 0, 2, "Zoom Mode is now off");
|
||
+ q_status_message(SM_ORDER, 0, 2, "現在關閉縮放模式");
|
||
do_warp++;
|
||
}
|
||
}
|
||
else
|
||
do_warp++;
|
||
|
||
- q_status_message1(SM_ORDER, 0, 2, "%s entries now selected",
|
||
+ q_status_message1(SM_ORDER, 0, 2, "項目 %s 現在已被選擇",
|
||
comatose(as.selections));
|
||
|
||
break;
|
||
@@ -5227,7 +5227,7 @@
|
||
if(as.selections == 0){
|
||
as.zoomed = 0;
|
||
q_status_message(SM_ORDER, 0, 2,
|
||
- "Zoom Mode is now off");
|
||
+ "現在關閉縮放模式");
|
||
do_warp++;
|
||
}
|
||
else
|
||
@@ -5246,63 +5246,63 @@
|
||
if(prevsel == as.selections && prevsel > 0){
|
||
if(as.selections == 1)
|
||
q_status_message(SM_ORDER, 0, 2,
|
||
- "No change resulted, 1 entry remains selected");
|
||
+ "沒有導致任何改變,仍有一個項目被選擇");
|
||
else
|
||
q_status_message1(SM_ORDER, 0, 2,
|
||
- "No change resulted, %s entries remain selected",
|
||
+ "沒有導致任何改變,仍有 %s 個項目被選擇",
|
||
comatose(as.selections));
|
||
}
|
||
else if(prevsel == 0){
|
||
if(as.selections == 1)
|
||
q_status_message(SM_ORDER, 0, 2,
|
||
- "Select matched 1 entry");
|
||
+ "選擇符合的一個項目");
|
||
else if(as.selections > 1)
|
||
q_status_message1(SM_ORDER, 0, 2,
|
||
- "Select matched %s entries",
|
||
+ "選擇符合的 %s 個項目",
|
||
comatose(as.selections));
|
||
else
|
||
q_status_message(SM_ORDER, 0, 2,
|
||
- "Select failed! No entries selected");
|
||
+ "選擇失敗!沒有任何項目被選擇");
|
||
}
|
||
else if(as.selections == 0){
|
||
if(prevsel == 1)
|
||
q_status_message(SM_ORDER, 0, 2,
|
||
- "The single selected entry is UNselected");
|
||
+ "取消已被選擇的單一項目");
|
||
else
|
||
q_status_message1(SM_ORDER, 0, 2,
|
||
- "All %s entries UNselected",
|
||
+ "所有 %s 個項目都被取消選擇",
|
||
comatose(prevsel));
|
||
}
|
||
else if(narrow){
|
||
if(as.selections == 1 && (prevsel-as.selections) == 1)
|
||
q_status_message(SM_ORDER, 0, 2,
|
||
- "1 entry now selected, 1 entry was UNselected");
|
||
+ "一項目被選擇,一項目被取消選擇");
|
||
else if(as.selections == 1)
|
||
q_status_message1(SM_ORDER, 0, 2,
|
||
- "1 entry now selected, %s entries were UNselected",
|
||
+ "一項目被選擇,%s 個項目被取消選擇",
|
||
comatose(prevsel-as.selections));
|
||
else if((prevsel-as.selections) == 1)
|
||
q_status_message1(SM_ORDER, 0, 2,
|
||
- "%s entries now selected, 1 entry was UNselected",
|
||
+ "%s 個項目被選擇,一項目被取消選擇",
|
||
comatose(as.selections));
|
||
else
|
||
q_status_message2(SM_ORDER, 0, 2,
|
||
- "%s entries now selected, %s entries were UNselected",
|
||
+ "%s 個項目被選擇,%s 個項目被取消選擇",
|
||
comatose(as.selections),
|
||
comatose(prevsel-as.selections));
|
||
}
|
||
else{
|
||
if((as.selections-prevsel) == 1)
|
||
q_status_message1(SM_ORDER, 0, 2,
|
||
- "1 new entry selected, %s entries now selected",
|
||
+ "一個新項目被選擇,目前有 %s 個項目已被選擇",
|
||
comatose(as.selections));
|
||
else if(as.selections == 1)
|
||
q_status_message1(SM_ORDER, 0, 2,
|
||
- "%s new entries selected, 1 entry now selected",
|
||
+ "%s 個新項目被選擇,一個項目已被選擇",
|
||
comatose(as.selections-prevsel));
|
||
else
|
||
q_status_message2(SM_ORDER, 0, 2,
|
||
- "%s new entries selected, %s entries now selected",
|
||
+ "%s 個新項目被選擇,目前有 %s 個項目已被選擇",
|
||
comatose(as.selections-prevsel),
|
||
comatose(as.selections));
|
||
}
|
||
@@ -5312,17 +5312,17 @@
|
||
|
||
default :
|
||
q_status_message(SM_ORDER | SM_DING, 3, 3,
|
||
- "Unsupported Select option");
|
||
+ "尚未支援的選項");
|
||
break;
|
||
}
|
||
}
|
||
else{
|
||
if(F_ON(F_CMBND_ABOOK_DISP,ps_global))
|
||
q_status_message(SM_ORDER | SM_DING, 3, 3,
|
||
- "Select is only available from within an expanded address book");
|
||
+ "僅支援自展開的地址簿中選擇");
|
||
else
|
||
q_status_message(SM_ORDER | SM_DING, 3, 3,
|
||
- "Select is only available when viewing an individual address book");
|
||
+ "選擇僅能在檢視個人地址簿時使用");
|
||
|
||
return;
|
||
}
|
||
@@ -5381,11 +5381,11 @@
|
||
int narrow;
|
||
{
|
||
static ESCKEY_S ab_sel_type_opt[] = {
|
||
- {'s', 's', "S", "Simple"},
|
||
- {'l', 'l', "L", "List"},
|
||
+ {'s', 's', "S", "簡單"},
|
||
+ {'l', 'l', "L", "列表"},
|
||
{-1, 0, NULL, NULL}
|
||
};
|
||
- static char *ab_sel_type = "Select Lists or Simples (non Lists) ? ";
|
||
+ static char *ab_sel_type = "選擇列表或簡單(無列表)?";
|
||
int type;
|
||
adrbk_cntr_t num, ab_count;
|
||
|
||
@@ -5403,7 +5403,7 @@
|
||
break;
|
||
|
||
case 'x':
|
||
- cmd_cancelled("Select");
|
||
+ cmd_cancelled("選擇");
|
||
return -1;
|
||
|
||
default:
|
||
@@ -5523,7 +5523,7 @@
|
||
}
|
||
|
||
if(type == 'x' || r == 'x'){
|
||
- cmd_cancelled("Select");
|
||
+ cmd_cancelled("選擇");
|
||
return -1;
|
||
}
|
||
|
||
@@ -5606,7 +5606,7 @@
|
||
break;
|
||
|
||
default:
|
||
- q_status_message(SM_ORDER | SM_DING, 3, 3, "Unknown type");
|
||
+ q_status_message(SM_ORDER | SM_DING, 3, 3, "未知的型態");
|
||
return(err);
|
||
}
|
||
|
||
@@ -5725,18 +5725,18 @@
|
||
new_top_ent = NO_LINE;
|
||
|
||
if(rc == -2)
|
||
- cancel_warning(NO_DING, "search");
|
||
+ cancel_warning(NO_DING, "搜尋");
|
||
|
||
else if(rc == -1)
|
||
- q_status_message(SM_ORDER, 0, 4, "Word not found");
|
||
+ q_status_message(SM_ORDER, 0, 4, "找不到該字");
|
||
|
||
else if(rc == 0){ /* search succeeded */
|
||
|
||
if(wrapped == 1)
|
||
- q_status_message(SM_INFO, 0, 2, "Search wrapped to beginning");
|
||
+ q_status_message(SM_INFO, 0, 2, "從頭搜尋");
|
||
else if(wrapped == 2)
|
||
q_status_message(SM_INFO, 0, 2,
|
||
- "Current line contains the only match");
|
||
+ "目前這行僅包含唯一符合的目標");
|
||
|
||
/* know match is on the same page */
|
||
if(!*warped &&
|
||
@@ -6378,7 +6378,7 @@
|
||
|
||
dprint(7, (debugfile, "- search_book -\n"));
|
||
|
||
- sprintf(prompt, "Word to search for [%s]: ", search_string);
|
||
+ sprintf(prompt, "欲搜尋的字串 [%s]: ", search_string);
|
||
help = NO_HELP;
|
||
nsearch_string[0] = '\0';
|
||
|
||
@@ -6390,12 +6390,12 @@
|
||
ekey[1].ch = ctrl('Y');
|
||
ekey[1].rval = 10;
|
||
ekey[1].name = "^Y";
|
||
- ekey[1].label = "First Adr";
|
||
+ ekey[1].label = "第一個地址";
|
||
|
||
ekey[2].ch = ctrl('V');
|
||
ekey[2].rval = 11;
|
||
ekey[2].name = "^V";
|
||
- ekey[2].label = "Last Adr";
|
||
+ ekey[2].label = "最後一個地址";
|
||
|
||
ekey[3].ch = -1;
|
||
|
||
@@ -6412,11 +6412,11 @@
|
||
warp_to_beginning(); /* go to top of addrbooks */
|
||
if((nl=first_selectable_line(0L)) != NO_LINE){
|
||
*new_line = nl;
|
||
- q_status_message(SM_INFO, 0, 2, "Searched to first entry");
|
||
+ q_status_message(SM_INFO, 0, 2, "搜尋至第一個項目");
|
||
return 0;
|
||
}
|
||
else{
|
||
- q_status_message(SM_INFO, 0, 2, "No entries");
|
||
+ q_status_message(SM_INFO, 0, 2, "沒有任何項目");
|
||
return -1;
|
||
}
|
||
}
|
||
@@ -6425,11 +6425,11 @@
|
||
warp_to_end(); /* go to bottom */
|
||
if((nl=first_selectable_line(0L)) != NO_LINE){
|
||
*new_line = nl;
|
||
- q_status_message(SM_INFO, 0, 2, "Searched to last entry");
|
||
+ q_status_message(SM_INFO, 0, 2, "搜尋至最終項");
|
||
return 0;
|
||
}
|
||
else{
|
||
- q_status_message(SM_INFO, 0, 2, "No entries");
|
||
+ q_status_message(SM_INFO, 0, 2, "沒有任何項目");
|
||
return -1;
|
||
}
|
||
}
|