diff options
author | Jeremy Bicha <jbicha@debian.org> | 2017-12-16 13:06:04 -0500 |
---|---|---|
committer | Jeremy Bicha <jbicha@debian.org> | 2017-12-16 13:06:04 -0500 |
commit | c5fd821cd582b8d8df624e42c7722a5843ace911 (patch) | |
tree | 571f12c78d287f4c365cda1fb980117176d1167c /help/zh_CN/question.page | |
parent | Update Vcs fields for conversion to git (diff) | |
parent | New upstream version 3.26.0 (diff) | |
download | zenity-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/question.page')
-rw-r--r-- | help/zh_CN/question.page | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/help/zh_CN/question.page b/help/zh_CN/question.page new file mode 100644 index 00000000..95c2ca39 --- /dev/null +++ b/help/zh_CN/question.page @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<page xmlns="http://projectmallard.org/1.0/" type="topic" id="question" xml:lang="zh-CN"> + <info> + <link type="guide" xref="message"/> + <desc>使用 <cmd>--question</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>--question</cmd> 选项创建一个问题对话框。</p> + + <p>下面的脚本示范了如何创建一个问题对话框:</p> + +<code> +#!/bin/bash + +zenity --question \ +--text="您确认要继续吗?" +</code> + + + <figure> + <title>问题对话框范例</title> + <desc><app>Zenity</app> 问题对话框范例</desc> + <media type="image" mime="image/png" src="figures/zenity-question-screenshot.png"/> + </figure> +</page> |