diff options
author | Jeremy Bicha <jbicha@debian.org> | 2021-09-19 08:31:12 -0400 |
---|---|---|
committer | Jeremy Bicha <jbicha@debian.org> | 2021-09-19 08:31:12 -0400 |
commit | 0a9278511b4d4a3b5df9f6232cd0a427b945a630 (patch) | |
tree | 18db516364877f6dd0ebca5a0eddea7b9311b142 /help/zh_CN/entry.page | |
parent | debian/watch: Update for GNOME 40 style version numbering (diff) | |
parent | New upstream version 3.41.0 (diff) | |
download | zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.tar.gz zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.tar.bz2 zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.zip |
Update upstream source from tag 'upstream/3.41.0'
Update to upstream version '3.41.0'
with Debian dir e93fe4af08d9574e6a601a2b0269cc470265904a
Diffstat (limited to 'help/zh_CN/entry.page')
-rw-r--r-- | help/zh_CN/entry.page | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/help/zh_CN/entry.page b/help/zh_CN/entry.page deleted file mode 100644 index 0b9dafdb..00000000 --- a/help/zh_CN/entry.page +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<page xmlns="http://projectmallard.org/1.0/" type="topic" id="entry" xml:lang="zh-CN"> - <info> - <link type="guide" xref="index#dialogs"/> - <desc>使用 <cmd>--entry</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>--entry</cmd> 选项创建一个文本输入对话框。<app>Zenity</app> 将文本框的内容返回到标准输出。</p> - <p>文本输入框支持以下选项:</p> - - <terms> - - <item> - <title><cmd>--text</cmd>=<var>文本</var></title> - <p>指定在文本输入框中显示的文本。</p> - </item> - - <item> - <title><cmd>--entry-text</cmd>=<var>文本</var></title> - <p>指定在文本框的文本域里显示的文本。</p> - </item> - - <item> - <title><cmd>--hide-text</cmd></title> - <p>隐藏文本框中输入的字段内容。</p> - </item> - - </terms> - - <p>下面的脚本示范了如何创建一个文本输入对话框:</p> - -<code> -#!/bin/sh - -if zenity --entry \ ---title="添加新配置" \ ---text="输入新配置的名称:" \ ---entry-text "新配置" - then echo $? - else echo "未输入名称" -fi -</code> - - - <figure> - <title>文本框范例</title> - <desc><app>Zenity</app> 文本对话框范例</desc> - <media type="image" mime="image/png" src="figures/zenity-entry-screenshot.png"/> - </figure> -</page> |