for example, src/actions.cpp
if you want to change:
C++:
void Actions::showUseHotkeyMessage(Player* player, const Item* item, uint32_t count)
{
std::ostringstream ss;
const ItemType& it = Item::items[item->getID()];
if (!it.showCount) {
ss << "Using one of " << item->getName() << "...";
} else if (count == 1) {
ss << "Using the last " << item->getName() << "...";
} else {
ss << "Using one of " << count << ' ' << item->getPluralName() << "...";
}
player->sendTextMessage(MESSAGE_INFO_DESCR, ss.str());
}
to:
C++:
void Actions::showUseHotkeyMessage(Player* player, const Item* item, uint32_t count)
{
std::ostringstream ss;
const ItemType& it = Item::items[item->getID()];
if (!it.showCount) {
ss << "Используя один из " << item->getName() << "...";
} else if (count == 1) {
ss << "Используя последний " << item->getName() << "...";
} else {
ss << "Используя один из " << count << ' ' << item->getPluralName() << "...";
}
player->sendTextMessage(MESSAGE_INFO_DESCR, ss.str());
}
you would need to open the file on notepad++ or similar, and change the file encoding to the proper one, to handle these characters and save the file:
View attachment 55665
(sorry it is in Portuguese but I hope you understood it)