Missing country names in the locations list

Bug #504669 reported by Bogdan Marinov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Low
Bogdan Marinov

Bug Description

In the big, searchable locations list in the Locations window, some of the country names are missing. The country's ISO code is displayed instead.

After a look at the code, it seems that the reason is the way Stellarium's ISO code/country name map is generated. (Look at the first hundred lines in StelLocaleMgr.cpp.) Isn't it better to have an explicit, external list of ISO codes? A binary file can be generated in the same way from it.

Also, is there a particular logic behind the handling of spaces? The Qt-generated country names longer than one word lack spaces, but the workaround in the code adds "Palestinian Territories" with a space.

Changed in stellarium:
assignee: nobody → Bogdan Marinov (daggerstab)
milestone: none → 0.10.3
status: Confirmed → In Progress
Revision history for this message
Bogdan Marinov (daggerstab) wrote :

Fix committed as revision 5608 to the Subversion repository at SourceForge.

Changed in stellarium:
status: In Progress → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.