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

@ -158,6 +158,7 @@
} }
}, },
"Apps": { "Apps": {
"damage-reduction": "@RipCrypt.common.damage reduction",
"traits-range": "@RipCrypt.common.traits & @RipCrypt.common.range", "traits-range": "@RipCrypt.common.traits & @RipCrypt.common.range",
"grit-skills": "@RipCrypt.common.abilities.grit Skills", "grit-skills": "@RipCrypt.common.abilities.grit Skills",
"gait-skills": "@RipCrypt.common.abilities.gait Skills", "gait-skills": "@RipCrypt.common.abilities.gait Skills",
@ -185,7 +186,8 @@
"star-button-tooltip": "Add Star", "star-button-tooltip": "Add Star",
"unstar-button": "Remove {name} as a starred ammo", "unstar-button": "Remove {name} as a starred ammo",
"unstar-button-tooltip": "Remove Star" "unstar-button-tooltip": "Remove Star"
} },
"protects-the-location": "Protects your {part}"
}, },
"notifs": { "notifs": {
"error": { "error": {

View file

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