|
|
@ -651,7 +651,11 @@ void CChatManager::chat( const TDataSetRow& sender, const ucstring& ucstr )
|
|
|
|
if (EnableDeepL)
|
|
|
|
if (EnableDeepL)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CChatClient &client = getClient(*itA);
|
|
|
|
CChatClient &client = getClient(*itA);
|
|
|
|
if (ucstr[0] != '>' && client.haveDisabledTranslation(sender_lang))
|
|
|
|
|
|
|
|
|
|
|
|
if (sender_lang == "wk")
|
|
|
|
|
|
|
|
receiver_lang = sender_lang;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (ucstr[0] != '>' && (client.haveDisabledTranslation(sender_lang))
|
|
|
|
receiver_lang = sender_lang;
|
|
|
|
receiver_lang = sender_lang;
|
|
|
|
|
|
|
|
|
|
|
|
if (ucstr[0] == '>') // Sent directly when prefixed by '>', it's the anti-translation code
|
|
|
|
if (ucstr[0] == '>') // Sent directly when prefixed by '>', it's the anti-translation code
|
|
|
|