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 142677 - Add more Polish cities and split them into regions
Add more Polish cities and split them into regions
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: gweather
unspecified
Other FreeBSD
: Normal major
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on: 139820
Blocks:
 
 
Reported: 2004-05-17 17:32 UTC by Piotr Smyrak
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: 2.6.next
GNOME version: 2.5/2.6


Attachments
It updates the Locations file with many more Polish cities and split the longer list into regions (2.77 KB, patch)
2004-05-17 17:36 UTC, Piotr Smyrak
needs-work Details | Review

Description Piotr Smyrak 2004-05-17 17:32:42 UTC
Description of Problem:

Current information on weather in Poland is very 
limited, it doesn't cover even all the biggest 
cities. 

Actual Results:
This definitely discourage people from using the 
software.

Expected Results:
Make the life with gweather in Poland easier and 
spread the use of this piece of software.
Comment 1 Piotr Smyrak 2004-05-17 17:36:04 UTC
Created attachment 27787 [details] [review]
It updates the Locations file with many more Polish cities and split the longer list into regions
Comment 2 Dennis Smit 2004-05-17 19:51:31 UTC
Thanks for the patch, we will soon look into this!

Thanks for your time.
Comment 3 Dennis Smit 2004-05-26 23:44:22 UTC
Have you tested the locations ?, using cvs head i keep getting 'updating'
even while the page is long before retrieved.

Maybe something in the parsing has changed not sure, could you
double check it ?
Comment 4 Gareth Owen 2004-06-24 02:42:43 UTC
Piotr,

Could you redo the patch in the new Locations.xml.in format.  The format should
be self-explanatory, if not just ask.

One thing to note, is that now the Locations can be translated the place names
should be entered in "US English".  You can then put the polish names into the
translation file (gnome-applets/po-locations), or ask the polish translation
team to do it for you.

What I mean that instead of having an entry for Warszawa that looks like this...

 <location>
  <_name>Warszawa</_name>
  <code>EPWA</code>
 </location>

You would enter

 <location>
  <_name>Warsaw</_name>
  <code>EPWA</code>
 </location>

And in the po-location/pl.po file you would have:

msgid "Warsaw"
msgstr "Warszawa"
Comment 5 Frank Solensky 2004-07-04 15:52:16 UTC
Cities from attachment added to attachment for bug #139820
Comment 6 Frank Solensky 2004-07-04 18:50:31 UTC
I'm resubmitting with an attachment that lists the Polish cities from the NOAA
list.  This adds a couple of cities but isn't as comprehensive as the original
list since most of the codes aren't recongnized by the server that gweather is
accessing.

Piotr -- do you know of some other weather server where those codes are
recognized?  If so, I'll add some code so that the XML includes the server to
access for each city.
Comment 7 Piotr Smyrak 2004-07-04 21:27:54 UTC
Currently I am away from home, sorry for not getting back to you earlier. I had 
limited network access. I will try to verify once again the cities - I tried few 
of them and they worked for me. I will verify the infor and resubmit it as XML, 
when I get back home. I have to check for new servers, right now I don't know 
any.
Comment 8 Danielle Madeley 2004-08-10 04:34:38 UTC
This is being fixed with a patch in bug #139820
Comment 9 Frank Solensky 2004-08-11 00:18:13 UTC
The patch for bug #139820 only includes those included on the most recent NOAA
list: a total of eleven cities, not the sixty listed the first attachment.  The
remaining locations are still coming back as "unknown" from the server.

Comment 10 Danielle Madeley 2004-08-14 14:51:23 UTC
Frank's patch is now in CVS.