summaryrefslogtreecommitdiff
path: root/chinese/pine4/files/patch-bj
blob: e0208292134045b8a6c0eba5ffbeb7aea19f0834 (plain) (blame)
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
--- pine/screen.c.orig	Thu Sep  9 05:45:46 1999
+++ pine/screen.c	Thu Oct 14 12:03:27 1999
@@ -578,7 +578,7 @@
 
 
 static struct key cancel_keys[] = 
-     {{NULL,NULL,KS_NONE},            {"^C","Cancel",KS_NONE},
+     {{NULL,NULL,KS_NONE},            {"^C","����",KS_NONE},
       {NULL,NULL,KS_NONE},            {NULL,NULL,KS_NONE},
       {NULL,NULL,KS_NONE},            {NULL,NULL,KS_NONE},
       {NULL,NULL,KS_NONE},            {NULL,NULL,KS_NONE},
@@ -1281,10 +1281,10 @@
     as.page_column    = -1;
     is_context        = strlen(as.context_name);
     sprintf(version, "PINE %s", pine_version); 
-    ss_string         = as.stream_status == Closed ? "(CLOSED)" :
+    ss_string         = as.stream_status == Closed ? "(�w����)" :
                         (as.stream_status == ReadOnly
 			 && !IS_NEWS(as.stream))
-                           ? "(READONLY)" : "";
+                           ? "(��Ū)" : "";
     ss_len            = strlen(ss_string);
 
     tit_len = strlen(as.title);		/* fixed title field width   */
@@ -1301,17 +1301,17 @@
     /* 
      * set location field's length and value based on requested style 
      */
-    loc_label = (is_context) ? "Msg" : "Message";
+    loc_label = (is_context) ? "�H" : "�H��";
     loc_len   = strlen(loc_label);
     if(!mn_get_total(as.msgmap)){
-	sprintf(tmp_20k_buf, "No %ss", loc_label);
+	sprintf(tmp_20k_buf, "�S��%s", loc_label);
 	loc_len += 4;
     }else{
 	switch(as.style){
 	  case FolderName :			/* "x,xxx <loc_label>s" */
 	    loc_len += digit_count(mn_get_total(as.msgmap)) + 3;
-	    sprintf(tmp_20k_buf, "%s %s%s", comatose(mn_get_total(as.msgmap)),
-		    loc_label, plural(mn_get_total(as.msgmap)));
+	    sprintf(tmp_20k_buf, "%s ��%s", comatose(mn_get_total(as.msgmap)),
+		    loc_label);
 	    break;
 	  case MessageNumber :	       	/* "<loc_label> xxx of xxx DEL"  */
 	    num_len	     = digit_count(mn_get_total(as.msgmap));
@@ -1319,7 +1319,7 @@
 	    as.cur_mess_col  = sc - (2 * num_len) - 10;
 	    as.del_column    = as.cur_mess_col + num_len 
 	      + digit_count(as.current_msg) + 5;
-	    sprintf(tmp_20k_buf, "%s %s of %s %s", loc_label,
+	    sprintf(tmp_20k_buf, "%s %s �� %s %s", loc_label,
 		    strcpy(tmp_20k_buf + 1000, comatose(as.current_msg)),
 		    strcpy(tmp_20k_buf + 1500, comatose(mn_get_total(as.msgmap))),
 		    BAR_STATUS(as.msg_state));
@@ -1331,7 +1331,7 @@
 	    as.percent_column  = as.cur_mess_col + num_len
 	      + digit_count(as.current_msg) + 7;
 	    as.del_column      = as.percent_column + 4;
-	    sprintf(tmp_20k_buf, "%s %s of %s %s %s", loc_label, 
+	    sprintf(tmp_20k_buf, "%s %s �� %s %s %s", loc_label, 
 		    strcpy(tmp_20k_buf + 1000, comatose(as.current_msg)),
 		    strcpy(tmp_20k_buf + 1500, comatose(mn_get_total(as.msgmap))),
 		    percentage(as.current_line, as.total_lines, 1),
@@ -1342,7 +1342,7 @@
 	  case FileTextPercent :
 	    as.page_column = sc - (14 + 2*(num_len = digit_count(as.total_lines)));
 	    loc_len        = 17 + 2*num_len;
-	    sprintf(tmp_20k_buf, "Line %*ld of %*ld %s    ",
+	    sprintf(tmp_20k_buf, "�� %*ld �� %*ld %s    ",
 		    num_len, as.current_line, 
 		    num_len, as.total_lines,
 		    percentage(as.current_line, as.total_lines, 1));
@@ -1417,7 +1417,7 @@
 		      ss_string);
 	}
 	else{
-	    char *fmt = "Folder: %s%s";
+	    char *fmt = "�H��X�G%s%s";
 	    if(fold_len + ss_len + 8 < avail) 	/* all of folder fit? */
 	      sprintf(fold_tmp, fmt, as.folder_name, ss_string);
 	    else if((fold_len/2) + ss_len + 8 < avail)
@@ -1474,7 +1474,7 @@
 
 	    if(as.style == MsgTextPercent){
 		as.percent_column += delta;
-		PutLine5(0, as.cur_mess_col, "%s of %s %s %s%s",
+		PutLine5(0, as.cur_mess_col, "%s �� %s %s %s%s",
 			 strcpy(tmp_20k_buf + 1000, comatose(as.current_msg)),
 			 strcpy(tmp_20k_buf + 1500,
 				comatose(mn_get_total(as.msgmap))),
@@ -1483,7 +1483,7 @@
 			 repeat_char(max(0, -delta), SPACE));
 	    }
 	    else
-	      PutLine4(0, as.cur_mess_col, "%s of %s %s%s",
+	      PutLine4(0, as.cur_mess_col, "%s �� %s %s%s",
 		       strcpy(tmp_20k_buf + 1000, comatose(as.current_msg)),
 		       strcpy(tmp_20k_buf + 1500,
 			      comatose(mn_get_total(as.msgmap))),
@@ -1610,7 +1610,7 @@
 
     as.current_line = new_line_number;
 
-    sprintf(tmp_20k_buf, "%*ld of %*ld %s    ",
+    sprintf(tmp_20k_buf, "%*ld �� %*ld %s    ",
 	    digit_count(as.total_lines), as.current_line, 
 	    digit_count(as.total_lines), as.total_lines,
 	    percentage(as.current_line, as.total_lines, 0));