summaryrefslogtreecommitdiff
path: root/help/zh_CN/warning.page
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@debian.org>2017-12-16 13:06:04 -0500
committerJeremy Bicha <jbicha@debian.org>2017-12-16 13:06:04 -0500
commitc5fd821cd582b8d8df624e42c7722a5843ace911 (patch)
tree571f12c78d287f4c365cda1fb980117176d1167c /help/zh_CN/warning.page
parentUpdate Vcs fields for conversion to git (diff)
parentNew upstream version 3.26.0 (diff)
downloadzenity-c5fd821cd582b8d8df624e42c7722a5843ace911.tar.gz
zenity-c5fd821cd582b8d8df624e42c7722a5843ace911.tar.bz2
zenity-c5fd821cd582b8d8df624e42c7722a5843ace911.zip
Update upstream source from tag 'upstream/3.26.0'
Update to upstream version '3.26.0' with Debian dir 7b9bef2d6e33af30991a3e59a1c70875d7aa58e2
Diffstat (limited to 'help/zh_CN/warning.page')
-rw-r--r--help/zh_CN/warning.page36
1 files changed, 36 insertions, 0 deletions
diff --git a/help/zh_CN/warning.page b/help/zh_CN/warning.page
new file mode 100644
index 00000000..944e99c1
--- /dev/null
+++ b/help/zh_CN/warning.page
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<page xmlns="http://projectmallard.org/1.0/" type="topic" id="warning" xml:lang="zh-CN">
+ <info>
+ <link type="guide" xref="message"/>
+ <desc>使用 <cmd>--warning</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>--warning</cmd> 选项创建一个警告对话框。</p>
+
+ <p>下面的脚本示范了如何创建一个警告对话框:</p>
+
+<code>
+#!/bin/bash
+
+zenity --warning \
+--text="拔下电源线,避免触电。"
+</code>
+
+ <figure>
+ <title>警告框范例</title>
+ <desc><app>Zenity</app> 警告对话框范例</desc>
+ <media type="image" mime="image/png" src="figures/zenity-warning-screenshot.png"/>
+ </figure>
+</page>
bgstack15