mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'juliancoffee/fix_death_message_buff' into 'master'
Fix died_of_buff typo bug See merge request veloren/veloren!3519
This commit is contained in:
commit
b384391ff4
@ -437,7 +437,7 @@ impl<'a> Widget for Chat<'a> {
|
|||||||
.get_msg_ctx(template_key, &i18n::fluent_args! {
|
.get_msg_ctx(template_key, &i18n::fluent_args! {
|
||||||
"attacker" => "{attacker}",
|
"attacker" => "{attacker}",
|
||||||
"name" => "{name}",
|
"name" => "{name}",
|
||||||
"died_from_buff" => "{died_from_buff}",
|
"died_of_buff" => "{died_of_buff}",
|
||||||
"victim" => "{victim}",
|
"victim" => "{victim}",
|
||||||
"environment" => "{environment}",
|
"environment" => "{environment}",
|
||||||
})
|
})
|
||||||
@ -808,7 +808,7 @@ fn insert_killing_buff(buff: BuffKind, localized_strings: &Localization, templat
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
template.replace("{died_from_buff}", &localized_strings.get_msg(buff_outcome))
|
template.replace("{died_of_buff}", &localized_strings.get_msg(buff_outcome))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_chat_template_key(chat_type: &ChatType<String>) -> Option<&str> {
|
fn get_chat_template_key(chat_type: &ChatType<String>) -> Option<&str> {
|
||||||
|
Loading…
Reference in New Issue
Block a user