Display "United States of America" as "U.S.A." (needed for newer cty.dat files).

This commit is contained in:
Uwe Risse 2023-05-20 10:02:04 +02:00
parent df8ef88501
commit 84ce78e361

View File

@ -379,6 +379,7 @@ QString DisplayText::appendWorkedB4 (QString message, QString call, QString cons
countryName.replace ("Central ", "C. "); countryName.replace ("Central ", "C. ");
countryName.replace (" and ", " & "); countryName.replace (" and ", " & ");
countryName.replace ("Republic", "Rep."); countryName.replace ("Republic", "Rep.");
countryName.replace ("United States of America", "U.S.A.");
countryName.replace ("United States", "U.S.A."); countryName.replace ("United States", "U.S.A.");
countryName.replace ("Fed. Rep. of ", ""); countryName.replace ("Fed. Rep. of ", "");
countryName.replace ("French ", "Fr."); countryName.replace ("French ", "Fr.");