summaryrefslogtreecommitdiff
path: root/help/zh_CN/error.page
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@debian.org>2017-12-16 13:06:02 -0500
committerJeremy Bicha <jbicha@debian.org>2017-12-16 13:06:02 -0500
commitf821adc6c1844f3dbd59a5c51bb68fb80f295aa0 (patch)
tree28ff6652502c6adc1b661e0eb4dd3a8adbf60404 /help/zh_CN/error.page
parentInitial upstream branch (diff)
parentRelease: Prepare for 3.26.0 (diff)
downloadzenity-f821adc6c1844f3dbd59a5c51bb68fb80f295aa0.tar.gz
zenity-f821adc6c1844f3dbd59a5c51bb68fb80f295aa0.tar.bz2
zenity-f821adc6c1844f3dbd59a5c51bb68fb80f295aa0.zip
New upstream version 3.26.0
Diffstat (limited to 'help/zh_CN/error.page')
-rw-r--r--help/zh_CN/error.page37
1 files changed, 37 insertions, 0 deletions
diff --git a/help/zh_CN/error.page b/help/zh_CN/error.page
new file mode 100644
index 00000000..8577ef5b
--- /dev/null
+++ b/help/zh_CN/error.page
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<page xmlns="http://projectmallard.org/1.0/" type="topic" id="error" xml:lang="zh-CN">
+ <info>
+ <link type="guide" xref="message"/>
+ <desc>使用 <cmd>--error</cmd> 选项。</desc>
+
+ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
+ <mal:name>TeliuTe</mal:name>
+ <mal:email>teliute@163.com</mal:email>
+ <mal:years>2010</mal:years>
+ </mal:credit>
+
+ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
+ <mal:name>tuhaihe</mal:name>
+ <mal:email>1132321739qq@gmail.com</mal:email>
+ <mal:years>2012</mal:years>
+ </mal:credit>
+ </info>
+ <title>错误框</title>
+ <p>使用 <cmd>--error</cmd> 选项创建一个错误对话框。</p>
+
+ <p>下面的脚本示范了如何创建一个错误对话框:</p>
+
+<code>
+#!/bin/bash
+
+zenity --error \
+--text="找不到 /var/log/syslog。"
+</code>
+
+
+ <figure>
+ <title>错误框范例</title>
+ <desc><app>Zenity</app> 错误对话框范例</desc>
+ <media type="image" mime="image/png" src="figures/zenity-error-screenshot.png"/>
+ </figure>
+</page>
bgstack15