help/C/zenity.xml help/C/zenity-C.omf

2004-08-18  Breda McColgan <breda.mccolgan@sun.com>

	* Updated the following files:
		* help/C/zenity.xml
		* help/C/zenity-C.omf
		* help/C/figures/zenity-calendar-screenshot.png
		* help/C/figures/zenity-entry-screenshot.png
		* help/C/figures/zenity-error-screenshot.png
		* help/C/figures/zenity-fileselection-screenshot.png
		* help/C/figures/zenity-information-screenshot.png
		* help/C/figures/zenity-list-screenshot.png
		* help/C/figures/zenity-progress-screenshot.png
		* help/C/figures/zenity-question-screenshot.png
		* help/C/figures/zenity-text-screenshot.png
		* help/C/figures/zenity-warning-screenshot.png

	* Added the following files:
		* help/C/l10n.txt
		* help/C/l10n_scripts/
		* help/C/l10n_scripts/calendar.sh
		* help/C/l10n_scripts/cvs.txt
		* help/C/l10n_scripts/error.sh
		* help/C/l10n_scripts/filesel.sh
		* help/C/l10n_scripts/info.sh
		* help/C/l10n_scripts/list.sh
		* help/C/l10n_scripts/progress.sh
		* help/C/l10n_scripts/question.sh
		* help/C/l10n_scripts/text_entry.sh
		* help/C/l10n_scripts/text_info.sh
		* help/C/l10n_scripts/warning.sh
	  See the help/C/l10n.txt file for information about l10n_scripts.
This commit is contained in:
Breda McColgan 2004-08-18 18:10:27 +00:00 committed by Breda McColgan
parent d0a47f0b43
commit 3a3a047a71
25 changed files with 891 additions and 562 deletions

View File

@ -1,3 +1,35 @@
2004-08-18 Breda McColgan <breda.mccolgan@sun.com>
* Updated the following files:
* help/C/zenity.xml
* help/C/zenity-C.omf
* help/C/figures/zenity-calendar-screenshot.png
* help/C/figures/zenity-entry-screenshot.png
* help/C/figures/zenity-error-screenshot.png
* help/C/figures/zenity-fileselection-screenshot.png
* help/C/figures/zenity-information-screenshot.png
* help/C/figures/zenity-list-screenshot.png
* help/C/figures/zenity-progress-screenshot.png
* help/C/figures/zenity-question-screenshot.png
* help/C/figures/zenity-text-screenshot.png
* help/C/figures/zenity-warning-screenshot.png
* Added the following files:
* help/C/l10n.txt
* help/C/l10n_scripts/
* help/C/l10n_scripts/calendar.sh
* help/C/l10n_scripts/cvs.txt
* help/C/l10n_scripts/error.sh
* help/C/l10n_scripts/filesel.sh
* help/C/l10n_scripts/info.sh
* help/C/l10n_scripts/list.sh
* help/C/l10n_scripts/progress.sh
* help/C/l10n_scripts/question.sh
* help/C/l10n_scripts/text_entry.sh
* help/C/l10n_scripts/text_info.sh
* help/C/l10n_scripts/warning.sh
See the help/C/l10n.txt file for information about l10n_scripts.
2004-08-17 Glynn Foster <glynn.foster@sun.com>
* src/about.c: Add translator comment from Christian Rose,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 11 KiB

88
help/C/l10n.txt Executable file
View File

@ -0,0 +1,88 @@
Zenity Manual V2.0
------------------------
SUMMARY OF CHANGES
------------------------
Created by: Breda McColgan
Date: July 2004
Manual version: 2.0
------------------------
SCREENSHOT INSTRUCTIONS
------------------------
To create the screenshots, perform the following steps:
1. Create a directory called /tmp/l10n_scripts.
2. Copy the scripts to the /tmp/l10n_scripts directory.
3. Edit the appropriate script (see below)
to replace the English text with the localised text, where applicable.
4. Ensure that all scripts are executable.
If necessary, run the following command:
chmod +x <script-name>
5. Run the script from the /tmp/l10n_scripts directory, as follows:
cd /tmp/l10n_scripts
. ./<script-name>
zenity-calendar-screenshot.png
==============================
<script-name> = calendar.sh
zenity-entry-screenshot.png
===========================
<script-name> = text_entry.sh
zenity-error-screenshot.png
===========================
<script-name> = error.sh
zenity-fileselection-screenshot.png
===================================
<script-name> = file_sel.sh
zenity-information-screenshot.png
=================================
<script-name> = info.sh
zenity-list-screenshot.png
==========================
<script-name> = list.sh
zenity-progress-screenshot.png
==============================
<script-name> = progress.sh
zenity-question-screenshot.png
==============================
<script-name> = question.sh
zenity-text-screenshot.png
==========================
<script-name> = text_info.sh
Select cvs.txt from the File Selector dialog.
Resize the window so that only the text appears -- no blank space.
zenity-warning-screenshot.png
=============================
<script-name> = warning.sh

