From 84a0b4084a07e89225da4a5fda09b3d88681bd83 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 20 Feb 2021 12:25:22 +0300 Subject: translation fix --- plugins/Clist_modern/src/modern_clcitems.cpp | 2 +- plugins/IEView/src/HTMLBuilder.cpp | 4 ++-- plugins/Msg_Export/src/utils.cpp | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins') diff --git a/plugins/Clist_modern/src/modern_clcitems.cpp b/plugins/Clist_modern/src/modern_clcitems.cpp index 0aac3a1590..0c1d383421 100644 --- a/plugins/Clist_modern/src/modern_clcitems.cpp +++ b/plugins/Clist_modern/src/modern_clcitems.cpp @@ -406,7 +406,7 @@ int CLVM_GetContactHiddenStatus(MCONTACT hContact, char *szProto, ClcData *dat) return -1; //subcontact if (pdnce && pdnce->m_bIsUnknown && dat != nullptr && !dat->bForceInDialog) - return 1; //'Unknown Contact' + return 1; //'Unknown contact' if (dat != nullptr && dat->bFilterSearch && pdnce && pdnce->tszName) { // search filtering diff --git a/plugins/IEView/src/HTMLBuilder.cpp b/plugins/IEView/src/HTMLBuilder.cpp index 8bcb5737c5..bb9aeae778 100644 --- a/plugins/IEView/src/HTMLBuilder.cpp +++ b/plugins/IEView/src/HTMLBuilder.cpp @@ -171,13 +171,13 @@ wchar_t* HTMLBuilder::getContactName(MCONTACT hContact, const char *szProto) if (str != nullptr) return mir_wstrdup(str); - return mir_wstrdup(TranslateT("(Unknown Contact)")); + return mir_wstrdup(TranslateT("(Unknown contact)")); } char* HTMLBuilder::getEncodedContactName(MCONTACT hContact, const char *szProto) { ptrW name(getContactName(hContact, szProto)); - return encodeUTF8(hContact, (name != NULL) ? name : TranslateT("(Unknown Contact)"), ENF_NAMESMILEYS, true); + return encodeUTF8(hContact, (name != NULL) ? name : TranslateT("(Unknown contact)"), ENF_NAMESMILEYS, true); } void HTMLBuilder::appendEventNew(IEView *view, IEVIEWEVENT *event) diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp index 09ab84ef8d..425e4d3bee 100755 --- a/plugins/Msg_Export/src/utils.cpp +++ b/plugins/Msg_Export/src/utils.cpp @@ -347,10 +347,10 @@ wstring GetFilePathFromUser(MCONTACT hContact) if (!sPrevFileName.empty()) { ReplaceDBPath(sPrevFileName); - // Here we will try to avoid the (Unknown Contact) in cases where the protocol for + // Here we will try to avoid the (Unknown contact) in cases where the protocol for // this user has been removed. - if (bNickUsed && (wcsstr(Clist_GetContactDisplayName(hContact), TranslateT("(Unknown Contact)")) != nullptr)) - return sPrevFileName; // Then the filename must have changed from a correct path to one including the (Unknown Contact) + if (bNickUsed && (wcsstr(Clist_GetContactDisplayName(hContact), TranslateT("(Unknown contact)")) != nullptr)) + return sPrevFileName; // Then the filename must have changed from a correct path to one including the (Unknown contact) // file name has changed if (g_enRenameAction != eDANothing) { -- cgit v1.2.3