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 325573 - Default location should depend on location code only
Default location should depend on location code only
Status: RESOLVED DUPLICATE of bug 158630
Product: gnome-applets
Classification: Other
Component: gweather
git master
Other All
: Normal enhancement
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-03 05:25 UTC by Simos Xenitellis
Modified: 2010-01-24 01:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Simos Xenitellis 2006-01-03 05:25:18 UTC
Currently, the default location for different localisations comes from several strings that the translator has to make sure they all have sensible values.
Specifically, see
http://mail.gnome.org/archives/gnome-i18n/2005-December/msg00157.html

The messages are DEFAULT_CODE, DEFAULT_LOCATION, DEFAULT_RADAR, DEFAULT_ZONE, DEFAULT_COORDINATES.
As gweather already knows the full set of these values due to Locations.xml, then simply providing the DEFAULT_CODE should be enough to traverse the tree and find the rest of the information (name, coordinates, etc).

This would simplify the work of localisers to simply provide the correct airport code.
Comment 1 Danielle Madeley 2006-01-04 00:48:04 UTC
Bug #158630 was meant to cover this, but the description was somewhat sucky. It has been updated, thanks Simos.

*** This bug has been marked as a duplicate of 158630 ***