From 300810121e0378048433fbb92b9c9faab40c6ad8 Mon Sep 17 00:00:00 2001
From: piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>
Date: Tue, 9 Sep 2014 08:17:22 +0000
Subject: Revise editor SAVE messages.

git-svn-id: http://opensvn.csie.org/pttbbs/trunk@6071 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
---
 pttbbs/mbbsd/edit.c | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

diff --git a/pttbbs/mbbsd/edit.c b/pttbbs/mbbsd/edit.c
index 806f8ee2..536472e2 100644
--- a/pttbbs/mbbsd/edit.c
+++ b/pttbbs/mbbsd/edit.c
@@ -1917,14 +1917,26 @@ write_file(const char *fpath, int saveheader, int *islocal, char mytitle[STRLEN]
     upload = 1;
 #endif // EDIT_UPLOAD_ALLOWALL
 
-    // common trail
-    if (flags & EDITFLAG_ALLOW_LOCAL) {
-        if (local_article)
-            outs("[L]�x�s (S)�x�s+��H");
-        else
-            outs("[S]�x�s+��H (L)�x�s");
-    } else {
-	outs("[S]�x�s");
+    {
+        const char *msgSave = "�x�s";
+
+        if (flags & (EDITFLAG_KIND_NEWPOST |
+                     EDITFLAG_KIND_REPLYPOST)) {
+            msgSave = "�o��";
+        } else if (flags & (EDITFLAG_KIND_SENDMAIL |
+                            EDITFLAG_KIND_MAILLIST)) {
+            msgSave = "�o�H";
+        }
+
+        // common trail
+        if (flags & EDITFLAG_ALLOW_LOCAL) {
+            if (local_article)
+                prints("[L]%s (S)%s+��H", msgSave, msgSave);
+            else
+                prints("[S]%s+��H (L)%s", msgSave, msgSave);
+        } else {
+            prints("[S]%s", msgSave);
+        }
     }
 
 #ifdef EXP_EDIT_UPLOAD
-- 
cgit v1.2.3