From 98343d3720122222e174875c8cbe4235d0ea4270 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 13 Jul 2023 11:02:17 +0530 Subject: [PATCH] Use common name as country name --- setup/translations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/translations.py b/setup/translations.py index 1ac70bf943..cbf853f420 100644 --- a/setup/translations.py +++ b/setup/translations.py @@ -923,7 +923,7 @@ class ISO3166(ISO639): # {{{ if two: two = unicode_type(two) codes.add(two) - name_map[two] = x.get('name') + name_map[two] = x.get('common_name') or x.get('name') if name_map[two]: name_map[two] = unicode_type(name_map[two]) three = x.get('alpha_3')