macos:Setup-assistants
出自UXGuide.net
请帮助我们修订和更新本文的中文部分
本文的中文部分虽然取自官方最新中文版本,但与英文原版相比已落后了一年多,可能无法反映英文版本中最近的修改,且文中笔误、前后译法矛盾、未翻译完全的片断较多,请您帮助一起修订完善。详情参见中文版修订完善计划。
配置助手
Setup Assistants
For products with complex setup procedures, a setup assistant can be helpful. A setup assistant is a small application that guides users through the setup options. You store setup assistants in a location where your application can find them, such as inside your application bundle.
对于那些安装过程很复杂的产品来说,一个配置助手是很有必要的。配置助手是指导用户设置安装选项的一个小程序。您应该将配置助手保存在您的程序能够找到的地方,例如您的程序包内部。
Your application should open a setup assistant automatically whenever appropriate—when the system detects a new hardware device or the first time the user opens your application, for example. Ideally, the user should use the assistant only once.
您的程序应该自动的在合适的时候打开配置助手——例如,当系统检测到新的硬件时或者用户第一次启动您的程序时。理想情况下,用户应该只用使用一次配置助手。
The assistant application’s icon should be a combination of the setup assistant icon with your application’s icon superimposed as a badge in the lower-right corner, as shown in Figure 7-1.
配置助手的图标应该是配置图标和您的程序图标拼在一块,如图7-1所示。
Figure 7-1 Examples of assistant icons
图 7-1 配置助手的图标
Figure 7-2 shows the layout for a sample setup assistant window.
图7-2展示了配置助手窗口布局的一个范例。
Figure 7-2 A setup assistant window
图 7-2 配置助手窗口
Keep the following guidelines in mind when designing a setup assistant:
在设计配置助手时谨记如下准则:
- While the assistant is active, display only the application menu (containing About and Quit items) and the Edit menu (containing standard items to assist users in entering text). Don’t provide a Help menu (or a Help button); the setup assistant is help.
- 在配置助手启动后,仅显示程序菜单(包括”关于“和”退出”菜单项),编辑菜单(包括一些标准菜单项以帮助用户输入文本)。不要提供帮助菜单(或者帮助按钮);配置助手本身就是帮助。
- Provide Go Back and Continue buttons for navigation.
- 提供“继续”和“返回”按钮。
- The assistant window title bar should contain a dimmed close button, an available minimize button, and a dimmed zoom button.
- 配置助手的窗口标题栏应该包含一个关闭按钮,一个最小化按钮以及一个最大化按钮。
- Title the first pane “Introduction.” This pane should explain the purpose of subsequent panes.
- 第一个面板标题应该是"介绍“,该面板对随后的面板进行介绍。
- Title the last pane “Conclusion.” This pane should tell users what changes were made to their system and how to modify those settings. This pane should have a default Done button and a dimmed Go Back button.
- 最后一个面板标题应该是”结果“。该面板用该告诉用户他们的系统已经做了什么改变以及怎样改变这些设置。该面板应该有返回按钮。
- In most cases, it’s best to ask only one question per pane.
- 在大部分情况下,每个面板应该只包含一个问题。
- Whenever appropriate, use selection controls that do not support the empty selection to avoid having to ask for the same information more than once.
- 如果合适的话,尽可能的用不支持空选择的选择控件来避免不得不多次询问同样的信息。
- Avoid displaying an asterisk or custom icon next to each required text field. Instead, check for empty text fields when the user clicks Continue. If there are any, return to the current pane and display the asterisk or other marker next to the empty text fields.
- 避免在每个需要输入的文本框后使用星号或者定制图标,而是在用户点击”继续“按钮时检查空的文本框。如果有的话,返再回到现在面板并在文本框后面使用星号或者别的标记。
- As much as possible, use system applications and services to provide intelligent default choices to the user. For example, you should use Bonjour to determine an appropriate IP address.
- 尽可能的使用系统程序和服务来提供对用户合适的选项。例如,您可以使用Bonjour来决定合适的IP地址。
- Limit the total number of questions to the minimum required to get the job done. The best setup assistant gets users up and running as soon as possible, allowing the main application to present the user with opportunities to refine preferences and settings.
- 限制问题的数量。良好的配置助手应该让用户尽可能快的运行程序,并且在主程序中也能够重新定义配置和设定。
- Provide relevant feedback when appropriate. If needed, you can display a progress bar next to the Go Back button (aligning the progress bar’s left edge with the left edge of the pane).
- 如果合适的话提供相关的反馈,如果需要的话,您可以在点击”返回“按钮后显示一个进度条(该进度条和配置面板左对齐)。
- Don’t fill the entire screen; users should be able to access other parts of their system while the assistant is open.
- 不要充满整个屏幕。配置助手打开时用户应该够使用系统的其他程序。