fix(i18n): localisation des notifications et messages d'erreur du système
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user