After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 167195 - Inconsistent gnome-applets gweather schema descriptions
Inconsistent gnome-applets gweather schema descriptions
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: gweather
git master
Other All
: Normal normal
: 2.14
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks: 150905
 
 
Reported: 2005-02-12 20:14 UTC by Christian Rose
Modified: 2010-01-24 01:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Corrects long and short descriptions (2.12 KB, patch)
2006-04-28 03:29 UTC, Adam Petaccia
none Details | Review
Updated patch to include source information. (2.41 KB, patch)
2006-05-01 16:30 UTC, Adam Petaccia
none Details | Review

Description Christian Rose 2005-02-12 20:14:19 UTC
<schema>
	<key>/schemas/apps/gweather/prefs/location0</key>
	<owner>gweather-applet-2</owner>
	<type>string</type>
	<locale name="C">
		<default>DEFAULT_LOCATION</default>
		<short>weather location information.</short>
		<long>weather location information.</long>
	</locale>
</schema>
<schema>
	<key>/schemas/apps/gweather/prefs/location1</key>
	<owner>gweather-applet-2</owner>
	<type>string</type>
	<locale name="C">
		<default>DEFAULT_CODE</default>
		<short>weather location information.</short>
		<long>weather location information.</long>
	</locale>
</schema>
<schema>
	<key>/schemas/apps/gweather/prefs/location2</key>
	<owner>gweather-applet-2</owner>
	<type>string</type>
	<locale name="C">
		<default>DEFAULT_ZONE</default>
		<short>weather location information.</short>
		<long>weather location information.</long>
	</locale>
</schema>
<schema>
	<key>/schemas/apps/gweather/prefs/location3</key>
	<owner>gweather-applet-2</owner>
	<type>string</type>
	<locale name="C">
		<default>DEFAULT_RADAR</default>
		<short>weather location information.</short>
		<long>weather location information.</long>
	</locale>
</schema>
<schema>
	<key>/schemas/apps/gweather/prefs/location4</key>
	<owner>gweather-applet-2</owner>
	<type>string</type>
	<locale name="C">
		<default>DEFAULT_LOCATION</default>
		<short>weather location information.</short>
		<long>weather location information.</long>
	</locale>
</schema>
<schema>
	<key>/schemas/apps/gweather/prefs/coordinates</key>
	<owner>gweather-applet-2</owner>
	<type>string</type>
	<locale name="C">
		<default>DEFAULT_COORDINATES</default>
		<short>location coordinates</short>
		<long>latitude and longitude of your location expressed in DD-MM-SS[NS]
DD-MM-SS[EW]</long>
	</locale>
</schema>

The <long> and <short> descriptions of these keys aren't very helpful... In
addition, the descriptions should start with an uppercase letter.
Furthermore, <short> descriptions are supposed to be written without ending
periods, while <long> descriptions should end in a period.
Comment 1 Danielle Madeley 2005-12-21 06:59:54 UTC
We should put more descriptive schema names into libgweather. Marking this as something that could be done by a GNOME Lover.
Comment 2 Adam Petaccia 2006-04-28 03:29:52 UTC
Created attachment 64444 [details] [review]
Corrects long and short descriptions 

Patch applies to CVS HEAD 2006 04 27.  I couldn't figure out what location0 was, so I just "fixed" it.
Comment 3 Adam Weinberger 2006-05-01 05:23:19 UTC
The patch from Comment #2 adds labels, which is great and sorely needed.

What it doesn't add is anything regarding how to choose appropriate data. For example,

           <long>Nearby major zone, such as a capital city.</long>

What would be great is a URL in the <long> strings that shows a list that people can choose from. I.e.,

           <long>Nearby major zone, such as a capital city, as appears in URL.</long>

Also, is <long>Weather location information.</long>
really the optimal descriptor for DEFAULT_LOCATION?

I'd also recommend the following quick grammar/spelling nits:

<long>A uniquie zone for the city.</long>
Should be "unique"

<long>A three digit long code for retrieving radar maps.</long>
Should be "three-digit-long"
Comment 4 Adam Petaccia 2006-05-01 16:30:12 UTC
Created attachment 64624 [details] [review]
Updated patch to include source information.

I don't know what DEFAULT_LOCATION is used for?  Just from grepping gweather and libgweather folders, I honestly can't say I grasp all of what the code is doing, but I can't tell where either DEFAULT_LOCATION or location0 is actually used.
Comment 5 Adam Petaccia 2006-06-25 21:33:45 UTC
Bump.  Any response?
Comment 6 Danielle Madeley 2006-07-23 14:38:14 UTC
2006-07-23  Davyd Madeley  <davyd@madeley.id.au>

        * gweather.schemas.in: update schema descriptions, patch from
          Adam Petaccia. Closes #167195.