Language Organization (#281)

* Organized language

* Organized high level folders

* Some deeper organization

* More org. That's enough ._.

* Capitalized initial system localization categories
This commit is contained in:
WBHarry 2025-07-06 17:43:12 +02:00 committed by GitHub
parent 8a7ff2306a
commit 488844603a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
149 changed files with 2130 additions and 2512 deletions

View file

@ -5,20 +5,20 @@
<h1 class='item-name'><input type='text' name='name' value='{{source.name}}' /></h1>
<div class='item-description'>
{{#if source.system.secondary}}
<h3>{{localize "DAGGERHEART.Sheets.Weapon.SecondaryWeapon"}}</h3>
<h3>{{localize "DAGGERHEART.ITEMS.Weapon.secondaryWeapon"}}</h3>
{{else}}
<h3>{{localize "DAGGERHEART.Sheets.Weapon.PrimaryWeapon"}}</h3>
<h3>{{localize "DAGGERHEART.ITEMS.Weapon.primaryWeapon"}}</h3>
{{/if}}
<h3>
{{localize (concat 'DAGGERHEART.Abilities.' source.system.trait '.short')}}
{{localize (concat 'DAGGERHEART.CONFIG.Traits.' source.system.trait '.short')}}
<span>-</span>
{{localize (concat 'DAGGERHEART.Range.' source.system.range '.name')}}
{{localize (concat 'DAGGERHEART.CONFIG.Range.' source.system.range '.name')}}
<span>-</span>
{{log this}}
{{source.system.damage.dice}} + {{source.system.damage.bonus}}
({{localize (concat 'DAGGERHEART.DamageType.' source.system.damage.type '.abbreviation')}})
({{localize (concat 'DAGGERHEART.CONFIG.DamageType.' source.system.damage.type '.abbreviation')}})
<span>-</span>
{{localize (concat 'DAGGERHEART.Burden.' source.system.burden)}}
{{localize (concat 'DAGGERHEART.CONFIG.Burden.' source.system.burden)}}
</h3>
</div>
</div>

View file

@ -5,30 +5,30 @@
>
<fieldset class="two-columns">
<legend>{{localize tabs.settings.label}}</legend>
<span>{{localize "DAGGERHEART.Tiers.singular"}}</span>
<span>{{localize "DAGGERHEART.GENERAL.Tiers.singular"}}</span>
{{formField systemFields.tier value=source.system.tier}}
<span>{{localize "DAGGERHEART.Sheets.Weapon.SecondaryWeapon"}}</span>
<span>{{localize "DAGGERHEART.ITEMS.Weapon.secondaryWeapon"}}</span>
{{formField systemFields.secondary value=source.system.secondary}}
<span>{{localize "DAGGERHEART.Sheets.Weapon.Trait"}}</span>
<span>{{localize "DAGGERHEART.GENERAL.Trait.single"}}</span>
{{formField systemFields.trait value=source.system.trait localize=true}}
<span>{{localize "DAGGERHEART.Sheets.Weapon.Range"}}</span>
<span>{{localize "DAGGERHEART.GENERAL.range"}}</span>
{{formField systemFields.range value=source.system.range localize=true}}
<span>{{localize "DAGGERHEART.Sheets.Weapon.Burden"}}</span>
<span>{{localize "DAGGERHEART.GENERAL.burden"}}</span>
{{formField systemFields.burden value=source.system.burden localize=true}}
</fieldset>
<fieldset class="two-columns">
<legend>{{localize "DAGGERHEART.Sheets.Weapon.Damage.Title"}}</legend>
<span>{{localize "DAGGERHEART.Sheets.Weapon.Damage.Die"}}</span>
<legend>{{localize "DAGGERHEART.GENERAL.title"}}</legend>
<span>{{localize "DAGGERHEART.GENERAL.Dice.single"}}</span>
{{formGroup systemFields.damage.fields.dice value=source.system.damage.dice}}
<span>{{localize "DAGGERHEART.Sheets.Weapon.Damage.Bonus"}}</span>
<span>{{localize "DAGGERHEART.GENERAL.bonus"}}</span>
{{formGroup systemFields.damage.fields.bonus value=source.system.damage.bonus}}
<span>{{localize "DAGGERHEART.Sheets.Weapon.Damage.Type"}}</span>
<span>{{localize "DAGGERHEART.GENERAL.type"}}</span>
{{formGroup systemFields.damage.fields.type value=source.system.damage.type localize=true}}
</fieldset>
<fieldset class="two-columns">
<legend>{{localize "DAGGERHEART.Sheets.Weapon.Feature"}}</legend>
<span>{{localize "DAGGERHEART.Sheets.Weapon.Feature"}}</span>
<legend>{{localize "TYPES.Item.feature"}}</legend>
<span>{{localize "TYPES.Item.feature"}}</span>
<input type="text" class="features-input" value="{{features}}" />
</fieldset>
</section>