Localize and add missing labels

This commit is contained in:
Oliver-Akins 2025-07-31 20:50:44 -06:00
parent 7dfc1bd0c0
commit b1ba33919f
2 changed files with 31 additions and 11 deletions

View file

@ -31,7 +31,7 @@
<label
for="{{ meta.idp }}-gold"
>
Gold
{{ rc-i18n "RipCrypt.common.currency.gold" }}
</label>
<input
type="number"
@ -42,7 +42,7 @@
<label
for="{{ meta.idp }}-silver"
>
Silver
{{ rc-i18n "RipCrypt.common.currency.silver" }}
</label>
<input
type="number"
@ -53,7 +53,7 @@
<label
for="{{ meta.idp }}-copper"
>
Copper
{{ rc-i18n "RipCrypt.common.currency.copper" }}
</label>
<input
type="number"
@ -66,14 +66,20 @@
</div>
<hr class="vertical">
<div class="contents__right">
<span class="section-pill">Location</span>
<span class="section-pill">
{{ rc-i18n "RipCrypt.common.location" }}
</span>
<armour-summary
var:row-gap="8px"
>
<div slot="head">
<input
type="checkbox"
aria-label=""
aria-label="{{
rc-i18n
"RipCrypt.Apps.protects-the-location"
part="@RipCrypt.common.anatomy.head"
}}"
value="head"
{{ checked protects.head }}
name="system.location"
@ -82,7 +88,11 @@
<div slot="body">
<input
type="checkbox"
aria-label=""
aria-label="{{
rc-i18n
"RipCrypt.Apps.protects-the-location"
part="@RipCrypt.common.anatomy.body"
}}"
value="body"
{{ checked protects.body }}
name="system.location"
@ -91,7 +101,11 @@
<div slot="arms">
<input
type="checkbox"
aria-label=""
aria-label="{{
rc-i18n
"RipCrypt.Apps.protects-the-location"
part="@RipCrypt.common.anatomy.arms"
}}"
value="arms"
{{ checked protects.arms }}
name="system.location"
@ -100,7 +114,11 @@
<div slot="legs">
<input
type="checkbox"
aria-label=""
aria-label="{{
rc-i18n
"RipCrypt.Apps.protects-the-location"
part="@RipCrypt.common.anatomy.legs"
}}"
value="legs"
{{ checked protects.legs }}
name="system.location"
@ -110,8 +128,8 @@
<input
type="number"
class="center"
aria-label="Damage reduction"
data-tooltip="Damage reduction"
aria-label="{{ rc-i18n "RipCrypt.Apps.damage-reduction" }}"
data-tooltip="{{ rc-i18n "RipCrypt.Apps.damage-reduction" }}"
min="0"
name="system.protection"
value="{{ system.protection }}"