diff options
author | George Hazan <ghazan@miranda.im> | 2021-02-20 12:25:22 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-02-20 12:25:22 +0300 |
commit | 84a0b4084a07e89225da4a5fda09b3d88681bd83 (patch) | |
tree | af0ff7c509d7c429381674a07929cbf1129ba86c /plugins | |
parent | 0902cdc3a5413dae6146e4079ec6f76efd96f14f (diff) |
translation fix
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Clist_modern/src/modern_clcitems.cpp | 2 | ||||
-rw-r--r-- | plugins/IEView/src/HTMLBuilder.cpp | 4 | ||||
-rwxr-xr-x | plugins/Msg_Export/src/utils.cpp | 6 |
3 files changed, 6 insertions, 6 deletions
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) {
|