Anonymous | Login | Signup for a new account | 2025-06-15 12:28 UTC | ![]() |
My View | View Issues | Change Log | Roadmap | Doomseeker Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003957 | Doomseeker | IP2C | public | 2021-12-23 12:05 | 2022-03-22 11:11 | ||||
Reporter | Zalewa | ||||||||
Assigned To | Zalewa | ||||||||
Priority | normal | Severity | text | Reproducibility | N/A | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 1.3.2 | ||||||||
Target Version | 1.3.3 | Fixed in Version | 1.3.3 | ||||||
Summary | 0003957: Doomseeker should know country codes and names by heart. | ||||||||
Description | Currently the country codes and names that Doomseeker knows come from the IP2C database. This is no longer viable, as the country codes need to be presented in the interface for the proper handling of sv_country (0003938). Since the list of the ISO 3166-1 alpha-3 codes is somewhat standard, I think we can hardcode them in Doomseeker. This will also enable to translate the names of the countries. | ||||||||
Attached Files | |||||||||
![]() |
|
WubTheCaptain (reporter) 2021-12-23 12:14 |
Quote from Zalewa Not really opposed to the general idea, but there's LGPLv2.1+ licensed iso-codes package with already-translated gettext strings available. I don't support the idea of maintaining our own work for this, or at very least I think it should be maintained as a general purpose library when available. |
WubTheCaptain (reporter) 2021-12-23 12:16 |
See also isoquery by toddy15 on GitHub. The README says GPLv3-only, but file copyright headers say GPLv3+. |
Zalewa (developer) 2021-12-23 12:54 |
Done:'https://bitbucket.org/Doomseeker/doomseeker/commits/5de522eda3dd6273f6ffc7304fc48faf84b8e6e2 [^]' |
WubTheCaptain (reporter) 2021-12-23 13:21 |
Re: commit, I don't approve this for long-term but you already knew it. |
Zalewa (developer) 2021-12-23 19:48 |
Testing build released:'https://devbuilds.drdteam.org/doomseeker/doomseeker-1.3.2~beta-211223-1915_windows.zip [^]' No translations yet - all names will be in English. |
Blzut3 (administrator) 2021-12-23 20:12 |
I'm wondering if we could avoid having to do translations by mapping country codes to QLocale::Country and then using QLocale::countryToString? Qt doesn't have three letter country code support so that seems to be the most help we could get leveraging Qt. |
Zalewa (developer) 2021-12-23 21:04 |
Good tip. I'll check that out. |
Zalewa (developer) 2021-12-25 09:00 |
Quote from Blzut3 That's a no go. QLocale::countryToString() doesn't seem to be translated. |
Zalewa (developer) 2022-01-18 17:57 |
Marking as resolved for the release of Doomseeker 1.3.3. Names of some countries are untranslated in the Polish translation but I really didn't want to wear myself down for that. |
WubTheCaptain (reporter) 2022-01-18 18:38 |
Quote from Zalewa Reported as a new issue 0003970. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | No one explicitly supports this issue yet. |
Opponents: | WubTheCaptain |
![]() |
|||
Date Modified | Username | Field | Change |
2021-12-23 12:05 | Zalewa | New Issue | |
2021-12-23 12:06 | Zalewa | Assigned To | => Zalewa |
2021-12-23 12:06 | Zalewa | Status | new => assigned |
2021-12-23 12:06 | Zalewa | Relationship added | related to 0003938 |
2021-12-23 12:14 | WubTheCaptain | Note Added: 0021997 | |
2021-12-23 12:16 | WubTheCaptain | Note Added: 0021998 | |
2021-12-23 12:54 | Zalewa | Note Added: 0021999 | |
2021-12-23 12:54 | Zalewa | Status | assigned => needs review |
2021-12-23 13:21 | WubTheCaptain | Note Added: 0022001 | |
2021-12-23 19:48 | Zalewa | Note Added: 0022006 | |
2021-12-23 19:48 | Zalewa | Status | needs review => needs testing |
2021-12-23 20:12 | Blzut3 | Note Added: 0022007 | |
2021-12-23 21:04 | Zalewa | Note Added: 0022008 | |
2021-12-23 21:04 | Zalewa | Status | needs testing => assigned |
2021-12-25 09:00 | Zalewa | Note Added: 0022009 | |
2021-12-25 09:00 | Zalewa | Status | assigned => needs testing |
2022-01-18 17:57 | Zalewa | Note Added: 0022103 | |
2022-01-18 17:57 | Zalewa | Status | needs testing => resolved |
2022-01-18 17:57 | Zalewa | Fixed in Version | => 1.3.3 |
2022-01-18 17:57 | Zalewa | Resolution | open => fixed |
2022-01-18 18:38 | WubTheCaptain | Note Added: 0022109 | |
2022-03-22 11:11 | WubTheCaptain | Status | resolved => closed |
Copyright © 2000 - 2025 MantisBT Team |