|
251.
|
|
|
Use the <option>--text-info</option> option to create a text information dialog.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/zenity.xml:1138(para)
|
|
252.
|
|
|
The text information dialog supports the following options:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/zenity.xml:1142(para)
|
|
253.
|
|
|
Specifies a file that is loaded in the text information dialog.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/zenity.xml:1151(para)
|
|
254.
|
|
|
Allows the displayed text to be edited. The edited text is returned to standard output when the dialog is closed.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/zenity.xml:1158(para)
|
|
255.
|
|
|
#!/bin/sh
FILE=`zenity --file-selection \
--title="Select a File"`
case $? in
0)
zenity --text-info \
--title=$FILE \
--filename=$FILE \
--editable 2>/tmp/tmp.txt;;
1)
echo "No file selected.";;
-1)
echo "No file selected.";;
esac
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/zenity.xml:1166(programlisting)
|
|
256.
|
|
|
The following example script shows how to create a text information dialog: <placeholder-1/>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/zenity.xml:1164(para)
|
|
257.
|
|
|
Text Information Dialog Example
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/zenity.xml:1188(title)
|
|
258.
|
|
|
<placeholder-1/> text information dialog example
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/zenity.xml:1195(phrase)
|
|
259.
|
|
|
translator-credits
|
|
|
Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2
|
|
|
|
To prevent privacy issues, this translation is not
available to anonymous users,
if you want to see it, please, log in
first.
|
|
Located in
C/zenity.xml:0(None)
|