diff --git a/src/lang/en.json b/src/lang/en.json index 6f8526d1..8f4cd3ea 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -1,5 +1,7 @@ { + "DS4.ActionAddItem": "Add item", "DS4.Description": "Description", + "DS4.DescriptionAbbr": "Desc", "DS4.Details": "Details", "DS4.Effects": "Effects", "DS4.AttackType": "Attack Type", @@ -22,12 +24,14 @@ "DS4.ItemAvailabilityDwarves": "Dwarves", "DS4.ItemAvailabilityUnset": "Unset", "DS4.ItemAvailabilityNowhere": "Nowhere", + "DS4.ItemName": "Name", "DS4.ItemTypeWeapon": "Weapon", "DS4.ItemTypeArmor": "Armor", "DS4.ItemTypeShield": "Shield", "DS4.ItemTypeTrinket": "Trinket", "DS4.ItemTypeEquipment": "Equipment", "DS4.ArmorType": "Armor Type", + "DS4.ArmorTypeAbbr": "AT", "DS4.ArmorMaterialType": "Material Type", "DS4.ArmorValue": "Armor Value", "DS4.ArmorTypeBody": "Body", diff --git a/src/templates/actor/partials/items.hbs b/src/templates/actor/partials/items.hbs index 50d5c817..a2eca0a8 100644 --- a/src/templates/actor/partials/items.hbs +++ b/src/templates/actor/partials/items.hbs @@ -1,9 +1,8 @@ -{{!-- TODO: add localization! --}} {{!-- Tab with overview and quick-actions on owned items --}}
{{!-- WEAPONS --}} -

Weapons

+

{{localize "DS4.ItemTypeWeapon"}}

  1. @@ -11,17 +10,17 @@
    #
    {{!-- amount --}}
    -
    Name
    -
    AT
    {{!-- attack type --}} {{!-- SPECIFIC --}} +
    {{localize "DS4.ItemName"}}
    +
    {{localize "DS4.AttackTypeAbbr"}}
    {{!-- SPECIFIC --}}
    -
    WB
    {{!-- weapon bonus --}} {{!-- SPECIFIC --}} -
    OD
    {{!-- opponent defence --}} {{!-- SPECIFIC --}} +
    {{localize "DS4.WeaponBonusAbbr"}}
    {{!-- SPECIFIC --}} +
    {{localize "DS4.OpponentDefenseAbbr"}}
    {{!-- SPECIFIC --}}
    -
    Desc
    {{!-- description --}} +
    {{localize "DS4.DescriptionAbbr"}}
    {{!-- add button --}}
    {{!-- SPECIFIC --}} - Add item {{!-- SPECIFIC --}} + {{localize "DS4.ActionAddItem"}} {{!-- SPECIFIC --}}
  2. {{#each itemsByType.weapon as |item id|}} {{!-- SPECIFIC --}}