fix: replace hardcoded French bleeding notifications with i18n keys
This commit is contained in:
+6
-2
@@ -155,7 +155,9 @@ function _registerBleedingHooks() {
|
||||
const bleeding = _findBleedingActors()
|
||||
if (bleeding.length) {
|
||||
ui.notifications.warn(
|
||||
`Saignement actif hors combat : ${bleeding.map(a => a.name).join(", ")}`
|
||||
game.i18n.format("LETHALFANTASY.Notifications.bleedingCombatEnd", {
|
||||
names: bleeding.map(a => a.name).join(", "),
|
||||
})
|
||||
)
|
||||
}
|
||||
})
|
||||
@@ -164,7 +166,9 @@ function _registerBleedingHooks() {
|
||||
const bleeding = _findBleedingActors()
|
||||
if (bleeding.length) {
|
||||
ui.notifications.warn(
|
||||
`Saignement toujours actif sur : ${bleeding.map(a => a.name).join(", ")}`
|
||||
game.i18n.format("LETHALFANTASY.Notifications.bleedingCombatStart", {
|
||||
names: bleeding.map(a => a.name).join(", "),
|
||||
})
|
||||
)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user