mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix /tell messages
This commit is contained in:
@ -215,6 +215,7 @@ pub fn localize_chat_message(
|
|||||||
.get_msg_ctx(key, &i18n::fluent_args! {
|
.get_msg_ctx(key, &i18n::fluent_args! {
|
||||||
"alias" => name_format(person_to_show),
|
"alias" => name_format(person_to_show),
|
||||||
"user_gender" => gender_str(person_to_show),
|
"user_gender" => gender_str(person_to_show),
|
||||||
|
"msg" => localization.get_content(msg.content()),
|
||||||
})
|
})
|
||||||
.into_owned()
|
.into_owned()
|
||||||
},
|
},
|
||||||
@ -243,6 +244,7 @@ pub fn localize_chat_message(
|
|||||||
localization
|
localization
|
||||||
.get_msg_ctx(key, &i18n::fluent_args! {
|
.get_msg_ctx(key, &i18n::fluent_args! {
|
||||||
"alias" => name_format(person_to_show),
|
"alias" => name_format(person_to_show),
|
||||||
|
"msg" => localization.get_content(msg.content()),
|
||||||
})
|
})
|
||||||
.into_owned()
|
.into_owned()
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user