diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-02-22 09:34:08 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-02-22 09:34:08 +0000 |
commit | a02a0413bd3b34fe9a82f257de1245d374e14517 (patch) | |
tree | 1be87fbf1e5aa7f7edbccc796bbc1c66b893acf5 /src | |
parent | 733e5fc3e4a4839652b7fdf2a1a8e39370dc9cf3 (diff) |
- translation fixes (patch from wishmaster)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3683 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/fonts/FontOptions.cpp | 10 | ||||
-rw-r--r-- | src/modules/fonts/FontService.cpp | 8 | ||||
-rw-r--r-- | src/modules/netlib/netliblog.cpp | 8 | ||||
-rw-r--r-- | src/modules/utils/utils.cpp | 504 |
4 files changed, 264 insertions, 266 deletions
diff --git a/src/modules/fonts/FontOptions.cpp b/src/modules/fonts/FontOptions.cpp index 6270dd4613..4e33c31cc1 100644 --- a/src/modules/fonts/FontOptions.cpp +++ b/src/modules/fonts/FontOptions.cpp @@ -462,7 +462,7 @@ static void ShowEffectButton(HWND hwndDlg, BOOL bShow) ShowWindow( GetDlgItem(hwndDlg, IDC_EFFECT_STATIC), bShow ? SW_SHOW : SW_HIDE);
}
-TCHAR* ModernEffectNames[] = { _T("<none>"), _T("Shadow at left"), _T("Shadow at right"), _T("Outline"), _T("Outline smooth"), _T("Smooth bump"), _T("Contour thin"), _T("Contour heavy") };
+TCHAR* ModernEffectNames[] = { LPGENT("<none>"), LPGENT("Shadow at left"), LPGENT("Shadow at right"), LPGENT("Outline"), LPGENT("Outline smooth"), LPGENT("Smooth bump"), LPGENT("Contour thin"), LPGENT("Contour heavy") };
static INT_PTR CALLBACK ChooseEffectDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
@@ -540,13 +540,11 @@ static void sttSaveFontData(HWND hwndDlg, FontInternal &F) mir_snprintf(str, SIZEOF(str), "%sSize", F.prefix);
if (F.flags & FIDF_SAVEACTUALHEIGHT) {
- HDC hdc;
SIZE size;
- HFONT hFont, hOldFont;
CreateFromFontSettings(&F.value, &lf);
- hFont = CreateFontIndirect(&lf);
- hdc = GetDC(hwndDlg);
- hOldFont = (HFONT)SelectObject(hdc, hFont);
+ HFONT hFont = CreateFontIndirect(&lf);
+ HDC hdc = GetDC(hwndDlg);
+ HFONT hOldFont = (HFONT)SelectObject(hdc, hFont);
GetTextExtentPoint32(hdc, _T("_W"), 2, &size);
ReleaseDC(hwndDlg, hdc);
SelectObject(hdc, hOldFont);
diff --git a/src/modules/fonts/FontService.cpp b/src/modules/fonts/FontService.cpp index 3458c91dfe..f1c7aae4e6 100644 --- a/src/modules/fonts/FontService.cpp +++ b/src/modules/fonts/FontService.cpp @@ -90,19 +90,19 @@ int LoadFontserviceModule(void) // create generic fonts
FontIDT fontid = { sizeof(fontid) };
strncpy(fontid.dbSettingsGroup, "Fonts", sizeof(fontid.dbSettingsGroup));
- _tcsncpy(fontid.group, _T("General"), SIZEOF(fontid.group));
+ _tcsncpy(fontid.group, LPGENT("General"), SIZEOF(fontid.group));
- _tcsncpy(fontid.name, _T("Headers"), SIZEOF(fontid.name));
+ _tcsncpy(fontid.name, LPGENT("Headers"), SIZEOF(fontid.name));
fontid.flags = FIDF_APPENDNAME | FIDF_NOAS | FIDF_SAVEPOINTSIZE | FIDF_ALLOWEFFECTS | FIDF_CLASSHEADER;
strncpy(fontid.prefix, "Header", SIZEOF(fontid.prefix));
FontRegisterT(&fontid);
- _tcsncpy(fontid.name, _T("Generic text"), SIZEOF(fontid.name));
+ _tcsncpy(fontid.name, LPGENT("Generic text"), SIZEOF(fontid.name));
fontid.flags = FIDF_APPENDNAME | FIDF_NOAS | FIDF_SAVEPOINTSIZE | FIDF_ALLOWEFFECTS | FIDF_CLASSGENERAL;
strncpy(fontid.prefix, "Generic", SIZEOF(fontid.prefix));
FontRegisterT(&fontid);
- _tcsncpy(fontid.name, _T("Small text"), SIZEOF(fontid.name));
+ _tcsncpy(fontid.name, LPGENT("Small text"), SIZEOF(fontid.name));
fontid.flags = FIDF_APPENDNAME | FIDF_NOAS | FIDF_SAVEPOINTSIZE | FIDF_ALLOWEFFECTS | FIDF_CLASSSMALL;
strncpy(fontid.prefix, "Small", SIZEOF(fontid.prefix));
FontRegisterT(&fontid);
diff --git a/src/modules/netlib/netliblog.cpp b/src/modules/netlib/netliblog.cpp index 085c9e27d5..4b2272932c 100644 --- a/src/modules/netlib/netliblog.cpp +++ b/src/modules/netlib/netliblog.cpp @@ -58,10 +58,10 @@ static HANDLE hLogEvent = NULL; static const TCHAR* szTimeFormats[] =
{
- _T("No times"),
- _T("Standard hh:mm:ss times"),
- _T("Times in milliseconds"),
- _T("Times in microseconds")
+ LPGENT("No times"),
+ LPGENT("Standard hh:mm:ss times"),
+ LPGENT("Times in milliseconds"),
+ LPGENT("Times in microseconds")
};
static INT_PTR CALLBACK LogOptionsDlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam)
diff --git a/src/modules/utils/utils.cpp b/src/modules/utils/utils.cpp index 8739273094..18d5e88973 100644 --- a/src/modules/utils/utils.cpp +++ b/src/modules/utils/utils.cpp @@ -42,258 +42,258 @@ int InitCrypt(void); static BOOL bModuleInitialized = FALSE;
static CountryListEntry countries[] = {
- {0, "Unspecified", ""},
- {9999, "Other", ""},
- {0xFFFF, "Unknown", ""},
- {93, "Afghanistan", "AF"},
- {358, "Aland Islands", "AX"},
- {355, "Albania", "AL"},
- {213, "Algeria", "DZ"},
- {1684, "American Samoa", "AS"},
- {376, "Andorra", "AD"},
- {244, "Angola", "AO"},
- {1264, "Anguilla", "AI"},
- {0xFFFE, "Antarctica", "AQ"},
- {1268, "Antigua and Barbuda", "AG"},
- {54, "Argentina", "AR"},
- {374, "Armenia", "AM"},
- {297, "Aruba", "AW"},
- {61, "Australia", "AU"},
- {43, "Austria", "AT"},
- {994, "Azerbaijan", "AZ"},
- {1242, "Bahamas", "BS"},
- {973, "Bahrain", "BH"},
- {880, "Bangladesh", "BD"},
- {1246, "Barbados", "BB"},
- {375, "Belarus", "BY"},
- {32, "Belgium", "BE"},
- {501, "Belize", "BZ"},
- {229, "Benin", "BJ"},
- {1441, "Bermuda", "BM"},
- {975, "Bhutan", "BT"},
- {591, "Bolivia, Plurinational State of", "BO"},
- {5997, "Bonaire, Sint Eustatius and Saba", "BQ"},
- {387, "Bosnia and Herzegovina", "BA"},
- {267, "Botswana", "BW"},
- {55, "Bouvet Island", "BV"},
- {55, "Brazil", "BR"},
- {246, "British Indian Ocean Territory", "IO"},
- {673, "Brunei Darussalam", "BN"},
- {359, "Bulgaria", "BG"},
- {226, "Burkina Faso", "BF"},
- {257, "Burundi", "BI"},
- {855, "Cambodia", "KH"},
- {237, "Cameroon", "CM"},
- {1, "Canada", "CA"},
- {238, "Cape Verde", "CV"},
- {1345, "Cayman Islands", "KY"},
- {236, "Central African Republic", "CF"},
- {235, "Chad", "TD"},
- {56, "Chile", "CL"},
- {86, "China", "CN"},
- {61, "Christmas Island", "CX"},
- {61, "Cocos (Keeling) Islands", "CC"},
- {57, "Colombia", "CO"},
- {269, "Comoros", "KM"},
- {242, "Congo", "CG"},
- {243, "Congo, the Democratic Republic of the", "CD"},
- {682, "Cook Islands", "CK"},
- {506, "Costa Rica", "CR"},
- {225, "Cote d'Ivoire", "CI"},
- {385, "Croatia", "HR"},
- {53, "Cuba", "CU"},
- {5999, "Curacao", "CW"},
- {357, "Cyprus", "CY"},
- {420, "Czech Republic", "CZ"},
- {45, "Denmark", "DK"},
- {253, "Djibouti", "DJ"},
- {1767, "Dominica", "DM"},
- {1809, "Dominican Republic", "DO"},
- {593, "Ecuador", "EC"},
- {20, "Egypt", "EG"},
- {503, "El Salvador", "SV"},
- {240, "Equatorial Guinea", "GQ"},
- {291, "Eritrea", "ER"},
- {372, "Estonia", "EE"},
- {251, "Ethiopia", "ET"},
- {500, "Falkland Islands (Malvinas)", "FK"},
- {298, "Faroe Islands", "FO"},
- {679, "Fiji", "FJ"},
- {358, "Finland", "FI"},
- {33, "France", "FR"},
- {594, "French Guiana", "GF"},
- {689, "French Polynesia", "PF"},
- {0xFFFE, "French Southern Territories", "TF"},
- {241, "Gabon", "GA"},
- {220, "Gambia", "GM"},
- {995, "Georgia", "GE"},
- {49, "Germany", "DE"},
- {233, "Ghana", "GH"},
- {350, "Gibraltar", "GI"},
- {30, "Greece", "GR"},
- {299, "Greenland", "GL"},
- {1473, "Grenada", "GD"},
- {590, "Guadeloupe", "GP"},
- {1671, "Guam", "GU"},
- {502, "Guatemala", "GT"},
- {44, "Guernsey", "GG"},
- {224, "Guinea", "GN"},
- {245, "Guinea-Bissau", "GW"},
- {592, "Guyana", "GY"},
- {509, "Haiti", "HT"},
- {0xFFFE, "Heard Island and McDonald Islands", "HM"},
- {379, "Holy See (Vatican City State)", "VA"},
- {504, "Honduras", "HN"},
- {852, "Hong Kong", "HK"},
- {36, "Hungary", "HU"},
- {354, "Iceland", "IS"},
- {91, "India", "IN"},
- {62, "Indonesia", "ID"},
- {98, "Iran, Islamic Republic of", "IR"},
- {964, "Iraq", "IQ"},
- {353, "Ireland", "IE"},
- {44, "Isle of Man", "IM"},
- {972, "Israel", "IL"},
- {39, "Italy", "IT"},
- {1876, "Jamaica", "JM"},
- {81, "Japan", "JP"},
- {44, "Jersey", "JE"},
- {962, "Jordan", "JO"},
- {76, "Kazakhstan", "KZ"},
- {254, "Kenya", "KE"},
- {686, "Kiribati", "KI"},
- {850, "Korea, Democratic People's Republic of", "KP"},
- {82, "Korea, Republic of", "KR"},
- {965, "Kuwait", "KW"},
- {996, "Kyrgyzstan", "KG"},
- {856, "Lao People's Democratic Republic", "LA"},
- {371, "Latvia", "LV"},
- {961, "Lebanon", "LB"},
- {266, "Lesotho", "LS"},
- {231, "Liberia", "LR"},
- {218, "Libya", "LY"},
- {423, "Liechtenstein", "LI"},
- {370, "Lithuania", "LT"},
- {352, "Luxembourg", "LU"},
- {853, "Macao", "MO"},
- {389, "Macedonia, The Former Yugoslav Republic of", "MK"},
- {261, "Madagascar", "MG"},
- {265, "Malawi", "MW"},
- {60, "Malaysia", "MY"},
- {960, "Maldives", "MV"},
- {223, "Mali", "ML"},
- {356, "Malta", "MT"},
- {692, "Marshall Islands", "MH"},
- {596, "Martinique", "MQ"},
- {222, "Mauritania", "MR"},
- {230, "Mauritius", "MU"},
- {262, "Mayotte", "YT"},
- {52, "Mexico", "MX"},
- {691, "Micronesia, Federated States of", "FM"},
- {373, "Moldova, Republic of", "MD"},
- {377, "Monaco", "MC"},
- {976, "Mongolia", "MN"},
- {382, "Montenegro", "ME"},
- {1664, "Montserrat", "MS"},
- {212, "Morocco", "MA"},
- {258, "Mozambique", "MZ"},
- {95, "Myanmar", "MM"},
- {264, "Namibia", "NA"},
- {674, "Nauru", "NR"},
- {977, "Nepal", "NP"},
- {31, "Netherlands", "NL"},
- {687, "New Caledonia", "NC"},
- {64, "New Zealand", "NZ"},
- {505, "Nicaragua", "NI"},
- {227, "Niger", "NE"},
- {234, "Nigeria", "NG"},
- {683, "Niue", "NU"},
- {672, "Norfolk Island", "NF"},
- {1670, "Northern Mariana Islands", "MP"},
- {47, "Norway", "NO"},
- {968, "Oman", "OM"},
- {92, "Pakistan", "PK"},
- {680, "Palau", "PW"},
- {970, "Palestinian Territory, Occupied", "PS"},
- {507, "Panama", "PA"},
- {675, "Papua New Guinea", "PG"},
- {595, "Paraguay", "PY"},
- {51, "Peru", "PE"},
- {63, "Philippines", "PH"},
- {64, "Pitcairn", "PN"},
- {48, "Poland", "PL"},
- {351, "Portugal", "PT"},
- {1787, "Puerto Rico", "PR"},
- {974, "Qatar", "QA"},
- {262, "Reunion", "RE"},
- {40, "Romania", "RO"},
- {7, "Russian Federation", "RU"},
- {250, "Rwanda", "RW"},
- {590, "Saint Barthelemy", "BL"},
- {290, "Saint Helena, Ascension and Tristan da Cunha", "SH"},
- {1869, "Saint Kitts and Nevis", "KN"},
- {1758, "Saint Lucia", "LC"},
- {590, "Saint Martin (French part)", "MF"},
- {508, "Saint Pierre and Miquelon", "PM"},
- {1784, "Saint Vincent and the Grenadines", "VC"},
- {685, "Samoa", "WS"},
- {378, "San Marino", "SM"},
- {239, "Sao Tome and Principe", "ST"},
- {966, "Saudi Arabia", "SA"},
- {221, "Senegal", "SN"},
- {381, "Serbia", "RS"},
- {248, "Seychelles", "SC"},
- {232, "Sierra Leone", "SL"},
- {65, "Singapore", "SG"},
- {1721, "Sint Maarten (Dutch part)", "SX"},
- {421, "Slovakia", "SK"},
- {386, "Slovenia", "SI"},
- {677, "Solomon Islands", "SB"},
- {252, "Somalia", "SO"},
- {27, "South Africa", "ZA"},
- {500, "South Georgia and the South Sandwich Islands", "GS"},
- {211, "South Sudan", "SS"},
- {34, "Spain", "ES"},
- {94, "Sri Lanka", "LK"},
- {249, "Sudan", "SD"},
- {597, "Suriname", "SR"},
- {4779, "Svalbard and Jan Mayen", "SJ"},
- {268, "Swaziland", "SZ"},
- {46, "Sweden", "SE"},
- {41, "Switzerland", "CH"},
- {963, "Syrian Arab Republic", "SY"},
- {886, "Taiwan, Province of China", "TW"},
- {992, "Tajikistan", "TJ"},
- {255, "Tanzania, United Republic of", "TZ"},
- {66, "Thailand", "TH"},
- {670, "Timor-Leste", "TL"},
- {228, "Togo", "TG"},
- {690, "Tokelau", "TK"},
- {676, "Tonga", "TO"},
- {1868, "Trinidad and Tobago", "TT"},
- {216, "Tunisia", "TN"},
- {90, "Turkey", "TR"},
- {993, "Turkmenistan", "TM"},
- {1649, "Turks and Caicos Islands", "TC"},
- {688, "Tuvalu", "TV"},
- {256, "Uganda", "UG"},
- {380, "Ukraine", "UA"},
- {971, "United Arab Emirates", "AE"},
- {44, "United Kingdom", "GB"},
- {1, "United States", "US"},
- {699, "United States Minor Outlying Islands", "UM"},
- {598, "Uruguay", "UY"},
- {998, "Uzbekistan", "UZ"},
- {678, "Vanuatu", "VU"},
- {58, "Venezuela, Bolivarian Republic of", "VE"},
- {84, "Viet Nam", "VN"},
- {1284, "Virgin Islands, British", "VG"},
- {1340, "Virgin Islands, U.S.", "VI"},
- {681, "Wallis and Futuna", "WF"},
- {5289, "Western Sahara", "EH"},
- {967, "Yemen", "YE"},
- {260, "Zambia", "ZM"},
- {263, "Zimbabwe", "ZW"}
+ {0, LPGEN("Unspecified"), ""},
+ {9999, LPGEN("Other"), ""},
+ {0xFFFF, LPGEN("Unknown"), ""},
+ {93, LPGEN("Afghanistan"), "AF"},
+ {358, LPGEN("Aland Islands"), "AX"},
+ {355, LPGEN("Albania"), "AL"},
+ {213, LPGEN("Algeria"), "DZ"},
+ {1684, LPGEN("American Samoa"), "AS"},
+ {376, LPGEN("Andorra"), "AD"},
+ {244, LPGEN("Angola"), "AO"},
+ {1264, LPGEN("Anguilla"), "AI"},
+ {0xFFFE, LPGEN("Antarctica"), "AQ"},
+ {1268, LPGEN("Antigua and Barbuda"), "AG"},
+ {54, LPGEN("Argentina"), "AR"},
+ {374, LPGEN("Armenia"), "AM"},
+ {297, LPGEN("Aruba"), "AW"},
+ {61, LPGEN("Australia"), "AU"},
+ {43, LPGEN("Austria"), "AT"},
+ {994, LPGEN("Azerbaijan"), "AZ"},
+ {1242, LPGEN("Bahamas"), "BS"},
+ {973, LPGEN("Bahrain"), "BH"},
+ {880, LPGEN("Bangladesh"), "BD"},
+ {1246, LPGEN("Barbados"), "BB"},
+ {375, LPGEN("Belarus"), "BY"},
+ {32, LPGEN("Belgium"), "BE"},
+ {501, LPGEN("Belize"), "BZ"},
+ {229, LPGEN("Benin"), "BJ"},
+ {1441, LPGEN("Bermuda"), "BM"},
+ {975, LPGEN("Bhutan"), "BT"},
+ {591, LPGEN("Bolivia, Plurinational State of"), "BO"},
+ {5997, LPGEN("Bonaire, Sint Eustatius and Saba"), "BQ"},
+ {387, LPGEN("Bosnia and Herzegovina"), "BA"},
+ {267, LPGEN("Botswana"), "BW"},
+ {55, LPGEN("Bouvet Island"), "BV"},
+ {55, LPGEN("Brazil"), "BR"},
+ {246, LPGEN("British Indian Ocean Territory"), "IO"},
+ {673, LPGEN("Brunei Darussalam"), "BN"},
+ {359, LPGEN("Bulgaria"), "BG"},
+ {226, LPGEN("Burkina Faso"), "BF"},
+ {257, LPGEN("Burundi"), "BI"},
+ {855, LPGEN("Cambodia"), "KH"},
+ {237, LPGEN("Cameroon"), "CM"},
+ {1, LPGEN("Canada"), "CA"},
+ {238, LPGEN("Cape Verde"), "CV"},
+ {1345, LPGEN("Cayman Islands"), "KY"},
+ {236, LPGEN("Central African Republic"), "CF"},
+ {235, LPGEN("Chad"), "TD"},
+ {56, LPGEN("Chile"), "CL"},
+ {86, LPGEN("China"), "CN"},
+ {61, LPGEN("Christmas Island"), "CX"},
+ {61, LPGEN("Cocos (Keeling) Islands"), "CC"},
+ {57, LPGEN("Colombia"), "CO"},
+ {269, LPGEN("Comoros"), "KM"},
+ {242, LPGEN("Congo"), "CG"},
+ {243, LPGEN("Congo, the Democratic Republic of the"), "CD"},
+ {682, LPGEN("Cook Islands"), "CK"},
+ {506, LPGEN("Costa Rica"), "CR"},
+ {225, LPGEN("Cote d'Ivoire"), "CI"},
+ {385, LPGEN("Croatia"), "HR"},
+ {53, LPGEN("Cuba"), "CU"},
+ {5999, LPGEN("Curacao"), "CW"},
+ {357, LPGEN("Cyprus"), "CY"},
+ {420, LPGEN("Czech Republic"), "CZ"},
+ {45, LPGEN("Denmark"), "DK"},
+ {253, LPGEN("Djibouti"), "DJ"},
+ {1767, LPGEN("Dominica"), "DM"},
+ {1809, LPGEN("Dominican Republic"), "DO"},
+ {593, LPGEN("Ecuador"), "EC"},
+ {20, LPGEN("Egypt"), "EG"},
+ {503, LPGEN("El Salvador"), "SV"},
+ {240, LPGEN("Equatorial Guinea"), "GQ"},
+ {291, LPGEN("Eritrea"), "ER"},
+ {372, LPGEN("Estonia"), "EE"},
+ {251, LPGEN("Ethiopia"), "ET"},
+ {500, LPGEN("Falkland Islands (Malvinas)"), "FK"},
+ {298, LPGEN("Faroe Islands"), "FO"},
+ {679, LPGEN("Fiji"), "FJ"},
+ {358, LPGEN("Finland"), "FI"},
+ {33, LPGEN("France"), "FR"},
+ {594, LPGEN("French Guiana"), "GF"},
+ {689, LPGEN("French Polynesia"), "PF"},
+ {0xFFFE, LPGEN("French Southern Territories"), "TF"},
+ {241, LPGEN("Gabon"), "GA"},
+ {220, LPGEN("Gambia"), "GM"},
+ {995, LPGEN("Georgia"), "GE"},
+ {49, LPGEN("Germany"), "DE"},
+ {233, LPGEN("Ghana"), "GH"},
+ {350, LPGEN("Gibraltar"), "GI"},
+ {30, LPGEN("Greece"), "GR"},
+ {299, LPGEN("Greenland"), "GL"},
+ {1473, LPGEN("Grenada"), "GD"},
+ {590, LPGEN("Guadeloupe"), "GP"},
+ {1671, LPGEN("Guam"), "GU"},
+ {502, LPGEN("Guatemala"), "GT"},
+ {44, LPGEN("Guernsey"), "GG"},
+ {224, LPGEN("Guinea"), "GN"},
+ {245, LPGEN("Guinea-Bissau"), "GW"},
+ {592, LPGEN("Guyana"), "GY"},
+ {509, LPGEN("Haiti"), "HT"},
+ {0xFFFE, LPGEN("Heard Island and McDonald Islands"), "HM"},
+ {379, LPGEN("Holy See (Vatican City State)"), "VA"},
+ {504, LPGEN("Honduras"), "HN"},
+ {852, LPGEN("Hong Kong"), "HK"},
+ {36, LPGEN("Hungary"), "HU"},
+ {354, LPGEN("Iceland"), "IS"},
+ {91, LPGEN("India"), "IN"},
+ {62, LPGEN("Indonesia"), "ID"},
+ {98, LPGEN("Iran, Islamic Republic of"), "IR"},
+ {964, LPGEN("Iraq"), "IQ"},
+ {353, LPGEN("Ireland"), "IE"},
+ {44, LPGEN("Isle of Man"), "IM"},
+ {972, LPGEN("Israel"), "IL"},
+ {39, LPGEN("Italy"), "IT"},
+ {1876, LPGEN("Jamaica"), "JM"},
+ {81, LPGEN("Japan"), "JP"},
+ {44, LPGEN("Jersey"), "JE"},
+ {962, LPGEN("Jordan"), "JO"},
+ {76, LPGEN("Kazakhstan"), "KZ"},
+ {254, LPGEN("Kenya"), "KE"},
+ {686, LPGEN("Kiribati"), "KI"},
+ {850, LPGEN("Korea, Democratic People's Republic of"), "KP"},
+ {82, LPGEN("Korea, Republic of"), "KR"},
+ {965, LPGEN("Kuwait"), "KW"},
+ {996, LPGEN("Kyrgyzstan"), "KG"},
+ {856, LPGEN("Lao People's Democratic Republic"), "LA"},
+ {371, LPGEN("Latvia"), "LV"},
+ {961, LPGEN("Lebanon"), "LB"},
+ {266, LPGEN("Lesotho"), "LS"},
+ {231, LPGEN("Liberia"), "LR"},
+ {218, LPGEN("Libya"), "LY"},
+ {423, LPGEN("Liechtenstein"), "LI"},
+ {370, LPGEN("Lithuania"), "LT"},
+ {352, LPGEN("Luxembourg"), "LU"},
+ {853, LPGEN("Macao"), "MO"},
+ {389, LPGEN("Macedonia, The Former Yugoslav Republic of"), "MK"},
+ {261, LPGEN("Madagascar"), "MG"},
+ {265, LPGEN("Malawi"), "MW"},
+ {60, LPGEN("Malaysia"), "MY"},
+ {960, LPGEN("Maldives"), "MV"},
+ {223, LPGEN("Mali"), "ML"},
+ {356, LPGEN("Malta"), "MT"},
+ {692, LPGEN("Marshall Islands"), "MH"},
+ {596, LPGEN("Martinique"), "MQ"},
+ {222, LPGEN("Mauritania"), "MR"},
+ {230, LPGEN("Mauritius"), "MU"},
+ {262, LPGEN("Mayotte"), "YT"},
+ {52, LPGEN("Mexico"), "MX"},
+ {691, LPGEN("Micronesia, Federated States of"), "FM"},
+ {373, LPGEN("Moldova, Republic of"), "MD"},
+ {377, LPGEN("Monaco"), "MC"},
+ {976, LPGEN("Mongolia"), "MN"},
+ {382, LPGEN("Montenegro"), "ME"},
+ {1664, LPGEN("Montserrat"), "MS"},
+ {212, LPGEN("Morocco"), "MA"},
+ {258, LPGEN("Mozambique"), "MZ"},
+ {95, LPGEN("Myanmar"), "MM"},
+ {264, LPGEN("Namibia"), "NA"},
+ {674, LPGEN("Nauru"), "NR"},
+ {977, LPGEN("Nepal"), "NP"},
+ {31, LPGEN("Netherlands"), "NL"},
+ {687, LPGEN("New Caledonia"), "NC"},
+ {64, LPGEN("New Zealand"), "NZ"},
+ {505, LPGEN("Nicaragua"), "NI"},
+ {227, LPGEN("Niger"), "NE"},
+ {234, LPGEN("Nigeria"), "NG"},
+ {683, LPGEN("Niue"), "NU"},
+ {672, LPGEN("Norfolk Island"), "NF"},
+ {1670, LPGEN("Northern Mariana Islands"), "MP"},
+ {47, LPGEN("Norway"), "NO"},
+ {968, LPGEN("Oman"), "OM"},
+ {92, LPGEN("Pakistan"), "PK"},
+ {680, LPGEN("Palau"), "PW"},
+ {970, LPGEN("Palestinian Territory, Occupied"), "PS"},
+ {507, LPGEN("Panama"), "PA"},
+ {675, LPGEN("Papua New Guinea"), "PG"},
+ {595, LPGEN("Paraguay"), "PY"},
+ {51, LPGEN("Peru"), "PE"},
+ {63, LPGEN("Philippines"), "PH"},
+ {64, LPGEN("Pitcairn"), "PN"},
+ {48, LPGEN("Poland"), "PL"},
+ {351, LPGEN("Portugal"), "PT"},
+ {1787, LPGEN("Puerto Rico"), "PR"},
+ {974, LPGEN("Qatar"), "QA"},
+ {262, LPGEN("Reunion"), "RE"},
+ {40, LPGEN("Romania"), "RO"},
+ {7, LPGEN("Russian Federation"), "RU"},
+ {250, LPGEN("Rwanda"), "RW"},
+ {590, LPGEN("Saint Barthelemy"), "BL"},
+ {290, LPGEN("Saint Helena, Ascension and Tristan da Cunha"), "SH"},
+ {1869, LPGEN("Saint Kitts and Nevis"), "KN"},
+ {1758, LPGEN("Saint Lucia"), "LC"},
+ {590, LPGEN("Saint Martin (French part)"), "MF"},
+ {508, LPGEN("Saint Pierre and Miquelon"), "PM"},
+ {1784, LPGEN("Saint Vincent and the Grenadines"), "VC"},
+ {685, LPGEN("Samoa"), "WS"},
+ {378, LPGEN("San Marino"), "SM"},
+ {239, LPGEN("Sao Tome and Principe"), "ST"},
+ {966, LPGEN("Saudi Arabia"), "SA"},
+ {221, LPGEN("Senegal"), "SN"},
+ {381, LPGEN("Serbia") "RS"},
+ {248, LPGEN("Seychelles"), "SC"},
+ {232, LPGEN("Sierra Leone"), "SL"},
+ {65, LPGEN("Singapore"), "SG"},
+ {1721, LPGEN("Sint Maarten (Dutch part)"), "SX"},
+ {421, LPGEN("Slovakia"), "SK"},
+ {386, LPGEN("Slovenia"), "SI"},
+ {677, LPGEN("Solomon Islands"), "SB"},
+ {252, LPGEN("Somalia"), "SO"},
+ {27, LPGEN("South Africa"), "ZA"},
+ {500, LPGEN("South Georgia and the South Sandwich Islands"), "GS"},
+ {211, LPGEN("South Sudan"), "SS"},
+ {34, LPGEN("Spain"), "ES"},
+ {94, LPGEN("Sri Lanka"), "LK"},
+ {249, LPGEN("Sudan"), "SD"},
+ {597, LPGEN("Suriname"), "SR"},
+ {4779, LPGEN("Svalbard and Jan Mayen"), "SJ"},
+ {268, LPGEN("Swaziland"), "SZ"},
+ {46, LPGEN("Sweden"), "SE"},
+ {41, LPGEN("Switzerland"), "CH"},
+ {963, LPGEN("Syrian Arab Republic"), "SY"},
+ {886, LPGEN("Taiwan, Province of China"), "TW"},
+ {992, LPGEN("Tajikistan"), "TJ"},
+ {255, LPGEN("Tanzania, United Republic of"), "TZ"},
+ {66, LPGEN("Thailand"), "TH"},
+ {670, LPGEN("Timor-Leste"), "TL"},
+ {228, LPGEN("Togo"), "TG"},
+ {690, LPGEN("Tokelau"), "TK"},
+ {676, LPGEN("Tonga"), "TO"},
+ {1868, LPGEN("Trinidad and Tobago"), "TT"},
+ {216, LPGEN("Tunisia"), "TN"},
+ {90, LPGEN("Turkey"), "TR"},
+ {993, LPGEN("Turkmenistan"), "TM"},
+ {1649, LPGEN("Turks and Caicos Islands"), "TC"},
+ {688, LPGEN("Tuvalu"), "TV"},
+ {256, LPGEN("Uganda"), "UG"},
+ {380, LPGEN("Ukraine"), "UA"},
+ {971, LPGEN("United Arab Emirates"), "AE"},
+ {44, LPGEN("United Kingdom"), "GB"},
+ {1, LPGEN("United States"), "US"},
+ {699, LPGEN("United States Minor Outlying Islands"), "UM"},
+ {598, LPGEN("Uruguay"), "UY"},
+ {998, LPGEN("Uzbekistan"), "UZ"},
+ {678, LPGEN("Vanuatu"), "VU"},
+ {58, LPGEN("Venezuela, Bolivarian Republic of"), "VE"},
+ {84, LPGEN("Viet Nam"), "VN"},
+ {1284, LPGEN("Virgin Islands, British"), "VG"},
+ {1340, LPGEN("Virgin Islands, U.S."), "VI"},
+ {681, LPGEN("Wallis and Futuna"), "WF"},
+ {5289, LPGEN("Western Sahara"), "EH"},
+ {967, LPGEN("Yemen"), "YE"},
+ {260, LPGEN("Zambia"), "ZM"},
+ {263, LPGEN("Zimbabwe"), "ZW"}
};
static INT_PTR GetCountryByNumber(WPARAM wParam, LPARAM)
|