diff options
author | George Hazan <ghazan@miranda.im> | 2021-05-13 12:47:52 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-05-13 12:47:52 +0300 |
commit | 2365166217d0cfae5e728e062ee1dd4f5e964729 (patch) | |
tree | 8db8c7d3185d1a8039da5c8ba8cabf5cd8017081 | |
parent | b9abdafff215858880890ec5aaacd5ea9bb880f1 (diff) |
more human readable strings
-rw-r--r-- | plugins/QuickSearch/src/utils.cpp | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/plugins/QuickSearch/src/utils.cpp b/plugins/QuickSearch/src/utils.cpp index d8a2795d01..fdacf1dafc 100644 --- a/plugins/QuickSearch/src/utils.cpp +++ b/plugins/QuickSearch/src/utils.cpp @@ -454,43 +454,43 @@ void CMPlugin::SaveParamValue(char *buf, DWORD flags, LPARAM value) const wchar_t* cnf2str(int cnf) { switch (cnf) { - case CNF_FIRSTNAME: return TranslateT("FIRSTNAME"); - case CNF_LASTNAME: return TranslateT("LASTNAME"); - case CNF_NICK: return TranslateT("NICK"); - case CNF_CUSTOMNICK: return TranslateT("CUSTOMNICK"); - case CNF_EMAIL: return TranslateT("EMAIL"); - case CNF_CITY: return TranslateT("CITY"); - case CNF_STATE: return TranslateT("STATE"); - case CNF_COUNTRY: return TranslateT("COUNTRY"); - case CNF_PHONE: return TranslateT("PHONE"); - case CNF_HOMEPAGE: return TranslateT("HOMEPAGE"); - case CNF_ABOUT: return TranslateT("ABOUT"); - case CNF_GENDER: return TranslateT("GENDER"); - case CNF_AGE: return TranslateT("AGE"); - case CNF_FIRSTLAST: return TranslateT("FIRSTLAST"); - case CNF_UNIQUEID: return TranslateT("UNIQUEID"); - case CNF_FAX: return TranslateT("FAX"); - case CNF_CELLULAR: return TranslateT("CELLULAR"); - case CNF_TIMEZONE: return TranslateT("TIMEZONE"); - case CNF_MYNOTES: return TranslateT("MYNOTES"); - case CNF_BIRTHDAY: return TranslateT("BIRTHDAY"); - case CNF_BIRTHMONTH: return TranslateT("BIRTHMONTH"); - case CNF_BIRTHYEAR: return TranslateT("BIRTHYEAR"); - case CNF_STREET: return TranslateT("STREET"); - case CNF_ZIP: return TranslateT("ZIP"); - case CNF_LANGUAGE1: return TranslateT("LANGUAGE1"); - case CNF_LANGUAGE2: return TranslateT("LANGUAGE2"); - case CNF_LANGUAGE3: return TranslateT("LANGUAGE3"); - case CNF_CONAME: return TranslateT("CONAME"); - case CNF_CODEPT: return TranslateT("CODEPT"); - case CNF_COPOSITION: return TranslateT("COPOSITION"); - case CNF_COSTREET: return TranslateT("COSTREET"); - case CNF_COCITY: return TranslateT("COCITY"); - case CNF_COSTATE: return TranslateT("COSTATE"); - case CNF_COZIP: return TranslateT("COZIP"); - case CNF_COCOUNTRY: return TranslateT("COCOUNTRY"); - case CNF_COHOMEPAGE: return TranslateT("COHOMEPAGE"); - case CNF_DISPLAYUID: return TranslateT("DISPLAYUID"); + case CNF_FIRSTNAME: return TranslateT("First name"); + case CNF_LASTNAME: return TranslateT("Last name"); + case CNF_NICK: return TranslateT("Nick"); + case CNF_CUSTOMNICK: return TranslateT("Custom nick"); + case CNF_EMAIL: return TranslateT("Email"); + case CNF_CITY: return TranslateT("City"); + case CNF_STATE: return TranslateT("State"); + case CNF_COUNTRY: return TranslateT("Country"); + case CNF_PHONE: return TranslateT("Phone"); + case CNF_HOMEPAGE: return TranslateT("Homepage"); + case CNF_ABOUT: return TranslateT("About"); + case CNF_GENDER: return TranslateT("Gender"); + case CNF_AGE: return TranslateT("Age"); + case CNF_FIRSTLAST: return TranslateT("First name/Last name"); + case CNF_UNIQUEID: return TranslateT("Unique ID"); + case CNF_FAX: return TranslateT("Fax"); + case CNF_CELLULAR: return TranslateT("Cellular"); + case CNF_TIMEZONE: return TranslateT("Time zone"); + case CNF_MYNOTES: return TranslateT("My notes"); + case CNF_BIRTHDAY: return TranslateT("Birth day"); + case CNF_BIRTHMONTH: return TranslateT("Birth month"); + case CNF_BIRTHYEAR: return TranslateT("Birth year"); + case CNF_STREET: return TranslateT("Street"); + case CNF_ZIP: return TranslateT("ZIP code"); + case CNF_LANGUAGE1: return TranslateT("Language #1"); + case CNF_LANGUAGE2: return TranslateT("Language #2"); + case CNF_LANGUAGE3: return TranslateT("Language #3"); + case CNF_CONAME: return TranslateT("Company name"); + case CNF_CODEPT: return TranslateT("Company department"); + case CNF_COPOSITION: return TranslateT("Company position"); + case CNF_COSTREET: return TranslateT("Company street"); + case CNF_COCITY: return TranslateT("Company city"); + case CNF_COSTATE: return TranslateT("Company state"); + case CNF_COZIP: return TranslateT("Company ZIP"); + case CNF_COCOUNTRY: return TranslateT("Company country"); + case CNF_COHOMEPAGE: return TranslateT("Company homepage"); + case CNF_DISPLAYUID: return TranslateT("Display ID"); } return L""; } |