summaryrefslogtreecommitdiffstats
path: root/chinese/pine4/files/patch-ai
blob: f50baad1941ce7bbff0bae82a8fa5330c727d8a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
--- pico/browse.c.orig	Wed Sep 16 08:19:17 1998
+++ pico/browse.c	Tue Sep 22 17:29:07 1998
@@ -126,12 +126,12 @@
 
 
 static	KEYMENU menu_browse[] = {
-    {"?", "Get Help", KS_SCREENHELP},	{NULL, NULL, KS_NONE},
-    {NULL, NULL, KS_NONE},		{"-", "Prev Pg", KS_PREVPAGE},
-    {"D", "Delete", KS_NONE},		{"C","Copy", KS_NONE},
+    {"?", "輔助說明", KS_SCREENHELP},	{NULL, NULL, KS_NONE},
+    {NULL, NULL, KS_NONE},		{"-", "上一頁", KS_PREVPAGE},
+    {"D", "刪除", KS_NONE},		{"C","複製", KS_NONE},
     {NULL, NULL, KS_NONE},		{NULL, NULL, KS_NONE},
-    {"W", "Where is", KS_NONE},		{"Spc", "Next Pg", KS_NEXTPAGE},
-    {"R", "Rename", KS_NONE},		{NULL, NULL, KS_NONE}
+    {"W", "搜尋", KS_NONE},		{"Spc", "下一頁", KS_NEXTPAGE},
+    {"R", "更名", KS_NONE},		{NULL, NULL, KS_NONE}
 };
 #define	QUIT_KEY	1
 #define	EXEC_KEY	2
@@ -333,7 +333,7 @@
     child[0] = '\0';
 
     if((gmode&MDTREE) && !in_oper_tree(dir)){
-	emlwrite("\007Can't read outside of %s in restricted mode", opertree);
+	emlwrite("\007無法在限制模式中讀取 %s 以外的東西", opertree);
 	sleep(2);
 	return(0);
     }
@@ -421,7 +421,7 @@
 	else{
 	    if(timeo && (c == NODATA || time_to_check()))
 	      if(pico_new_mail())
-		emlwrite("You may possibly have new mail.", NULL);
+		emlwrite("您可能有新信件。", NULL);
 	}
 
 	if(km_popped)
@@ -697,7 +697,7 @@
 			gmp->current->fname);
 		/* make sure selected isn't a directory or executable */
 		if(!LikelyASCII(child)){
-		    emlwrite("Can't edit non-text file.  Try Launch.", NULL);
+		    emlwrite("無法讀取非文字檔。試試 \"啟動\"。", NULL);
 		    break;
 		}
 
@@ -727,13 +727,13 @@
 		return(0);
 	    }
 
-	    emlwrite("\007Unknown command '%c'", (void *)c);
+	    emlwrite("\007未知的命令 '%c'", (void *)c);
 	    break;
 
 	  case 'l':			            /* run Command */
 	  case 'L':
 	    if(!(gmode&MDBRONLY)){
-		emlwrite("\007Unknown command '%c'", (void *)c);
+		emlwrite("\007未知的命令 '%c'", (void *)c);
 		break;
 	    }
 
@@ -750,11 +750,11 @@
 		    {NULL, NULL, 0, KS_NONE},
 		};
 
