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

« back to all changes in this revision

Viewing changes to help/de/forms.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="forms" xml:lang="de">
 
3
  <info>
 
4
    <link type="guide" xref="index#dialogs"/>
 
5
    <desc>Die Option <cmd>--forms</cmd> verwenden.</desc>
 
6
  </info>
 
7
  <title>Formulardialog</title>
 
8
    <p>Verwenden Sie die Option <cmd>--forms</cmd>, um einen Formulardialog zu erzeugen.</p>
 
9
        
 
10
    <p>Der Formulardialog unterstützt die folgenden Optionen:</p>
 
11
 
 
12
    <terms>
 
13
 
 
14
      <item>
 
15
        <title><cmd>--add-entry</cmd>=<var>Feldname</var></title>
 
16
        <p>Einen neuen Eintrag im Formulardialog hinzufügen.</p>
 
17
      </item>
 
18
 
 
19
      <item>
 
20
        <title>--add-password<cmd/>=<var>Feldname</var></title>
 
21
        <p>Einen neuen Passworteintrag im Formulardialog hinzufügen (Text verbergen).</p>
 
22
      </item>
 
23
 
 
24
      <item>
 
25
        <title><cmd>--add-calendar</cmd>=<var>Feldname</var></title>
 
26
        <p>Einen neuen Kalender im Formulardialog hinzufügen.</p>
 
27
      </item>
 
28
 
 
29
      <item>
 
30
        <title><cmd>--text</cmd>=<var>TEXT</var></title>
 
31
        <p>Den Dialogtext festlegen.</p>
 
32
      </item>
 
33
 
 
34
      <item>
 
35
        <title><cmd>--separator</cmd>=<var>TRENNER</var></title>
 
36
        <p>Das Trennungszeichen für die Ausgabe festlegen (Vorgabe: |).</p>
 
37
      </item>
 
38
 
 
39
      <item>
 
40
        <title><cmd>--forms-date-format</cmd>=<var>MUSTER</var></title>
 
41
        <p>Set the format for the returned date. The default format depends on your locale. format must be a Format that is acceptable to the <cmd>strftime</cmd> function, for example <var>%A %d/%m/%y</var>.</p>
 
42
      </item>
 
43
 
 
44
    </terms>
 
45
 
 
46
    <p>Das folgende Beispielskript zeigt, wie Sie einen Formulardialog erzeugen:</p>
 
47
 
 
48
<code>
 
49
#!/bin/sh
 
50
 
 
51
zenity --forms --title="Add Friend" \
 
52
        --text="Enter information about your friend." \
 
53
        --separator="," \
 
54
        --add-entry="First Name" \
 
55
        --add-entry="Family Name" \
 
56
        --add-entry="Email" \
 
57
        --add-calendar="Birthday" &gt;&gt; addr.csv
 
58
 
 
59
case $? in
 
60
    0)
 
61
        echo "Friend added.";;
 
62
    1)
 
63
        echo "No friend added."
 
64
        ;;
 
65
    -1)
 
66
        echo "An unexpected error has occurred."
 
67
        ;;
 
68
esac
 
69
</code>
 
70
 
 
71
    <figure id="zenity-forms-screenshot">
 
72
      <title>Beispiel für einen Formulardialog</title>
 
73
      <desc>Beispiel für einen Formulardialog in <app>Zenity</app></desc>
 
74
      <media type="image" mime="image/png" src="figures/zenity-forms-screenshot.png"/>
 
75
    </figure>
 
76
</page>