added localization to weapon overview
This commit is contained in:
parent
3ebd8cd177
commit
2ae005f432
2 changed files with 11 additions and 8 deletions
|
@ -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",
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
{{!-- TODO: add localization! --}}
|
||||
{{!-- Tab with overview and quick-actions on owned items --}}
|
||||
<div class="tab items" data-group="primary" data-tab="items">
|
||||
|
||||
{{!-- WEAPONS --}}
|
||||
<h3>Weapons</h3>
|
||||
<h3>{{localize "DS4.ItemTypeWeapon"}}</h3>
|
||||
<ol class="items-list">
|
||||
<li class="item flexrow item-header">
|
||||
<div class="flexrow flex15">
|
||||
|
@ -11,17 +10,17 @@
|
|||
<div class="item-image"></div>
|
||||
<div>#</div> {{!-- amount --}}
|
||||
</div>
|
||||
<div class="item-name flex2">Name</div>
|
||||
<div>AT</div> {{!-- attack type --}} {{!-- SPECIFIC --}}
|
||||
<div class="item-name flex2">{{localize "DS4.ItemName"}}</div>
|
||||
<div>{{localize "DS4.AttackTypeAbbr"}}</div> {{!-- SPECIFIC --}}
|
||||
<div class="flexrow flex15">
|
||||
<div>WB</div> {{!-- weapon bonus --}} {{!-- SPECIFIC --}}
|
||||
<div>OD</div> {{!-- opponent defence --}} {{!-- SPECIFIC --}}
|
||||
<div>{{localize "DS4.WeaponBonusAbbr"}}</div> {{!-- SPECIFIC --}}
|
||||
<div>{{localize "DS4.OpponentDefenseAbbr"}}</div> {{!-- SPECIFIC --}}
|
||||
</div>
|
||||
<div class="flex4">Desc</div> {{!-- description --}}
|
||||
<div class="flex4">{{localize "DS4.DescriptionAbbr"}}</div>
|
||||
{{!-- add button --}}
|
||||
<div class="item-controls"> {{!-- SPECIFIC --}}
|
||||
<a class="item-control item-create" title="Create item" data-type="weapon"><i class="fas fa-plus"></i>
|
||||
Add item</a> {{!-- SPECIFIC --}}
|
||||
{{localize "DS4.ActionAddItem"}}</a> {{!-- SPECIFIC --}}
|
||||
</div>
|
||||
</li>
|
||||
{{#each itemsByType.weapon as |item id|}} {{!-- SPECIFIC --}}
|
||||
|
|
Loading…
Reference in a new issue