This commit is contained in:
François-Xavier Guillois
2023-09-05 12:06:22 +02:00
parent e1238a1ad1
commit 983f856187
15 changed files with 153 additions and 145 deletions
+3 -1
View File
@@ -315,7 +315,9 @@ export class VermineActorSheet extends ActorSheet {
// Grab any data associated with this control.
const data = duplicate(header.dataset);
// Initialize a default name.
const name = `New ${type.capitalize()}`;
// const name = `New ${type.capitalize()}`;
const name = game.i18n.localize('ITEMS.new_' + type);
// Prepare the item object.
const itemData = {
name: name,