Add localization for the item sheet fields
This commit is contained in:
parent
94b3ec923b
commit
d9d66abf27
3 changed files with 13 additions and 6 deletions
|
|
@ -55,7 +55,12 @@
|
|||
"save-and-close": "Save and Close",
|
||||
"delete": "Delete",
|
||||
"resizable": "Resizable",
|
||||
"not-resizable": "Not Resizable"
|
||||
"not-resizable": "Not Resizable",
|
||||
"item": {
|
||||
"weight": "Weight",
|
||||
"quantity": "Quantity",
|
||||
"equipped": "Equipped"
|
||||
}
|
||||
},
|
||||
"Apps": {
|
||||
"Ask": {
|
||||
|
|
|
|||
|
|
@ -1,21 +1,23 @@
|
|||
<div class="content">
|
||||
<div class="property">
|
||||
<label for="">
|
||||
Weight
|
||||
<label for="{{meta.idp}}-weight">
|
||||
{{localize "taf.misc.item.weight"}}
|
||||
</label>
|
||||
<input
|
||||
type="number"
|
||||
id="{{meta.idp}}-weight"
|
||||
name="system.weight"
|
||||
value="{{system.weight}}"
|
||||
{{disabled (not meta.editable)}}
|
||||
>
|
||||
</div>
|
||||
<div class="property">
|
||||
<label for="">
|
||||
Equipped
|
||||
<label for="{{meta.idp}}-equipped">
|
||||
{{localize "taf.misc.item.equipped"}}
|
||||
</label>
|
||||
<input
|
||||
type="checkbox"
|
||||
id="{{meta.idp}}-equipped"
|
||||
name="system.equipped"
|
||||
{{checked system.equipped}}
|
||||
{{disabled (not meta.editable)}}
|
||||
|
|
|
|||
|
|
@ -23,6 +23,6 @@
|
|||
value="{{system.quantity}}"
|
||||
{{disabled (not meta.editable)}}
|
||||
data-tooltip
|
||||
aria-label="Quantity"
|
||||
aria-label="{{localize "taf.misc.item.quantity"}}"
|
||||
>
|
||||
</header>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue