diff options
Diffstat (limited to 'protocols/Discord/src')
-rw-r--r-- | protocols/Discord/src/dispatch.cpp | 4 | ||||
-rw-r--r-- | protocols/Discord/src/main.cpp | 4 | ||||
-rw-r--r-- | protocols/Discord/src/proto.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp index 10fe201ba1..90d0c6af40 100644 --- a/protocols/Discord/src/dispatch.cpp +++ b/protocols/Discord/src/dispatch.cpp @@ -95,7 +95,7 @@ void CDiscordProto::OnCommandCallCreated(const JSONNode &pRoot) pCall->startTime = time(0); arVoiceCalls.insert(pCall); - char *szMessage = TranslateU("Incoming voice call"); + char *szMessage = TranslateU("Incoming call"); DBEVENTINFO dbei = {}; dbei.szModule = m_szModuleName; dbei.timestamp = pCall->startTime; @@ -129,7 +129,7 @@ void CDiscordProto::OnCommandCallDeleted(const JSONNode &pRoot) return; } - CMStringA szMessage(FORMAT, TranslateU("Voice call ended, %d seconds long"), elapsed); + CMStringA szMessage(FORMAT, TranslateU("Call ended, %d seconds long"), elapsed); DBEVENTINFO dbei = {}; dbei.szModule = m_szModuleName; dbei.timestamp = currTime; diff --git a/protocols/Discord/src/main.cpp b/protocols/Discord/src/main.cpp index ad523cf0e2..a5d871b162 100644 --- a/protocols/Discord/src/main.cpp +++ b/protocols/Discord/src/main.cpp @@ -52,8 +52,8 @@ IconItem g_iconList[] = { { LPGEN("Main icon"), "main", IDI_MAIN }, { LPGEN("Group chats"), "groupchat", IDI_GROUPCHAT }, - { LPGEN("Voice call"), "voicecall", IDI_VOICE_CALL }, - { LPGEN("Voice call ended"), "voiceend", IDI_VOICE_ENDED } + { LPGEN("Call"), "voicecall", IDI_VOICE_CALL }, + { LPGEN("Call ended"), "voiceend", IDI_VOICE_ENDED } }; int CMPlugin::Load() diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp index f07fa1bfab..0ab49eb03c 100644 --- a/protocols/Discord/src/proto.cpp +++ b/protocols/Discord/src/proto.cpp @@ -78,12 +78,12 @@ CDiscordProto::CDiscordProto(const char *proto_name, const wchar_t *username) : dbEventType.flags = DETF_HISTORY | DETF_MSGWINDOW; dbEventType.eventType = EVENT_INCOMING_CALL; - dbEventType.descr = Translate("Incoming voice call"); + dbEventType.descr = Translate("Incoming call"); dbEventType.eventIcon = g_plugin.getIconHandle(IDI_VOICE_CALL); DbEvent_RegisterType(&dbEventType); dbEventType.eventType = EVENT_CALL_FINISHED; - dbEventType.descr = Translate("Voice call ended"); + dbEventType.descr = Translate("Call ended"); dbEventType.eventIcon = g_plugin.getIconHandle(IDI_VOICE_ENDED); DbEvent_RegisterType(&dbEventType); |