Permalink
Browse files

classic client:

removed information who removed file, because information is incorrect.
  • Loading branch information...
beqabeqa473 committed Oct 2, 2018
1 parent f52fe49 commit 911a299c5d474e932f2df64b446738d6ee0a74d8
@@ -2031,7 +2031,7 @@ BEGIN
IDS_POPULATED "Popularity"
IDS_EVERYONE "Everyone"
IDS_FILEADDED "%s added file %s"
IDS_FILEREMOVED "%s removed file %s"
IDS_FILEREMOVED "removed file %s"
IDS_FILEEVENTS "File events"
IDS_FILEADD "File added"
IDS_FILERM "File removed"
@@ -1687,15 +1687,13 @@ void CTeamTalkDlg::OnFileAdd(const TTMessage& msg)
void CTeamTalkDlg::OnFileRemove(const TTMessage& msg)
{
const RemoteFile& remotefile = msg.remotefile;
User user;
m_tabFiles.RemoveFile(remotefile.nChannelID, remotefile.nFileID);
if(remotefile.nChannelID == TT_GetMyChannelID(ttInst))
{
PlaySoundEvent(SOUNDEVENT_FILES_UPDATED);
TT_GetUserByUsername(ttInst, remotefile.szUsername, &user);
CString szMsg;
szMsg.Format(LoadText(IDS_FILEREMOVED), GetDisplayName(user), remotefile.szFileName);
szMsg.Format(LoadText(IDS_FILEREMOVED), remotefile.szFileName);
AddStatusText(szMsg);
if (m_xmlSettings.GetEventTTSEvents() & TTS_FILE_REMOVE)
AddVoiceMessage(szMsg);
@@ -172,7 +172,7 @@
<item id="308">流行</item>
<item id="309">每人</item>
<item id="310">%s 增加文件 %s</item>
<item id="311">%s 删除文件 %s</item>
<item id="311">删除文件 %s</item>
<item id="312">文件事件</item>
<item id="313">文件已添加</item>
<item id="314">文件被删除</item>
@@ -172,7 +172,7 @@
<item id="308">Popularity</item>
<item id="309">Everyone</item>
<item id="310">%s added file %s</item>
<item id="311">%s removed file %s</item>
<item id="311">removed file %s</item>
<item id="312">File events</item>
<item id="313">File added</item>
<item id="314">File removed</item>

0 comments on commit 911a299

Please sign in to comment.