The usage statistics page uses an include file, country-list.inc, to display a dropdown of countries to choose from. The same list is duplicated in admin.pref for the UsageStatsCountry preference. We should use the same include file for both interfaces, to reduce redundancy in code and in the translation process.
Created attachment 157340 [details] [review] Bug 35097: Use country-list.inc to display choices for UsageStatsCountry preference This patch updates the system preferences interface so that it uses country-list.inc for the selection of countries for the UsageStatsCountry preference. To test, apply the patch and restart services. - Go to Administration -> System preferences and search for "UsageStatsCountry" - The dropdown of countries should look correct. - Select a country, save, and confirm that your choice is saved correctly.
Created attachment 157429 [details] [review] Bug 35097: Use country-list.inc to display choices for UsageStatsCountry preference This patch updates the system preferences interface so that it uses country-list.inc for the selection of countries for the UsageStatsCountry preference. To test, apply the patch and restart services. - Go to Administration -> System preferences and search for "UsageStatsCountry" - The dropdown of countries should look correct. - Select a country, save, and confirm that your choice is saved correctly. Signed-off-by: David Nind <david@davidnind.com>
Currently blocked by the dependency bug.
Created attachment 161338 [details] [review] Bug 35097: Use country-list.inc to display choices for UsageStatsCountry preference This patch updates the system preferences interface so that it uses country-list.inc for the selection of countries for the UsageStatsCountry preference. To test, apply the patch and restart services. - Go to Administration -> System preferences and search for "UsageStatsCountry" - The dropdown of countries should look correct. - Select a country, save, and confirm that your choice is saved correctly. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Pushed for 24.05! Well done everyone, thank you!
Not backported to 23.11.x