-		status = mlreply("Command to execute: ",
+		status = mlreply("欲執行的命令:",
 				 tmp, NLINE, QNORML, opts);
 		switch(status){
 		  case HELPCH:
-		    emlwrite("\007No help yet!", NULL);
+		    emlwrite("\007尚無輔助說明!", NULL);
 /* remove break and sleep after help text is installed */
 		    sleep(3);
 		    break;
@@ -765,7 +765,7 @@
 		    PaintBrowser(gmp, 0, &crow, &ccol);
 		    break;
 		  case ABORT:
-		    emlwrite("Command cancelled", NULL);
+		    emlwrite("命令已取消", NULL);
 		    i++;
 		    break;
 		  case FALSE:
@@ -773,7 +773,7 @@
 		    i++;
 
 		    if(tmp[0] == '\0'){
-			emlwrite("No command specified", NULL);
+			emlwrite("尚未下達命令", NULL);
 			break;
 		    }
 
@@ -792,12 +792,12 @@
 	  case 'D':
 	    if(gmp->current->mode == FIODIR){
 /* BUG: if dir is empty it should be deleted */
-		emlwrite("\007Can't delete a directory", NULL);
+		emlwrite("\007無法刪除該目錄", NULL);
 		break;
 	    }
 
 	    if(gmode&MDSCUR){				/* not allowed! */
-		emlwrite("Delete not allowed in restricted mode",NULL);
+		emlwrite("無法在限制模式中使用刪除指令",NULL);
 		break;
 	    }
 
@@ -808,17 +808,17 @@
 	    while(i++ < 2){		/* verify twice!! */
 		if(i == 1){
 		    if(fexist(child, "w", (off_t *)NULL) != FIOSUC)
-		      strcpy(tmp, "File is write protected! OVERRIDE");
+		      strcpy(tmp, "檔案為防寫! 要跳過防寫保護");
 		    else
-		      sprintf(tmp, "Delete file \"%.*s\"", NLINE - 20, child);
+		      sprintf(tmp, "刪除檔案 \"%.*s\"", NLINE - 20, child);
 		}
 		else
-		  strcpy(tmp, "File CANNOT be UNdeleted!  Really delete");
+		  strcpy(tmp, "檔案將無法被反刪除! 確定刪除");
 
 		if((status = mlyesno(tmp, FALSE)) != TRUE){
 		    emlwrite((status ==  ABORT)
-			       ? "Delete Cancelled"
-			       : "File Not Deleted",
+			       ? "取消刪除"
+			       : "檔案沒有被刪除",
 			     NULL);
 		    break;
 		}
@@ -826,7 +826,7 @@
 
 	    if(status == TRUE){
 		if(unlink(child) < 0){
-		    emlwrite("Delete Failed: %s", errstr(errno));
+		    emlwrite("刪除失敗:%s", errstr(errno));
 		}
 		else{			/* fix up pointers and redraw */
 		    tp = gmp->current;
@@ -903,12 +903,12 @@
  
 	    while(!i){
  
-		status = mlreply("Directory to go to: ", child, NLINE, QNORML,
+		status = mlreply("切換至哪一個目錄:", child, NLINE, QNORML,
 				 NULL);
  
 		switch(status){
 		  case HELPCH:
-		    emlwrite("\007No help yet!", NULL);
+		    emlwrite("\007尚無輔助說明!", NULL);
 		    /* remove break and sleep after help text is installed */
 		    sleep(3);
 		    break;
@@ -916,7 +916,7 @@
 		    PaintBrowser(gmp, 0, &crow, &ccol);
 		  break;
 		  case ABORT:
-		    emlwrite("Goto cancelled", NULL);
+		    emlwrite("取消切換目錄", NULL);
 		    i++;
 		    break;
 		  case FALSE:
@@ -927,17 +927,17 @@
 		      strcpy(child, gethomedir(NULL));
  
 		    if(!compresspath(gmp->dname, child, NLINE)){
-			emlwrite("Invalid Directory: %s", child);
+			emlwrite("無效的目錄:%s", child);
 			break;
 		    }
 
 		    if((gmode&MDSCUR) && homeless(child)){
-			emlwrite("Restricted mode browsing limited to home directory",NULL);
+			emlwrite("限制模式中僅能瀏覽 home directory",NULL);
 			break;
 		    }
  
 		    if((gmode&MDTREE) && !in_oper_tree(child)){
-		      emlwrite("\007 Can't go outside of %s in restricted mode",
+		      emlwrite("\007 限制模式中無法離開 %s",
 			       opertree);
 			break;
 		    }
@@ -954,7 +954,7 @@
 			PaintBrowser(gmp, 0, &crow, &ccol);
 		    }
 		    else
-		      emlwrite("\007Not a directory: \"%s\"", child);
+		      emlwrite("\007\"%s\"不是一個目錄", child);
  
 		    break;
 		  default:
@@ -976,10 +976,10 @@
 
 	    while(!i){
 
-		switch(status=mlreply("Name of file to add: ", child, NLINE,
+		switch(status=mlreply("欲新增的檔名:", child, NLINE,
 				      QFFILE, NULL)){
 		  case HELPCH:
-		    emlwrite("\007No help yet!", NULL);
+		    emlwrite("\007尚無輔助說明!", NULL);
 /* remove break and sleep after help text is installed */
 		    sleep(3);
 		    break;
@@ -987,7 +987,7 @@
 		    PaintBrowser(gmp, 0, &crow, &ccol);
 		    break;
 		  case ABORT:
-		    emlwrite("Add File Cancelled", NULL);
+		    emlwrite("取消新增檔案", NULL);
 		    i++;
 		    break;
 		  case FALSE:
@@ -998,23 +998,23 @@
 		    i++;
 
 		    if(child[0] == '\0'){
-			emlwrite("No file named.  Add Cancelled.", NULL);
+			emlwrite("未指定檔名,取消新增檔案。", NULL);
 			break;
 		    }
 
 		    if(!compresspath(gmp->dname, child, NLINE)){
-			emlwrite("Too many ..'s in name", NULL);
+			emlwrite("檔名中有太多的 .. 了", NULL);
 			break;
 		    }
 
 		    if((gmode&MDTREE) && !in_oper_tree(child)){
-		       emlwrite("\007Restricted mode allows Add in %s only",
+		       emlwrite("\007限制模式中僅允許\在 %s 中新增檔案",
 				opertree);
 			break;
 		    }
 
 		    if((status = fexist(child, "w", (off_t *)NULL)) == FIOSUC){
-			sprintf(tmp,"File \"%.*s\" already exists!",
+			sprintf(tmp,"檔案 \"%.*s\" 已存在!",
 				NLINE - 20, child);
 			emlwrite(tmp, NULL);
 			break;
@@ -1030,7 +1030,7 @@
 		    }
 		    else{			/* highlight new file */
 			ffclose();
-			emlwrite("Added File \"%s\"", child);
+			emlwrite("新增檔案 \"%s\"", child);
 
 			if((p = strrchr(child, C_FILESEP)) == NULL){
 			    emlwrite("Problems refiguring browser", NULL);
@@ -1078,12 +1078,12 @@
 	  case 'c':					/* copy */
 	  case 'C':
 	    if(gmp->current->mode == FIODIR){
-		emlwrite("\007Can't copy a directory", NULL);
+		emlwrite("\007無法複製目錄", NULL);
 		break;
 	    }
 
 	    if(gmode&MDSCUR){				/* not allowed! */
-		emlwrite("Copy not allowed in restricted mode",NULL);
+		emlwrite("無法在限制模式中複製檔案",NULL);
 		break;
 	    }
 
@@ -1092,10 +1092,10 @@
 
 	    while(!i){
 
-		switch(status=mlreply("Name of new copy: ", child, NLINE,
+		switch(status=mlreply("新複製檔名:", child, NLINE,
 				      QFFILE, NULL)){
 		  case HELPCH:
-		    emlwrite("\007No help yet!", NULL);
+		    emlwrite("\007尚無輔助說明!", NULL);
 /* remove break and sleep after help text is installed */
 		    sleep(3);
 		    break;
@@ -1103,7 +1103,7 @@
 		    PaintBrowser(gmp, 0, &crow, &ccol);
 		    break;
 		  case ABORT:
-		    emlwrite("Make Copy Cancelled", NULL);
+		    emlwrite("取消複製檔案", NULL);
 		    i++;
 		    break;
 		  case FALSE:
@@ -1114,33 +1114,33 @@
 		    i++;
 
 		    if(child[0] == '\0'){
-			emlwrite("No destination, file not copied", NULL);
+			emlwrite("未指定目地檔名,檔案沒有被複製。", NULL);
 			break;
 		    }
 
 		    if(!strcmp(gmp->current->fname, child)){
-			emlwrite("\007Can't copy file on to itself!", NULL);
+			emlwrite("\007無法將檔案複製至它自己!", NULL);
 			break;
 		    }
 
 		    if(!compresspath(gmp->dname, child, NLINE)){
-			emlwrite("Too many ..'s in name", NULL);
+			emlwrite("檔名中有太多的 .. 了", NULL);
 			break;
 		    }
 
 		    if((gmode&MDTREE) && !in_oper_tree(child)){
-		       emlwrite("\007Restricted mode allows Copy in %s only",
+		       emlwrite("\007限制模式中僅允許\在 %s 中複製檔案",
 				opertree);
 			break;
 		    }
 
 		    if((status = fexist(child, "w", (off_t *)NULL)) == FIOSUC){
-			sprintf(tmp,"File \"%.*s\" exists! OVERWRITE",
+			sprintf(tmp,"檔案 \"%.*s\" 已存在! 要覆蓋\嗎",
 				NLINE - 20, child);
 			if((status = mlyesno(tmp, 0)) != TRUE){
 			    emlwrite((status == ABORT)
-				      ? "Make copy cancelled" 
-				      : "File Not Renamed",
+				      ? "取消複製" 
+				      : "檔案沒有被複製",
 				     NULL);
 			    break;
 			}
@@ -1158,7 +1158,7 @@
 			break;
 		    }
 		    else{			/* highlight new file */
-			emlwrite("File copied to %s", child);
+			emlwrite("複製檔案到 %s", child);
 
 			if((p = strrchr(child, C_FILESEP)) == NULL){
 			    emlwrite("Problems refiguring browser", NULL);
@@ -1201,12 +1201,12 @@
 	    i = 0;
 
 	    if(!strcmp(gmp->current->fname, "..")){
-		emlwrite("\007Can't rename \"..\"", NULL);
+		emlwrite("\007無法更改 \"..\" 的名稱", NULL);
 		break;
 	    }
 
 	    if(gmode&MDSCUR){				/* not allowed! */
-		emlwrite("Rename not allowed in restricted mode",NULL);
+		emlwrite("無法在限制模式中更改檔案名",NULL);
 		break;
 	    }
 
@@ -1214,10 +1214,10 @@
 
 	    while(!i){
 
-		switch(status=mlreply("Rename file to: ", child, NLINE, QFFILE,
+		switch(status=mlreply("檔案名稱更改為:", child, NLINE, QFFILE,
 				      NULL)){
 		  case HELPCH:
-		    emlwrite("\007No help yet!", NULL);
+		    emlwrite("\007尚無輔助說明!", NULL);
 /* remove break and sleep after help text is installed */
 		    sleep(3);
 		    break;
@@ -1225,7 +1225,7 @@
 		    PaintBrowser(gmp, 0, &crow, &ccol);
 		    break;
 		  case ABORT:
-		    emlwrite("Rename cancelled", NULL);
+		    emlwrite("取消更改檔案名稱", NULL);
 		    i++;
 		    break;
 		  case FALSE:
@@ -1238,12 +1238,12 @@
 		    }
 
 		    if(!compresspath(gmp->dname, child, NLINE)){
-			emlwrite("Too many ..'s in name", NULL);
+			emlwrite("檔名中有太多的 .. 了", NULL);
 			break;
 		    }
 
 		    if((gmode&MDTREE) && !in_oper_tree(child)){
-		       emlwrite("\007Restricted mode allows Rename in %s only",
+		       emlwrite("\007限制模式中僅允許\在 %s 中更改檔名",
 				opertree);
 			break;
 		    }
@@ -1251,13 +1251,13 @@
 		    status = fexist(child, "w", (off_t *)NULL);
 		    if(status == FIOSUC || status == FIOFNF){
 			if(status == FIOSUC){
-			    sprintf(tmp,"File \"%.*s\" exists! OVERWRITE",
+			    sprintf(tmp,"檔案 \"%.*s\" 已存在! 要覆蓋\嗎",
 				    NLINE - 20, child);
 
 			    if((status = mlyesno(tmp, FALSE)) != TRUE){
 				emlwrite((status ==  ABORT)
-					  ? "Rename cancelled"
-					  : "Not Renamed",
+					  ? "取消更名"
+					  : "檔案沒有被更名",
 					 NULL);
 				break;
 			    }
@@ -1267,7 +1267,7 @@
 				gmp->current->fname);
 
 			if(rename(tmp, child) < 0){
-			    emlwrite("Rename Failed: %s", errstr(errno));
+			    emlwrite("更名失敗:%s", errstr(errno));
 			}
 			else{
 			    if((p = strrchr(child, C_FILESEP)) == NULL){
@@ -1326,7 +1326,7 @@
 
 			if((gmode&MDTREE) && !in_oper_tree(tmp)){
 			    emlwrite(
-				   "\007Can't visit parent in restricted mode",
+				   "\007無法在限制模式中檢視上層目錄",
 				   NULL);
 			    break;
 			}
@@ -1347,7 +1347,7 @@
 			        strcpy(tmp, S_FILESEP);
 #endif
 			      else{
-				  emlwrite("\007Can't move up a directory",
+				  emlwrite("\007無法切換至上一層目錄",
 					   NULL);
 				  break;
 			      }
@@ -1374,12 +1374,12 @@
 			PlaceCell(gmp, gmp->current, &row, &col);
 		    }
 		    else
-		      emlwrite("\007Problem finding dir \"%s\"",child);
+		      emlwrite("\007搜尋目錄 \"%s\" 時出了問題",child);
 		}
 
 		PaintBrowser(gmp, 0, &crow, &ccol);
 		if(!*child)
-		  emlwrite("Select/View \".. parent dir\" to return to previous directory.",
+		  emlwrite("以 [選擇]/[檢視] \".. parent dir\" 回到前一個目錄。",
 			   NULL);
 
 		break;
@@ -1425,7 +1425,7 @@
 
 		switch(readpattern("File name to find")){
 		  case HELPCH:
-		    emlwrite("\007No help yet!", NULL);
+		    emlwrite("\007尚無輔助說明!", NULL);
 /* remove break and sleep after help text is installed */
 		    sleep(3);
 		    break;
@@ -1456,10 +1456,10 @@
 			}
 			while(tp->next);
 
-			emlwrite("Searched to end of directory", NULL);
+			emlwrite("搜尋至目錄結尾", NULL);
 		    }
 		    else
-		      emlwrite("Searched to start of directory", NULL);
+		      emlwrite("搜尋至目錄起始", NULL);
 
 		    if(tp){
 			PlaceCell(gmp, gmp->current, &row, &col);
@@ -1478,7 +1478,7 @@
 		    i++;			/* make sure we jump out */
 		    break;
 		  case ABORT:
-		    emlwrite("Whereis cancelled", NULL);
+		    emlwrite("取消搜尋", NULL);
 		    i++;
 		    break;
 		  case FALSE:
@@ -1502,7 +1502,7 @@
 			mlerase();
 		    }
 		    else
-		      emlwrite("\"%s\" not found", pat);
+		      emlwrite("找不到 \"%s\"", pat);
 
 		    i++;
 		    break;
@@ -1524,11 +1524,11 @@
 	  default:				/* what? */
 	  Default:
 	    if(c < 0xff)
-	      emlwrite("\007Unknown command: '%c'", (void *) c);
+	      emlwrite("\007未知的命令:'%c'", (void *) c);
 	    else if(c & CTRL)
-	      emlwrite("\007Unknown command: ^%c", (void *)(c&0xff));
+	      emlwrite("\007未知的命令:^%c", (void *)(c&0xff));
 	    else
-	      emlwrite("\007Unknown command", NULL);
+	      emlwrite("\007未知的命令", NULL);
 	  case NODATA:				/* no op */
 	    break;
 	}
@@ -1560,7 +1560,7 @@
 
     errbuf[0] = '\0';
     if((mp=(struct bmaster *)malloc(sizeof(struct bmaster))) == NULL){
-	emlwrite("\007Can't malloc space for master filename cell", NULL);
+	emlwrite("\007無法配置記憶體空間給 master filename cell", NULL);
 	return(NULL);
     }
 
@@ -1584,7 +1584,7 @@
     mp->cpf = mp->fpl = 0;
     mp->longest = 5;				/* .. must be labeled! */
 
-    emlwrite("Building file list of %s...", mp->dname);
+    emlwrite("正在建立 %s 的檔案列表...", mp->dname);
 
     if((mp->names = getfnames(mp->dname, NULL, &nentries, errbuf)) == NULL){
 	free((char *) mp);
@@ -1603,7 +1603,7 @@
      * easily be made a user option later on...
      */
     if((filtnames=(char **)malloc((nentries+1) * sizeof(char *))) == NULL){
-	emlwrite("\007Can't malloc space for name array", NULL);
+	emlwrite("\007無法配置記憶體空間給 name array", NULL);
 	zotmaster(&mp);
 	return(NULL);
     }
@@ -1654,7 +1654,7 @@
     while(nentries--){				/* stat filtered files */
 	/* get a new cell */
 	if((ncp=(struct fcell *)malloc(sizeof(struct fcell))) == NULL){
-	    emlwrite("\007Can't malloc cells for browser!", NULL);
+	    emlwrite("\007無法配置記憶體空間給 browser!", NULL);
 	    zotfcells(mp->head);		/* clean up cells */
 	    free((char *) filtnames);
 	    free((char *) mp);
@@ -1840,22 +1840,22 @@
 BrowserKeys()
 {
     menu_browse[QUIT_KEY].name  = (gmode&MDBRONLY) ? "Q" : "E";
-    menu_browse[QUIT_KEY].label = (gmode&MDBRONLY) ? "Quit" : "Exit Brwsr";
+    menu_browse[QUIT_KEY].label = (gmode&MDBRONLY) ? "離開" : "離開瀏覽器";
     menu_browse[GOTO_KEY].name  = (gmode&MDGOTO) ? "G" : NULL;
-    menu_browse[GOTO_KEY].label = (gmode&MDGOTO) ? "Goto" : NULL;
+    menu_browse[GOTO_KEY].label = (gmode&MDGOTO) ? "切換" : NULL;
     if(gmode & MDBRONLY){
 	menu_browse[EXEC_KEY].name  = "L";
-	menu_browse[EXEC_KEY].label = "Launch";
+	menu_browse[EXEC_KEY].label = "啟動";
 	menu_browse[SELECT_KEY].name  = "V";
-	menu_browse[SELECT_KEY].label = "[View]";
+	menu_browse[SELECT_KEY].label = "[檢視]";
 	menu_browse[PICO_KEY].name  = "E";
-	menu_browse[PICO_KEY].label = "Edit";
+	menu_browse[PICO_KEY].label = "編輯";
     }
     else{
 	menu_browse[SELECT_KEY].name  = "S";
-	menu_browse[SELECT_KEY].label = "[Select]";
+	menu_browse[SELECT_KEY].label = "[選擇]";
 	menu_browse[PICO_KEY].name  = "A";
-	menu_browse[PICO_KEY].label = "Add";
+	menu_browse[PICO_KEY].label = "新增";
     }
 
     wkeyhelp(menu_browse);
@@ -1958,7 +1958,7 @@
 
 	if((tp = tp->next) == NULL){		/* above top? */
 	    if(secondtry++){
-		emlwrite("\007Internal error: can't find fname cell", NULL);
+		emlwrite("\007內部錯誤: 找不到 fname cell", NULL);
 		return(-1);
 	    }
 	    else{
@@ -2124,10 +2124,10 @@
 	if(!p)					/* no suitable length! */
 	  p = &dir[l-(term.t_ncol-i-19)];
 
-	sprintf(buf, "%s Dir ...%s", (gmode&MDBRONLY) ? "" : " BROWSER  ", p);
+	sprintf(buf, "%s 目錄 ...%s", (gmode&MDBRONLY) ? "" : " BROWSER  ", p);
     }
     else 
-      sprintf(buf,"%s  Dir: %s", (gmode&MDBRONLY) ? "" : " BROWSER  ", dir);
+      sprintf(buf,"%s  目錄: %s", (gmode&MDBRONLY) ? "" : " BROWSER  ", dir);
 
     if(i < j)					/* keep it centered */
       j = j - i;				/* as long as we can */
@@ -2256,18 +2256,18 @@
 	      if((line = (buf[i] == '\n') ? 0 : line + 1) >= LA_LINE_LIMIT
 		 || !buf[i]){
 		  rv = FALSE;
-		  emlwrite("Can't display non-text file.  Try \"Launch\".",
+		  emlwrite("無法顯示非文字檔。試試 \"啟動\"。",
 			   NULL);
 		  break;
 	      }
 	}
 	else
-	  emlwrite("Can't read file: %s", file);
+	  emlwrite("無法讀取檔案:%s", file);
 
 	fclose(fp);
     }
     else
-      emlwrite("Can't open file: %s", file);
+      emlwrite("無法開啟檔案:%s", file);
 
     return(rv);
 }
OpenPOWER on IntegriCloud