~ubuntu-branches/ubuntu/precise/zenity/precise-updates

« back to all changes in this revision

Viewing changes to help/pt_BR/entry.page

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-03-29 14:50:15 UTC
  • mfrom: (1.1.45)
  • Revision ID: package-import@ubuntu.com-20120329145015-p6jkb44cf19r2qyi
Tags: 3.4.0-0ubuntu1
* New upstream release:
  - Add support for lists and trees with --forms
  - Fix warning reading list from stdin
* debian/zenity-common.install:
  - Doesn't install omf files anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="entry" xml:lang="pt_BR">
 
3
  <info>
 
4
    <link type="guide" xref="index#dialogs"/>
 
5
    <desc>Use the <cmd>--entry</cmd> option.</desc>
 
6
  </info>
 
7
  <title>Diálogo de entrada de texto</title>
 
8
    <p>
 
9
        Use the <cmd>--entry</cmd> option to create a text entry dialog. <app>Zenity</app> returns the contents of the text entry to standard output. 
 
10
    </p>        
 
11
    <p>O diálogo de entrada de texto oferece suporte às seguintes opções:</p>
 
12
 
 
13
    <terms>
 
14
 
 
15
      <item>
 
16
        <title><cmd>--text</cmd>=<var>text</var></title>
 
17
        <p>Especifica o texto que é exibido no diálogo de entrada de texto.</p>
 
18
      </item>
 
19
 
 
20
      <item>
 
21
        <title><cmd>--entry-text</cmd>=<var>text</var></title>
 
22
        <p>Especifica o texto que é exibido no campo de entrada do diálogo de entrada de texto.</p>
 
23
      </item>
 
24
 
 
25
      <item>
 
26
        <title><cmd>--hide-text</cmd></title>
 
27
        <p>Oculta o texto no campo de entrada do diálogo de entrada de texto.</p>
 
28
      </item>
 
29
 
 
30
    </terms>
 
31
 
 
32
    <p>
 
33
      The following example script shows how to create a text entry dialog:
 
34
    </p>
 
35
 
 
36
<code>
 
37
#!/bin/sh
 
38
 
 
39
if zenity --entry \
 
40
--title="Add new profile" \
 
41
--text="Enter name of new profile:" \
 
42
--entry-text "NewProfile"
 
43
  then echo $?
 
44
  else echo "No name entered"
 
45
fi
 
46
</code>
 
47
 
 
48
 
 
49
    <figure id="zenity-entry-screenshot">
 
50
      <title>Exemplo de diálogo de entrada de texto</title>
 
51
      <desc><app>Zenity</app> text entry dialog example</desc>
 
52
      <media type="image" mime="image/png" src="figures/zenity-entry-screenshot.png"/>
 
53
    </figure>
 
54
</page>