From b449a203485d79bc80e70c5060700ec57bfe47ee Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Thu, 18 Mar 2021 08:54:57 +0100 Subject: [PATCH] Rename some variables for clarity --- src/lang/de.json | 4 ++-- src/lang/en.json | 4 ++-- src/module/item/item.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lang/de.json b/src/lang/de.json index c90f833d..e19dbadd 100644 --- a/src/lang/de.json +++ b/src/lang/de.json @@ -66,8 +66,8 @@ "DS4.ItemTypeAlphabetPlural": "Schriftzeichen", "DS4.ItemTypeSpecialCreatureAbility": "Besondere Kreaturenfähigkeit", "DS4.ItemTypeSpecialCreatureAbilityPlural": "Besondere Kreaturenfähigkeiten", - "DS4.ItemWeaponCheckFlavor": "{actor} greift mit {item} an.", - "DS4.ItemSpellCheckFlavor": "{actor} wirkt {item}.", + "DS4.ItemWeaponCheckFlavor": "{actor} greift mit {weapon} an.", + "DS4.ItemSpellCheckFlavor": "{actor} wirkt {spell}.", "DS4.ArmorType": "Panzerungstyp", "DS4.ArmorTypeAbbr": "PAT", "DS4.ArmorMaterialType": "Materialtyp", diff --git a/src/lang/en.json b/src/lang/en.json index 5e4922ad..a3ae4f71 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -66,8 +66,8 @@ "DS4.ItemTypeAlphabetPlural": "Alphabets", "DS4.ItemTypeSpecialCreatureAbility": "Special Creature Ability", "DS4.ItemTypeSpecialCreatureAbilityPlural": "Special Creature Abilities", - "DS4.ItemWeaponCheckFlavor": "{actor} attacks with {item}.", - "DS4.ItemSpellCheckFlavor": "{actor} casts {item}.", + "DS4.ItemWeaponCheckFlavor": "{actor} attacks with {weapon}.", + "DS4.ItemSpellCheckFlavor": "{actor} casts {spell}.", "DS4.ArmorType": "Armor Type", "DS4.ArmorTypeAbbr": "AT", "DS4.ArmorMaterialType": "Material Type", diff --git a/src/module/item/item.ts b/src/module/item/item.ts index 68f468c4..07b5dc47 100644 --- a/src/module/item/item.ts +++ b/src/module/item/item.ts @@ -97,7 +97,7 @@ export class DS4Item extends Item { rollMode: game.settings.get("core", "rollMode"), maximumCoupResult: ownerDataData.rolling.maximumCoupResult, minimumFumbleResult: ownerDataData.rolling.minimumFumbleResult, - flavor: game.i18n.format("DS4.ItemWeaponCheckFlavor", { actor: actor.name, item: this.name }), + flavor: game.i18n.format("DS4.ItemWeaponCheckFlavor", { actor: actor.name, weapon: this.name }), }); } @@ -141,7 +141,7 @@ export class DS4Item extends Item { rollMode: game.settings.get("core", "rollMode"), maximumCoupResult: ownerDataData.rolling.maximumCoupResult, minimumFumbleResult: ownerDataData.rolling.minimumFumbleResult, - flavor: game.i18n.format("DS4.ItemSpellCheckFlavor", { actor: actor.name, item: this.name }), + flavor: game.i18n.format("DS4.ItemSpellCheckFlavor", { actor: actor.name, spell: this.name }), }); }