10
help/C/l10n_scripts/calendar.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
if zenity --calendar \
--title="Select a Date" \
--text="Click on a date to select that date." \
--day=10 --month=8 --year=2004
then echo $?
else echo "No date selected"
fi

51
help/C/l10n_scripts/cvs.txt Executable file
View File

@ -0,0 +1,51 @@
Getting the most out of CVS in GNOME
====================================
Introductory Beginnings-
Current Versions System, CVS, is a powerful
method of allowing many developers
to work on the same source code. It is used

4
help/C/l10n_scripts/error.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
zenity --error \
--text="Could not find /var/log/syslog."

13
help/C/l10n_scripts/filesel.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
FILE=`zenity --file-selection --title="Select a File"`
case $? in
0)
echo "\"$FILE\" selected.";;
1)
echo "No file selected.";;
-1)
echo "No file selected.";;
esac

4
help/C/l10n_scripts/info.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
zenity --info \
--text="Merge complete. Updated 3 of 10 files."

8
help/C/l10n_scripts/list.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
zenity --list \
--title="Choose the Bugs You Wish to View" \
--column="Bug Number" --column="Severity" --column="Description" \
992383 Normal "GtkTreeView crashes on multiple selections" \
293823 High "GNOME Dictionary does not handle proxy" \
393823 Critical "Menu editing does not work in GNOME 2.0"

18
help/C/l10n_scripts/progress.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
(
echo "10" ; sleep 1
echo "# Updating mail logs" ; sleep 1
echo "20" ; sleep 1
echo "# Resetting cron jobs" ; sleep 1
echo "50" ; sleep 1
echo "This line will just be ignored" ; sleep 1
echo "75" ; sleep 1
echo "# Rebooting system" ; sleep 1
echo "100" ; sleep 1
) |
zenity --progress --title="Update System Logs" --text="Scanning mail logs..." --percentage=0
if [ "$?" = -1 ] ; then
zenity --error --text="Update cancelled."
fi

View File

@ -0,0 +1,4 @@
#!/bin/bash
zenity --question \
--text="Are you sure you wish to proceed?"

View File

@ -0,0 +1,11 @@
#!/bin/sh
if zenity --entry \
--title="Add an Entry" \
--text="Enter your _password:" \
--entry-text "password" \
--hide-text
then echo $?
else echo "No password entered"
fi

View File

@ -0,0 +1,17 @@
#!/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

4
help/C/l10n_scripts/warning.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
zenity --warning \
--text="Disconnect the power cable to avoid electrical shock."

View File

@ -2,33 +2,25 @@
<omf>
<resource>
<creator>
Glynn Foster &lt;glynn.foster@sun.com&gt;
Sun Java Desktop System Documentation Team
</creator>
<maintainer>
Glynn Foster &lt;glynn.foster@sun.com&gt;
Sun Java Desktop System Documentation Team
</maintainer>
<!--
<title>
Zenity Manual V1.0
</title>
-->
<title>
Zenity
</title>
<date>
2003-15-01
2004-08-17
</date>
<subject category="GNOME|Utilities"/>
<version identifier="2.0" date="2004-08-17" description="Updated for Sun Java Desktop System Release 3, program version 2.6.0"/>
<subject category="GNOME|Desktop"/>
<description>
User manual for Zenity.
User manual for the Zenity desktop application.
</description>
<type>
user's guide
</type>
<format mime="text/xml" dtd="-//OASIS//DTD DocBook XML V4.1.2//EN"/>
<identifier url="zenity.xml"/>
<language code="C"/>

File diff suppressed because it is too large Load Diff