diff --git a/langs/en-ca.json b/langs/en-ca.json index bcc87a7..fcd290d 100644 --- a/langs/en-ca.json +++ b/langs/en-ca.json @@ -170,6 +170,20 @@ "mag": "Mags", "cell": "Cells" } + }, + "spells": { + "empty": "You have no spells yet", + "title.cost": "(Cost: {cost})", + "name.label": "Name", + "cost": { + "label": "Cost", + "placeholder": "Bytes per spell cast..." + }, + "description": { + "label": "Description", + "placeholder": "This spell does..." + }, + "add.label": "Add Spell" } }, "sync": { @@ -199,7 +213,16 @@ }, "notification": { "error": { - "invalid-integer": "You must enter a valid whole number" + "invalid-integer": "You must enter a valid whole number", + "item-not-found": "Failed to find an item to delete." + } + }, + "dialogs": { + "spell": { + "delete": { + "title": "Confirm Spell Deletion", + "content": "Are you sure you would like to delete the spell: {name}

This action cannot be reversed." + } } } }, diff --git a/templates/actors/char-sheet-mvp/panels/spells.pc.hbs b/templates/actors/char-sheet-mvp/panels/spells.pc.hbs index 4382259..257c0d9 100644 --- a/templates/actors/char-sheet-mvp/panels/spells.pc.hbs +++ b/templates/actors/char-sheet-mvp/panels/spells.pc.hbs @@ -4,14 +4,16 @@ {{spell.name}} - (Cost: {{spell.system.cost}}) + {{localize "dotdungeon.actor.pc.spells.title.cost" cost=spell.system.cost}}
- +
- +
- + @@ -48,6 +56,8 @@
+
+ {{spell.uuid}} + {{dd-stringify spell}} +
{{else}}

- You have no spells yet! + {{localize "dotdungeon.actor.pc.spells.empty"}}

{{/each}} @@ -71,7 +85,7 @@ {{{ icons.create }}} - Add Spell + {{localize "dotdungeon.actor.pc.spells.add.label"}}