GNOME Bugzilla – Bug 106451
Add more Lithuanian cities
Last modified: 2004-12-22 21:47:04 UTC
I set Preferences->Location->Lithuania->Vilnius. Tooltip shows Vilnius, but in preferences, location automatically switches to Latvia->Riga and temperature is displayed the same as in Riga. Latvia and Lithuania are neighbour countries, but it is a bug that Vilnius can't be chosen. Besides, how to add another location? I'm interested in adding Kaunas in Lithuania.
I can confirm this bug. The culprit are these lines in Locations file: [EU_LV] name=Latvia loc0=Riga EVRA ------ --- [EU_LT] name=Lithuania loc0=Vilnius EVRA ------ --- which give for Vilnius the same code as for Riga. If I understand correctly, the correct code for Riga is indeed EVRA, but the correct code for Vilnius is EYVI. The fix is trivial - if the maintainers do not mind, I can fix it in CVS.
Alexander: yah, you can commit that small change (make sure to add a ChangeLog entry) To add a country, you would have to modify the Locations file. If you can find the 4 digit code for Kaunas, we can add it to the next gnome-applets release.
Fixed in cvs. Thanks Alexander!
Please add this line in gweather to Lithuania: loc1=Kaunas EYKA ------ --- Kevin Vandersloot (kfv101@psu.edu) wrote: > Hi Egle. Could you add this information to bug #106451? I can then > integrate it into cvs for a GNOME-Applets 2.2.2 release. Thanks for > doing this :) > > On Fri, 2003-04-04 at 06:09, Eglė Girinaitė wrote: >>You have added a comment to bug #106451 >>"If you can find the 4 digit code for Kaunas, we can add it to the next >>gnome-applets release" >> >>So please add this line in gweather to Lithuania: >> >>loc1=Kaunas EYKA ------ --- >> >>Kaunas is the second largest city of Lithuania. Btw, I should reopen this bug or not ?
Applied. Thanks a lot!
Could you also add next two largest Lithuanian cities? They are: Ðiauliai EYSA Panevëþys EYPN I hope Mozilla and bugzilla will handle symbols with diacritic marks correctly ("Siauliai" and "Panevezys" in similar to Latin ones) 1st letter of 1st city is "Latin capital letter s with caron" 6th letter of 2nd city is "Latin small letter e with dot above" 4th letter of 2nd city is "Latin small letter z with caron" Since gnome-applets are gtk2-based, I think Latin letters with diacritic marks should be allowed.
Would be easier for you to attach a patch here. That way we don't have to assume bugzilla handles the characters correctly.
Vaidrius: Could you make a patch for your changes. The way to do this from a cvs checkout is to make you changes and then in the gweather directory type "cvs diff -u5 > Lit.patch". Thanks.
Vaidrius Petrauskas, could you provide a new patch as asked by kevin, we would be very thankful, seen the string and ui freeze are nearing.
ARGH! Attachment to bug #139820 includes a few more Lithuanian cities but I kind of assumed that it was related to adding cities without actually reading this bug. Will resubmit shortly..
Resubmitted: see 2nd attachment
This is now in CVS.