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

« back to all changes in this revision

Viewing changes to help/bg/usage.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="usage" xml:lang="bg">
 
3
<info>
 
4
  <link type="guide" xref="index"/>
 
5
  <desc>You can use <app>Zenity</app> to create simple dialogs that interact graphically with the user.</desc>
 
6
</info>
 
7
<title>Употреба</title>
 
8
    <p>
 
9
        When you write scripts, you can use <app>Zenity</app> to create simple dialogs that interact graphically with the user, as follows:
 
10
    </p>
 
11
    <list>
 
12
      <item>
 
13
        <p>Може да създавате прозорци, които да изискват информация от потребителя. Примерно, може да питате потребителя да изберете дата от календарен прозорец или да избере файл от прозорец за избор на файл.</p>
 
14
      </item>
 
15
      <item>
 
16
        <p>Може да създавате прозорци, които да предоставят информация на потребителя. Примерно, може да използвате прозорец за прогрес, за да покажете текущото състояние на операция или да използвате предупредително съобщение, за да сигнализирате за нещо на потребителя.</p>
 
17
      </item>
 
18
    </list>
 
19
    <p>
 
20
        When the user closes the dialog, <app>Zenity</app> prints the text produced by the dialog to standard output.
 
21
    </p>
 
22
 
 
23
    <note>
 
24
      <p>
 
25
        When you write <app>Zenity</app> commands, ensure that you place quotation marks around each argument. 
 
26
      </p>
 
27
      <p>For example, use:</p>
 
28
      <screen>zenity --calendar --title="Holiday Planner"</screen>
 
29
      <p>Do not use:</p>
 
30
      <screen>zenity --calendar --title=Holiday Planner</screen>
 
31
      <p>Ако не използвате кавички, може да получите неочаквани резулати.</p>
 
32
    </note>
 
33
 
 
34
    <section id="zenity-usage-mnemonics">
 
35
      <title>Бързи клавиши</title>
 
36
        <p>Бързият клавиш е клавиш, който Ви позволява да извършвате действие от клавиатурата без да използвате мишката, за да изберете командата от менюто или прозореца. Всеки бърз клавиш се идентифицира от подчертана буква в менюто или прозореца.</p>
 
37
        <p>
 
38
          Some <app>Zenity</app> dialogs support the use of access keys. To specify the character to use as the access key, place an underscore before that character in the text of the dialog. The following example shows how to specify the letter 'C' as the access key:
 
39
        </p>
 
40
        <screen><input>"_Изберете име".</input></screen>
 
41
    </section>
 
42
 
 
43
    <section id="zenity-usage-exitcodes">
 
44
      <title>Изходни кодове</title>
 
45
    <p>
 
46
        Zenity returns the following exit codes:
 
47
    </p>
 
48
 
 
49
    <table frame="all" rules="all">
 
50
        <thead>
 
51
          <tr valign="top">
 
52
            <td colname="COLSPEC0">
 
53
              <p>Изходен код</p></td>
 
54
            <td colname="COLSPEC1">
 
55
              <p>Описание</p></td>
 
56
          </tr>
 
57
        </thead>
 
58
        <tbody>
 
59
          <tr valign="top">
 
60
            <td>
 
61
              <p><var>0</var></p>
 
62
            </td>
 
63
            <td>
 
64
              <p>The user has pressed either <gui style="button">OK</gui> or <gui style="button">Close</gui>.</p>
 
65
            </td>
 
66
          </tr>
 
67
          <tr valign="top">
 
68
            <td>
 
69
              <p><var>1</var></p>
 
70
            </td>
 
71
            <td>
 
72
              <p>The user has either pressed <gui style="button">Cancel</gui>, or used the window functions to close the dialog.</p>
 
73
            </td>
 
74
          </tr>
 
75
          <tr valign="top">
 
76
            <td>
 
77
              <p><var>-1</var></p>
 
78
            </td>
 
79
            <td>
 
80
              <p>Възникнала е неочаквана грешка.</p>
 
81
            </td>
 
82
          </tr>
 
83
          <tr valign="top">
 
84
            <td>
 
85
              <p><var>5</var></p>
 
86
            </td>
 
87
            <td>
 
88
              <p>The dialog has been closed because the timeout has been reached.</p>
 
89
            </td>
 
90
          </tr>
 
91
        </tbody>
 
92
    </table>
 
93
 
 
94
    </section>
 
95
 
 
96
 
 
97
  <!-- ==== General Options ====== -->
 
98
 
 
99
  <section id="zenity-usage-general-options">
 
100
    <title>Общи настройки</title>
 
101
 
 
102
    <p>
 
103
        All Zenity dialogs support the following general options:
 
104
    </p>
 
105
 
 
106
    <terms>
 
107
 
 
108
      <item>
 
109
        <title><cmd>--title</cmd>=<var>title</var></title>
 
110
        <p>Определя заглавието на прозореца.</p>
 
111
      </item>
 
112
 
 
113
      <item>
 
114
        <title><cmd>--window-icon</cmd>=<var>icon_path</var></title>
 
115
        <p>Определя иконата, която ще се показва в рамката на прозореца. Има 4 генерални икони, които са налични чрез доставяне на следните ключови думи - 'info', warning', 'question' и 'error'.</p>
 
116
      </item>
 
117
 
 
118
      <item>
 
119
        <title><cmd>--width</cmd>=<var>width</var></title>
 
120
        <p>Определя ширината на прозореца.</p>
 
121
      </item>
 
122
 
 
123
      <item>
 
124
        <title><cmd>--height</cmd>=<var>height</var></title>
 
125
        <p>Определя височината на прозореца.</p>
 
126
      </item>
 
127
 
 
128
      <item>
 
