【学习心得】Error and Warning Messages (I)

最近在review error and warning messages, 在修订过程中,重温【经验谈】 Error Message设计三要素;并且再次通读了微软的Messages写作Guidlines,心得:
1. warning message的编写与error message有所不同。Error messages alert users of problems that have already occurred. In contrast, warning messages alert users of conditions that might cause problems in the future. To determine the appropriate message type, focus on the most important aspect of the issue that users need to know or act upon. Typically, if an issue blocks the user from proceeding, you should present it as an error; if the user can proceed, present it as a warning.
2. 在编写时,message的呈现形式不同,message的写法有所不同。
3. 要思考,要不断把自己放在用户的角度去揣摩,不能僵化使用PCS三元素。不一定这三个元素逐一列出,有些情况下,P与C放在一起讲,S单独一行。
4. 用词方面的一些注意事项。
在此,我摘录一些对我有启示的内容。

Guidelines

Error Messages in Windows 7

Warning Messages

Keys to good messages

Good error messages are presented in a way that is:

Relevant. The message presents a problem that users care about.

Actionable. Users should either perform an action or change their behavior as the result of the message.

User-centered. The message describes the problem in terms of target user actions or goals, not in terms of what the code is unhappy with.

Brief. The message is as short as possible but no shorter.

Clear. The message uses plain language so that the target users can easily understand the problem and solution.

Specific. The message describes the problem using specific language, giving specific names, locations, and values of the objects involved.

Courteous. Users shouldn't be blamed or made to feel stupid.

Rare. Displayed infrequently. Frequently displayed error messages are a sign of bad design.

Text

User-centered

- Clear, Brief, Specific

-  Don't use the following words:

Error, failure (use problem instead)

Failed to (use unable to instead)

Illegal, invalid, bad (use incorrect instead)

Abort, kill, terminate (use stop instead)

Catastrophic, fatal (use serious instead)

- Courteous

- Use double quotation marks around object names. Doing so makes the text easier to parse and avoids potentially embarrassing statements.

        Exception: Fully qualified file paths, URLs, and domain names don't need to be in double quotation marks.

-  Avoid putting full file paths and URLs in the main instruction. Rather, use a short name (such as the file name) and put the full name (such as the file path) in the supplemental instruction. However, you can put a single full file path or URL in the main instruction if the error message doesn't otherwise need a supplemental instruction.

Main instruction templates

While there are no strict rules for phrasing, try using the following main instruction templates whenever possible:

[optional subject name] can't [perform action]

[optional subject name] can't [perform action] because [reason]

[optional subject name] can't [perform action] to "[object name]"

[optional subject name] can't [perform action] to "[object name]" because [reason]

There is not enough [resource] to [perform action]

[Subject name] doesn't have a [object name] required for [purpose]

[Device or setting] is turned off so that [undesired results]

[Device or setting] isn't [available | found | turned on | enabled]

"[object name]" is currently unavailable

The user name or password is incorrect

You don't have permission to access "[object name]"

You don't have privilege to [perform action]

[program name] has experienced a serious problem and must close immediately


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 224,815评论 6 522
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 96,251评论 3 402
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 171,999评论 0 366
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 60,996评论 1 300
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 69,993评论 6 400
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 53,477评论 1 314
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 41,848评论 3 428
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 40,823评论 0 279
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 47,361评论 1 324
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 39,401评论 3 346
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 41,518评论 1 354
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 37,119评论 5 351
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 42,850评论 3 338
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 33,292评论 0 25
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 34,424评论 1 275
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 50,072评论 3 381
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 46,588评论 2 365

推荐阅读更多精彩内容