diff options
Diffstat (limited to 'chinese/pine4/files/patch-ao')
-rw-r--r-- | chinese/pine4/files/patch-ao | 272 |
1 files changed, 0 insertions, 272 deletions
diff --git a/chinese/pine4/files/patch-ao b/chinese/pine4/files/patch-ao deleted file mode 100644 index a8fc50f65d57..000000000000 --- a/chinese/pine4/files/patch-ao +++ /dev/null @@ -1,272 +0,0 @@ ---- pico/file.c.orig Tue Mar 23 09:26:04 1999 -+++ pico/file.c Thu Oct 14 10:53:41 1999 -@@ -63,17 +63,17 @@ - return(s); - - if(gmode&MDSCUR){ -- emlwrite("File reading disabled in secure mode",NULL); -+ emlwrite("安全模式中已關閉讀取檔案的功\能",NULL); - return(0); - } - - if (strlen(fname) == 0) { -- emlwrite("No file name entered",NULL); -+ emlwrite("尚未輸入檔案名",NULL); - return(0); - } - - if((gmode & MDTREE) && !in_oper_tree(fname)){ -- emlwrite("Can't read file from outside of %s", opertree); -+ emlwrite("無法讀取 %s 以外的檔案", opertree); - return(0); - } - -@@ -137,13 +137,13 @@ - - menu_ins[last_menu].name = "^T"; - menu_ins[last_menu].key = (CTRL|'T'); -- menu_ins[last_menu].label = "To Files"; -+ menu_ins[last_menu].label = "檔案列表"; - KS_OSDATASET(&menu_ins[last_menu], KS_NONE); - - if(Pmaster && Pmaster->msgntext){ - menu_ins[++last_menu].name = "^W"; - menu_ins[last_menu].key = (CTRL|'W'); -- menu_ins[last_menu].label = msg ? "InsertFile" : "InsertMsg"; -+ menu_ins[last_menu].label = msg ? "插入檔案" : "插入訊息"; - KS_OSDATASET(&menu_ins[last_menu], KS_NONE); - } - -@@ -159,44 +159,43 @@ - if(gmode & MDCMPLT){ - menu_ins[++last_menu].name = msg ? "" : "TAB"; - menu_ins[last_menu].key = (CTRL|'I'); -- menu_ins[last_menu].label = msg ? "" : "Complete"; -+ menu_ins[last_menu].label = msg ? "" : "完成"; - KS_OSDATASET(&menu_ins[last_menu], KS_NONE); - } - - menu_ins[++last_menu].name = NULL; - } - -- sprintf(prompt, "%s to insert from %s %s: ", -- msg ? "Number of message" : "File", -+ sprintf(prompt, "自%s%s插入的%s:", - (msg || (gmode&MDCURDIR)) -- ? "current" -- : ((gmode & MDTREE) || opertree[0]) ? opertree : "home", -- msg ? "folder" : "directory"); -+ ? "目前的" -+ : ((gmode & MDTREE) || opertree[0]) ? opertree : "家", -+ msg ? "檔案匣" : "目錄", msg ? "信件編號" : "檔案"); - s = mlreplyd(prompt, fname, NLINE, QDEFLT, msg ? NULL : menu_ins); - /* something to read and it was edited or the default accepted */ - if(fname[0] && (s == TRUE || s == FALSE)){ - bye++; - if(msg){ - if((*Pmaster->msgntext)(atol(fname), insmsgchar)) -- emlwrite("Message %s included", fname); -+ emlwrite("信件 %s 已含入", fname); - } - else{ - bye++; - if(gmode&MDSCUR){ -- emlwrite("Can't insert file in restricted mode",NULL); -+ emlwrite("在限制模式中無法插入檔案",NULL); - } - else{ - if((gmode & MDTREE) - && !compresspath(opertree, fname, NLINE)){ - emlwrite( -- "Can't insert file from outside of %s: too many ..'s", -+ "無法在 %s 以外的地方插入檔案:太多 .. 了", - opertree); - } - else{ - fixpath(fname, NLINE); - - if((gmode & MDTREE) && !in_oper_tree(fname)) -- emlwrite("Can't insert file from outside of %s", -+ emlwrite("無法在 %s 以外的地方插入檔案", - opertree); - else - retval = ifile(fname); -@@ -255,7 +254,7 @@ - break; - case (CTRL|'T'): - if(msg){ -- emlwrite("Can't select messages yet!", NULL); -+ emlwrite("還無法選擇信件!", NULL); - } - else{ - if(*fname && isdir(fname, NULL, NULL)) -@@ -270,7 +269,7 @@ - if((s = FileBrowse(dir, NLINE, fname, NLINE, - NULL, FB_READ)) == 1){ - if(gmode&MDSCUR){ -- emlwrite("Can't insert in restricted mode", -+ emlwrite("在限制模式中無法插入", - NULL); - sleep(2); - } -@@ -311,7 +310,7 @@ - - if(gmode&MDSCUR){ - emlwrite( -- "\007Restricted mode disallows uploaded command", -+ "\007限制模式中不允許\上載", - NULL); - return(0); - } -@@ -411,20 +410,20 @@ - strcpy(curbp->b_fname, fname); - if ((s=ffropen(fname)) != FIOSUC){ /* Hard file open. */ - if(s == FIOFNF) /* File not found. */ -- emlwrite("New file", NULL); -+ emlwrite("新檔", NULL); - else - fioperr(s, fname); - } - else{ -- emlwrite("Reading file", NULL); -+ emlwrite("讀取檔案", NULL); - nline = 0L; - done = newline = 0; - while(!done) - if((s = ffgetline(line, NLINE, 1)) == FIOEOF){ - curbp->b_flag &= ~(BFTEMP|BFCHG); - gotobob(FALSE, 1); -- sprintf(line,"Read %d line%s", -- nline, (nline > 1) ? "s" : ""); -+ sprintf(line,"讀取第 %d 行", -+ nline); - emlwrite(line, NULL); - break; - } -@@ -482,14 +481,14 @@ - fname[0] = '\0'; - - menu_write[0].name = "^T"; -- menu_write[0].label = "To Files"; -+ menu_write[0].label = "檔案列表"; - menu_write[0].key = (CTRL|'T'); - menu_write[1].name = "TAB"; -- menu_write[1].label = "Complete"; -+ menu_write[1].label = "完成"; - menu_write[1].key = (CTRL|'I'); - menu_write[2].name = NULL; - for(;!(gmode & MDTOOL);){ -- s = mlreplyd("File Name to write : ", fname, NFILEN, -+ s = mlreplyd("欲寫入的檔名:", fname, NFILEN, - QDEFLT|QFFILE, menu_write); - - switch(s){ -@@ -500,7 +499,7 @@ - } - case TRUE: - if((gmode & MDTREE) && !compresspath(opertree, fname, NFILEN)){ -- emlwrite("Can't write outside of %s: too many ..'s", -+ emlwrite("無法寫入 %s 以外的檔案:太多 .. 了", - opertree); - sleep(2); - continue; -@@ -508,7 +507,7 @@ - else{ - fixpath(fname, NFILEN); /* fixup ~ in file name */ - if((gmode & MDTREE) && !in_oper_tree(fname)){ -- emlwrite("Can't write outside of %s", opertree); -+ emlwrite("無法寫入 %s 以外的檔案", opertree); - sleep(2); - continue; - } -@@ -592,12 +591,12 @@ - strcpy(fname, shows); - } - else { -- emlwrite("Cannot write. File name too long!!",NULL); -+ emlwrite("無法寫入。檔名過長!",NULL); - sleep(3); - } - } - else if (s == -1){ -- emlwrite("Cannot write. File name too long!!",NULL); -+ emlwrite("無法寫入。檔名過長!",NULL); - sleep(3); - } - refresh(FALSE, 1); -@@ -635,7 +634,7 @@ - return(ABORT); - } - } -- emlwrite("Writing...", NULL); -+ emlwrite("正在寫入...", NULL); - - if ((s=writeout(fname, 0)) != -1) { - if(!(gmode&MDTOOL)){ -@@ -652,9 +651,9 @@ - } - - if(s > 1) -- emlwrite("Wrote %d lines", (void *)s); -+ emlwrite("寫入 %d 行", (void *)s); - else -- emlwrite("Wrote 1 line", NULL); -+ emlwrite("寫入 1 行", NULL); - } - return ((s == -1) ? FALSE : TRUE); - } -@@ -680,12 +679,12 @@ - if ((curbp->b_flag&BFCHG) == 0) /* Return, no changes. */ - return (TRUE); - if (curbp->b_fname[0] == 0) { /* Must have a name. */ -- emlwrite("No file name", NULL); -+ emlwrite("沒有檔名", NULL); - sleep(2); - return (FALSE); - } - -- emlwrite("Writing...", NULL); -+ emlwrite("正在寫入...", NULL); - if ((s=writeout(curbp->b_fname, 0)) != -1) { - curbp->b_flag &= ~BFCHG; - wp = wheadp; /* Update mode lines. */ -@@ -696,10 +695,10 @@ - wp = wp->w_wndp; - } - if(s > 1){ -- emlwrite("Wrote %d lines", (void *)s); -+ emlwrite("寫入 %d 行", (void *)s); - } - else -- emlwrite("Wrote 1 line", NULL); -+ emlwrite("寫入 1 行", NULL); - } - return (s); - } -@@ -818,7 +817,7 @@ - curbp->b_flag &= ~BFTEMP; /* and are not temporary*/ - curbp->b_linecnt = -1; /* must be recalculated */ - -- emlwrite("Inserting %s.", fname); -+ emlwrite("正在插入 %s。", fname); - done = newline = 0; - nline = 0L; - while(!done) -@@ -828,7 +827,7 @@ - else - forwchar(FALSE, 1); - -- sprintf(line,"Inserted %d line%s", nline, (nline>1) ? "s" : ""); -+ sprintf(line,"已插入 %d 行", nline); - emlwrite(line, NULL); - break; - } -@@ -916,7 +915,7 @@ - strcat(fn, S_FILESEP); - } - else{ -- emlwrite("File name too BIG!!",0); -+ emlwrite("檔名太大了!!",0); - sleep(3); - *fn = '\0'; - } |