129
        <title><cmd>--timeout</cmd>=<var>timeout</var></title>
 
130
        <p>Specifies the timeout in seconds after which the dialog is closed.</p>
 
131
      </item>
 
132
 
 
133
    </terms>
 
134
 
 
135
  </section>
 
136
 
 
137
<!-- ==== Miscellaneous Options ====== -->
 
138
 
 
139
  <section id="zenity-help-options">
 
140
    <title>Настройки на помощта</title>
 
141
 
 
142
    <p>
 
143
        Zenity provides the following help options:
 
144
    </p>
 
145
 
 
146
    <terms>
 
147
 
 
148
      <item>
 
149
        <title><cmd>--help</cmd></title>
 
150
        <p>Показва скъсен текст за помощ.</p>
 
151
      </item>
 
152
 
 
153
      <item>
 
154
        <title><cmd>--help-all</cmd></title>
 
155
        <p>Показва пълния текст за помощ за всички прозорци.</p>
 
156
      </item>
 
157
 
 
158
      <item>
 
159
        <title><cmd>--help-general</cmd></title>
 
160
        <p>Показва помощния текст за общите настройки.</p>
 
161
      </item>
 
162
 
 
163
      <item>
 
164
        <title><cmd>--help-calendar</cmd></title>
 
165
        <p>Показва помощния текст за календарните настройки.</p>
 
166
      </item>
 
167
 
 
168
      <item>
 
169
        <title><cmd>--help-entry</cmd></title>
 
170
        <p>Показва помощния текст за настройки по текстовите полета.</p>
 
171
      </item>
 
172
 
 
173
      <item>
 
174
        <title><cmd>--help-error</cmd></title>
 
175
        <p>Показва помощния текст за настройките за грешка.</p>
 
176
      </item>
 
177
 
 
178
      <item>
 
179
        <title><cmd>--help-info</cmd></title>
 
180
        <p>Показва помощния текст за настройките на прозорци за информация.</p>
 
181
      </item>
 
182
 
 
183
      <item>
 
184
        <title><cmd>--help-file-selection</cmd></title>
 
185
        <p>Показва помощния текст за настройките на прозорци за избор на файл.</p>
 
186
      </item>
 
187
 
 
188
      <item>
 
189
        <title><cmd>--help-list</cmd></title>
 
190
        <p>Показва помощния текст за настройките на списъчните прозорци.</p>
 
191
      </item>
 
192
 
 
193
      <item>
 
194
        <title><cmd>--help-notification</cmd></title>
 
195
        <p>Показва помощния текст за настройките на иконата за уведомяване.</p>
 
196
      </item>
 
197
 
 
198
      <item>
 
199
        <title><cmd>--help-progress</cmd></title>
 
200
        <p>Показва помощния текст за настройките на прогреса.</p>
 
201
      </item>
 
202
 
 
203
      <item>
 
204
        <title><cmd>--help-question</cmd></title>
 
205
        <p>Показва помощния текст за настройките за прозорците за въпроси.</p>
 
206
      </item>
 
207
 
 
208
      <item>
 
209
        <title><cmd>--help-warning</cmd></title>
 
210
        <p>Показва помощния текст за настройките за предупредителните прозорци.</p>
 
211
      </item>
 
212
 
 
213
      <item>
 
214
        <title><cmd>--help-text-info</cmd></title>
 
215
        <p>Показва помощния текст за настройките на текстовата информация.</p>
 
216
      </item>
 
217
 
 
218
      <item>
 
219
        <title><cmd>--help-misc</cmd></title>
 
220
        <p>Показва помощта за допълнителните настройки.</p>
 
221
      </item>
 
222
 
 
223
      <item>
 
224
        <title><cmd>--help-gtk</cmd></title>
 
225
        <p>Показва помощта за GTK+ настройките.</p>
 
226
      </item>
 
227
 
 
228
    </terms>
 
229
 
 
230
  </section>
 
231
 
 
232
<!-- ==== Miscellaneous Options ====== -->
 
233
 
 
234
  <section id="zenity-miscellaneous-options">
 
235
    <title>Допълнителни настройки</title>
 
236
 
 
237
    <p>
 
238
        Zenity also provides the following miscellaneous options:
 
239
    </p>
 
240
 
 
241
    <terms>
 
242
 
 
243
      <item>
 
244
        <title><cmd>--about</cmd></title>
 
245
        <p>Displays the <gui>About Zenity</gui> dialog, which contains Zenity version information, copyright information, and developer information.</p>
 
246
      </item>
 
247
 
 
248
      <item>
 
249
        <title><cmd>--version</cmd></title>
 
250
        <p>Displays the version number of Zenity.</p>
 
251
      </item>
 
252
 
 
253
    </terms>
 
254
 
 
255
  </section>
 
256
 
 
257
<!-- ==== GTK+ Options ====== -->
 
258
 
 
259
  <section id="zenity-gtk-options">
 
260
    <title>GTK+ настройки</title>
 
261
 
 
262
    <p>
 
263
        Zenity supports the standard GTK+ options. For more information about the GTK+ options, execute the <cmd>zenity --help-gtk</cmd> command.
 
264
    </p>
 
265
 
 
266
  </section>
 
267
 
 
268
<!-- ==== Environment variables ==== -->
 
269
 
 
270
  <section id="zenity-environment-variables">
 
271
    <title>Environment Variables</title>
 
272
 
 
273
    <p>
 
274
      Normally, Zenity detects the terminal window from which it was launched
 
275
      and keeps itself above that window.  This behavior can be disabled by
 
276
      unsetting the <var>WINDOWID</var> environment variable.
 
277
    </p>
 
278
 
 
279
  </section>
 
280
</page>