/s/label/_label, /s/low-label/_low-label/, /s/high-label/_high-label/ &&

2001-07-18  Carlos Perell Marn <carlos@gnome-db.org>

	* screensavers/*.xml: /s/label/_label, /s/low-label/_low-label/,
	/s/high-label/_high-label/ && removed the i18n section.
This commit is contained in:
Carlos Perell Marn 2001-07-18 09:47:30 +00:00 committed by Carlos Perelló Marín
parent 2f61b51ea6
commit e7c670aa05
2 changed files with 12 additions and 18 deletions

View file

@ -1,3 +1,8 @@
2001-07-18 Carlos Perelló Marín <carlos@gnome-db.org>
* screensavers/*.xml: /s/label/_label, /s/low-label/_low-label/,
/s/high-label/_high-label/ && removed the i18n section.
2001-07-18 Chema Celorio <chema@celorio.com> 2001-07-18 Chema Celorio <chema@celorio.com>
* screensaver.desktop.in.in: use the right binary name * screensaver.desktop.in.in: use the right binary name
@ -14,6 +19,7 @@
* Makefile.am (SUBDIRS): clean * Makefile.am (SUBDIRS): clean
>>>>>>> 1.38
2001-07-17 Bradford Hovinen <hovinen@ximian.com> 2001-07-17 Bradford Hovinen <hovinen@ximian.com>
* Makefile.am (EXTRA_DIST): Changed Applications_DATA to * Makefile.am (EXTRA_DIST): Changed Applications_DATA to

View file

@ -28,7 +28,7 @@ program that a particular argument must be present on the command
line. It takes one attribute, "arg", that specifies the argument to be line. It takes one attribute, "arg", that specifies the argument to be
passed. passed.
<boolean> creates a checkbox. It requires an attribute "label" that <boolean> creates a checkbox. It requires an attribute "_label" that
specifies the text that goes with the checkbox. The optional attribute specifies the text that goes with the checkbox. The optional attribute
"arg-set" specifies what should be written on the command line when "arg-set" specifies what should be written on the command line when
the checkbox is active. The attribute "test" specifies a boolean the checkbox is active. The attribute "test" specifies a boolean
@ -37,9 +37,9 @@ expression that tests whether the option is set on the command line.
<number> creates either a spin button or a slider, depending on the <number> creates either a spin button or a slider, depending on the
value of the attribute "type" ("spinbutton" for the former, "slider" value of the attribute "type" ("spinbutton" for the former, "slider"
for the latter). In the former case, the three mandatory attributes for the latter). In the former case, the three mandatory attributes
"label", "low-label", and "high-label" specify the labels that appear "_label", "_low-label", and "_high-label" specify the labels that appear
above the slider, to the left, and to the right, respectively. In the above the slider, to the left, and to the right, respectively. In the
latter case, only "label" is meaningful, and it is not mandatory. In latter case, only "_label" is meaningful, and it is not mandatory. In
both cases, the mandatory attributes "low" and "high" specify numeric both cases, the mandatory attributes "low" and "high" specify numeric
values for the minimum and maximum acceptable values for the values for the minimum and maximum acceptable values for the
parameter, and the optional "default" (set to the average of high and parameter, and the optional "default" (set to the average of high and
@ -47,7 +47,7 @@ low if not present) specifies the default value. The attribute "arg"
specifies the command line fragment to write out with the character specifies the command line fragment to write out with the character
'%' replaced by the value supplied by the user. '%' replaced by the value supplied by the user.
<select> creates an option menu. The optional "label" attribute <select> creates an option menu. The optional "_label" attribute
specifies a label to appear to the left of the option menu. It must specifies a label to appear to the left of the option menu. It must
contain one or more <option> elements as children. Each <option> element contain one or more <option> elements as children. Each <option> element
is similar to a <boolean> element described above, with a mandatory is similar to a <boolean> element described above, with a mandatory
@ -60,19 +60,7 @@ children appear in left-to-right order. It does not require an id
attribute. When <number>'s are placed in an <hgroup>, they always attribute. When <number>'s are placed in an <hgroup>, they always
appear as spinbuttons, never as sliders. appear as spinbuttons, never as sliders.
2. Internationalization 2. Enabling and disabling controls
To internationalize a screensaver description, use the program
extract-labels present in this distribution. Run the command
./extract-labels <filename>
to produce a file <filename>.h containing a list of gettext
macros. <filename>.h may then be placed in POTFILES.in, and a
dependency introduced in Makefile.am, so that translators may use
their current tools to perform translations.
3. Enabling and disabling controls
Some options presented to screensavers are mutually exclusive. For Some options presented to screensavers are mutually exclusive. For
example, in the case of Qix, it makes no sense to specify solid trails example, in the case of Qix, it makes no sense to specify solid trails
@ -85,7 +73,7 @@ given option is selected, the ids listed for all other <option>'s will
be disabled before the ids listed for the selected <option> are be disabled before the ids listed for the selected <option> are
enabled. enabled.
4. Boolean and arithmetic expressions 3. Boolean and arithmetic expressions
These are used in two places: the "test" attribute and two other These are used in two places: the "test" attribute and two other
attributes used to perform basic arithmetic manipulation on arguments attributes used to perform basic arithmetic manipulation on arguments