|
|
|
@ -586,8 +586,10 @@ void CChatGroupWindow::displayMessage(const ucstring &msg, NLMISC::CRGBA col, CC
|
|
|
|
|
ucstring newmsg = msg;
|
|
|
|
|
ucstring prefix;
|
|
|
|
|
|
|
|
|
|
bool noTranslation = false;
|
|
|
|
|
CCDBNodeLeaf *nodeNoTranslation = NLGUI::CDBManager::getInstance()->getDbProp("UI:SAVE:TRANSLATION:" + toUpper(CChatGroup::groupTypeToString(gt)) + ":DISABLE", false);
|
|
|
|
|
bool noTranslation = nodeNoTranslation->getValueBool();
|
|
|
|
|
if (nodeNoTranslation)
|
|
|
|
|
noTranslation = nodeNoTranslation->getValueBool();
|
|
|
|
|
|
|
|
|
|
if (noTranslation) {
|
|
|
|
|
string::size_type startTr = msg.find(ucstring("{:"));
|
|
|
|
|