From 40989eb0a17169c3b2e44a51a7db91b1876bbd62 Mon Sep 17 00:00:00 2001 From: Dart Raiden Date: Mon, 14 Mar 2016 22:21:33 +0000 Subject: this statuses looks better while capitalized (thx Wishmaster) git-svn-id: http://svn.miranda-ng.org/main/trunk@16483 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stduserinfo/src/stdinfo.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/core/stduserinfo') diff --git a/src/core/stduserinfo/src/stdinfo.cpp b/src/core/stduserinfo/src/stdinfo.cpp index d069480917..256bed8af2 100644 --- a/src/core/stduserinfo/src/stdinfo.cpp +++ b/src/core/stduserinfo/src/stdinfo.cpp @@ -34,7 +34,7 @@ INT_PTR CALLBACK ContactDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP #define SVS_MONTH 5 #define SVS_SIGNED 6 #define SVS_TIMEZONE 7 -#define SVS_MARTITAL 8 +#define SVS_MARITAL 8 static int Proto_GetContactInfoSetting(MCONTACT hContact, const char *szProto, const char *szModule, const char *szSetting, DBVARIANT *dbv, const int nType) { @@ -97,40 +97,40 @@ static void SetValue(HWND hwndDlg, int idCtrl, MCONTACT hContact, char *szModule mir_snprintf(str, dbv.cVal ? "UTC%+d:%02d" : "UTC", -dbv.cVal / 2, (dbv.cVal & 1) * 30); } } - else if (special == SVS_MARTITAL) { + else if (special == SVS_MARITAL) { switch (dbv.cVal) { case 0: ptstr = TranslateT(""); break; case 10: - ptstr = TranslateT("single"); + ptstr = TranslateT("Single"); break; case 11: - ptstr = TranslateT("close relationships"); + ptstr = TranslateT("Close relationships"); break; case 12: - ptstr = TranslateT("engaged"); + ptstr = TranslateT("Engaged"); break; case 20: - ptstr = TranslateT("married"); + ptstr = TranslateT("Married"); break; case 30: - ptstr = TranslateT("divorced"); + ptstr = TranslateT("Divorced"); break; case 31: - ptstr = TranslateT("separated"); + ptstr = TranslateT("Separated"); break; case 40: - ptstr = TranslateT("widowed"); + ptstr = TranslateT("Widowed"); break; case 50: - ptstr = TranslateT("actively searching"); + ptstr = TranslateT("Actively searching"); break; case 60: - ptstr = TranslateT("in love"); + ptstr = TranslateT("In love"); break; case 70: - ptstr = TranslateT("it\'s complicated"); + ptstr = TranslateT("It\'s complicated"); break; default: unspecified = 1; @@ -239,7 +239,7 @@ static INT_PTR CALLBACK SummaryDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP SetValue(hwndDlg, IDC_DOBDAY, hContact, szProto, "BirthDay", 0); SetValue(hwndDlg, IDC_DOBMONTH, hContact, szProto, "BirthMonth", SVS_MONTH); SetValue(hwndDlg, IDC_DOBYEAR, hContact, szProto, "BirthYear", 0); - SetValue(hwndDlg, IDC_MARITAL, hContact, szProto, "MaritalStatus", SVS_MARTITAL); + SetValue(hwndDlg, IDC_MARITAL, hContact, szProto, "MaritalStatus", SVS_MARITAL); } } break; -- cgit v1.2.3