diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2022-04-04 16:27:45 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-04-07 15:35:42 +0200 |
| commit | 1b80d841da7b81a4f46a8908f3d6b5664fb3e615 (patch) | |
| tree | 567fb57732c156e813dc3763c6ae8346d0a8f6d7 /gui/scripts | |
| parent | 74ec2b59d1fa20604973f1bd4e5cd503631c2365 (diff) | |
| download | mullvadvpn-1b80d841da7b81a4f46a8908f3d6b5664fb3e615.tar.xz mullvadvpn-1b80d841da7b81a4f46a8908f3d6b5664fb3e615.zip | |
Prevent translations of beta cities
Diffstat (limited to 'gui/scripts')
| -rwxr-xr-x | gui/scripts/extract-geo-data.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gui/scripts/extract-geo-data.py b/gui/scripts/extract-geo-data.py index 2198a6f7e0..5e9427bd35 100755 --- a/gui/scripts/extract-geo-data.py +++ b/gui/scripts/extract-geo-data.py @@ -141,10 +141,11 @@ def structure_locations(locations): country = countries[country_code] cities = country["cities"] - if city_code not in cities: - cities[city_code] = city_name - else: - print("There are multiple entries for {} in {}".format(city_name, country_name)) + if location_key != "se-bet": + if city_code not in cities: + cities[city_code] = city_name + else: + print("There are multiple entries for {} in {}".format(city_name, country_name)) return countries |
