fix(i18n): localisation des notifications et messages d'erreur du système

This commit is contained in:
2026-08-04 09:14:29 +02:00
parent de1fa8ba72
commit 6719deb8fc
11 changed files with 102 additions and 25 deletions
+2 -2
View File
@@ -445,7 +445,7 @@ export class BoLUtility {
event.preventDefault()
let attr = event.currentTarget.attributes['data-attack-id']
if (!attr) {
ui.notifications.warn("Impossible de trouver l'attaque correspondante, erreur de suivi de combat.")
ui.notifications.warn(game.i18n.localize("BOL.notification.AttackNotFound"))
return
}
let attackId = event.currentTarget.attributes['data-attack-id'].value
@@ -583,7 +583,7 @@ export class BoLUtility {
this.blindMessageToGM(chatOptions);
chatOptions.whisper = [game.user.id];
chatOptions.content = "Message only to the GM";
chatOptions.content = game.i18n.localize("BOL.chat.msgonlygm");
}
else {
chatOptions.whisper = this.getUsers(user => user.isGM);