mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 06:38:34 +00:00
tlobby_main: removed chat speaker brackets, replaced with colon
This commit is contained in:
parent
106f1510d3
commit
496b46530f
@ -189,7 +189,7 @@ void tlobby_main::add_chat_message(const time_t& /*time*/,
|
||||
events::chat_handler::MESSAGE_TYPE /*type*/)
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << "<b><" << speaker << "></b> ";
|
||||
ss << "<b>" << speaker << ":</b> ";
|
||||
ss << font::escape_text(message);
|
||||
append_to_chatbox(ss.str());
|
||||
}
|
||||
@ -1171,8 +1171,8 @@ void tlobby_main::add_active_window_whisper(const std::string& sender,
|
||||
const bool force_scroll)
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << "<b><"
|
||||
<< "whisper: " << sender << "></b> " << font::escape_text(message);
|
||||
ss << "<b>"
|
||||
<< "whisper: " << sender << ":</b> " << font::escape_text(message);
|
||||
append_to_chatbox(ss.str(), force_scroll);
|
||||
}
|
||||
|
||||
@ -1181,7 +1181,7 @@ void tlobby_main::add_room_window_message(const std::string& room,
|
||||
const std::string& message)
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << "<b><" << sender << "></b> " << font::escape_text(message);
|
||||
ss << "<b>" << sender << ":</b> " << font::escape_text(message);
|
||||
tlobby_chat_window* t = room_window_open(room, false);
|
||||
if(!t) {
|
||||
ERR_LB << "Room window not open in add_room_window_message for " << room
|
||||
@ -1196,7 +1196,7 @@ void tlobby_main::add_active_window_message(const std::string& sender,
|
||||
const bool force_scroll)
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << "<b><" << sender << "></b> " << font::escape_text(message);
|
||||
ss << "<b>" << sender << ":</b> " << font::escape_text(message);
|
||||
append_to_chatbox(ss.str(), force_scroll);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user