diff options
Diffstat (limited to 'chinese/pine4/files/patch-be')
-rw-r--r-- | chinese/pine4/files/patch-be | 69 |
1 files changed, 44 insertions, 25 deletions
diff --git a/chinese/pine4/files/patch-be b/chinese/pine4/files/patch-be index 0beea920d4ab..17358845e570 100644 --- a/chinese/pine4/files/patch-be +++ b/chinese/pine4/files/patch-be @@ -1,6 +1,6 @@ ---- pine/newmail.c.orig Sat Aug 22 10:33:02 1998 -+++ pine/newmail.c Tue Sep 22 19:22:59 1998 -@@ -301,38 +301,28 @@ +--- pine/newmail.c.orig Sat Oct 9 00:46:59 1999 ++++ pine/newmail.c Thu Oct 14 12:19:31 1999 +@@ -314,24 +314,15 @@ ENVELOPE *e; char subject[200], from[2*MAX_SCREEN_COLS], intro[MAX_SCREEN_COLS+1]; @@ -17,37 +17,19 @@ - "with regard to", - "subject:" + static char *carray[] = { "關於", -+ "有關" ++ "有關", ++ "標題為:" }; e = mail_fetchstructure(stream, max_num, NULL); - if(!folder) { - if(number > 1) -- sprintf(intro, "%ld new messages!", number); -+ sprintf(intro, "%ld 封新信件!", number); - else -- sprintf(intro, "New mail%s!", -- (e && address_is_us(e->to, ps_global)) ? " to you" : ""); -+ sprintf(intro, "%s新信!", -+ (e && address_is_us(e->to, ps_global)) ? "您有" : ""); - } - else { - if(number > 1) -- sprintf(intro,"%ld messages saved to folder \"%s\"", number, folder); -+ sprintf(intro,"%ld 封信件被存至資料匣 \"%s\"", number, folder); - else -- sprintf(intro, "Mail saved to folder \"%s\"", folder); -+ sprintf(intro, "信件被存至資料匣 \"%s\"", folder); - } - if(e && e->from){ - sprintf(from, " %srom ", (number > 1L) ? "Most recent f" : "F"); -+ sprintf(from, "%s自", (number > 1L) ? "最近來" : "來"); ++ sprintf(from, " %srom ", (number > 1L) ? "最近來" : "來"); if(e->from->personal) istrncpy(from + ((number > 1L) ? 18 : 6), (char *) rfc1522_decode((unsigned char *) tmp_20k_buf, -@@ -349,13 +339,13 @@ +@@ -348,13 +339,13 @@ if(number <= 1L) { if(e && e->subject){ @@ -63,3 +45,40 @@ if(!from[0]) subject[1] = toupper((unsigned char)subject[1]); +@@ -364,29 +355,29 @@ + + if(!folder) { + if(number > 1) +- sprintf(intro, "%ld new messages!", number); ++ sprintf(intro, "%ld 封新信件!", number); + else +- sprintf(intro, "New mail%s!", +- (e && address_is_us(e->to, ps_global)) ? " to you" : ""); ++ sprintf(intro, "%s新信!", ++ (e && address_is_us(e->to, ps_global)) ? "您有" : ""); + } + else { + long fl, tot, newfl; + + if(number > 1) +- sprintf(intro, "%ld messages saved to folder \"%s\"", number, ++ sprintf(intro, "%ld 封信件被存至資料匣 \"%s\"", number, + folder); + else +- sprintf(intro, "Mail saved to folder \"%s\"", folder); ++ sprintf(intro, "信件被存至資料匣 \"%s\"", folder); + + if((fl=strlen(folder)) > 10 && + (tot=strlen(intro) + strlen(from) + strlen(subject)) > + ps_global->ttyo->screen_cols - 2){ + newfl = max(10, fl-(tot-(ps_global->ttyo->screen_cols - 2))); + if(number > 1) +- sprintf(intro, "%ld messages saved to folder \"...%s\"", number, ++ sprintf(intro, "%ld 封信件被存至資料匣 \"...%s\"", number, + folder+(fl-(newfl-3))); + else +- sprintf(intro, "Mail saved to folder \"...%s\"", ++ sprintf(intro, "信件被存至資料匣 \"...%s\"", + folder+(fl-(newfl-3))); + } + } |