mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-23 16:03:39 +02:00
Fixed localization
This commit is contained in:
parent
88be00567e
commit
42144acfe4
5 changed files with 43 additions and 19 deletions
21
lang/en.json
21
lang/en.json
|
|
@ -677,21 +677,34 @@
|
||||||
},
|
},
|
||||||
"TagTeamSelect": {
|
"TagTeamSelect": {
|
||||||
"title": "Tag Team Roll",
|
"title": "Tag Team Roll",
|
||||||
|
"FIELDS": {
|
||||||
|
"initiator": {
|
||||||
|
"memberId": { "label": "Initiating Character" },
|
||||||
|
"cost": { "label": "Initiation Cost" }
|
||||||
|
}
|
||||||
|
},
|
||||||
"leaderTitle": "Initiating Character",
|
"leaderTitle": "Initiating Character",
|
||||||
"membersTitle": "Participants",
|
"membersTitle": "Participants",
|
||||||
"partyTeam": "Party Team",
|
"partyTeam": "Party Team",
|
||||||
"hopeCost": "Hope Cost",
|
"hopeCost": "Hope Cost",
|
||||||
"initiatingCharacter": "Initiating Character",
|
"initiatingCharacter": "Initiating Character",
|
||||||
|
"selectParticipants": "Select the two participants",
|
||||||
|
"startTagTeamRoll": "Start Tag Team Roll",
|
||||||
|
"openDialogForAll": "Open Dialog For All",
|
||||||
|
"rollType": "Roll Type",
|
||||||
|
"makeYourRoll": "Make your roll",
|
||||||
|
"cancelTagTeamRoll": "Cancel Tag Team Roll",
|
||||||
|
"finishTagTeamRoll": "Finish Tag Team Roll",
|
||||||
"linkMessageHint": "Make a roll from your character sheet to link it to the Tag Team Roll",
|
"linkMessageHint": "Make a roll from your character sheet to link it to the Tag Team Roll",
|
||||||
"damageNotRolled": "Damage not rolled in chat message yet",
|
"damageNotRolled": "Damage not rolled in chat message yet",
|
||||||
"insufficientHope": "The initiating character doesn't have enough hope",
|
"insufficientHope": "The initiating character doesn't have enough hope",
|
||||||
"createTagTeam": "Create TagTeam Roll",
|
"createTagTeam": "Create Tag Team Roll",
|
||||||
"chatMessageRollTitle": "Roll",
|
"chatMessageRollTitle": "Roll",
|
||||||
"cancelConfirmTitle": "Cancel TagTeam Roll",
|
"cancelConfirmTitle": "Cancel Tag Team Roll",
|
||||||
"cancelConfirmText": "Are you sure you want to cancel the TagTeam Roll? This will close it for all other players too.",
|
"cancelConfirmText": "Are you sure you want to cancel the Tag Team Roll? This will close it for all other players too.",
|
||||||
"hints": {
|
"hints": {
|
||||||
"completeRolls": "Set up and complete the rolls for the characters",
|
"completeRolls": "Set up and complete the rolls for the characters",
|
||||||
"selectRoll": "Select which roll value to be used for the Tagteam"
|
"selectRoll": "Select which roll value to be used for the Tag Team"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"TokenConfig": {
|
"TokenConfig": {
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,15 @@ export default class TagTeamData extends foundry.abstract.DataModel {
|
||||||
return {
|
return {
|
||||||
initiator: new fields.SchemaField(
|
initiator: new fields.SchemaField(
|
||||||
{
|
{
|
||||||
memberId: new fields.StringField({ required: true, label: 'Initiating Character' }),
|
memberId: new fields.StringField({
|
||||||
cost: new fields.NumberField({ integer: true, initial: 3, label: 'Initiation Cost' })
|
required: true,
|
||||||
|
label: 'DAGGERHEART.APPLICATIONS.TagTeamSelect.FIELDS.initiator.memberId.label'
|
||||||
|
}),
|
||||||
|
cost: new fields.NumberField({
|
||||||
|
integer: true,
|
||||||
|
initial: 3,
|
||||||
|
label: 'DAGGERHEART.APPLICATIONS.TagTeamSelect.FIELDS.initiator.cost.label'
|
||||||
|
})
|
||||||
},
|
},
|
||||||
{ nullable: true, initial: null }
|
{ nullable: true, initial: null }
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,12 @@
|
||||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
&.party {
|
&.sheet.actor.dh-style.party {
|
||||||
background: url('../assets/parchments/dh-parchment-light.png');
|
background: url('../assets/parchments/dh-parchment-light.png');
|
||||||
|
|
||||||
|
.tab .actions-section .active-action {
|
||||||
|
animation: glow-dark 0.75s infinite alternate;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<section class="initialization-container tab {{#if tabs.initialization.active}} active{{/if}}" data-group="{{tabs.initialization.group}}" data-tab="{{tabs.initialization.id}}">
|
<section class="initialization-container tab {{#if tabs.initialization.active}} active{{/if}}" data-group="{{tabs.initialization.group}}" data-tab="{{tabs.initialization.id}}">
|
||||||
<h2>{{localize "Select the two participants"}}</h2>
|
<h2>{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.selectParticipants"}}</h2>
|
||||||
<div class="members-container">
|
<div class="members-container">
|
||||||
{{#each memberSelection as |member|}}
|
{{#each memberSelection as |member|}}
|
||||||
<a
|
<a
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<div class="intiator-container {{#if initiatorDisabled}}inactive{{/if}}">
|
<div class="intiator-container {{#if initiatorDisabled}}inactive{{/if}}">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>{{localize "Initiating Character"}}</label>
|
<label>{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.FIELDS.initiator.memberId.label"}}</label>
|
||||||
<div class="form-fields">
|
<div class="form-fields">
|
||||||
<select name="initiator.memberId" {{#if initiatorDisabled}}disabled{{/if}}>
|
<select name="initiator.memberId" {{#if initiatorDisabled}}disabled{{/if}}>
|
||||||
{{selectOptions initiatorOptions selected=initiator.memberId blank="" }}
|
{{selectOptions initiatorOptions selected=initiator.memberId blank="" }}
|
||||||
|
|
@ -25,9 +25,9 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<button type="button" data-action="startTagTeamRoll" {{#unless canStartTagTeam}}disabled{{/unless}}>{{localize "Start Tag Team Roll"}} <i class="fa-solid fa-arrow-right-long"></i></button>
|
<button type="button" data-action="startTagTeamRoll" {{#unless canStartTagTeam}}disabled{{/unless}}>{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.startTagTeamRoll"}} <i class="fa-solid fa-arrow-right-long"></i></button>
|
||||||
<div class="finish-tools {{#unless canStartTagTeam}}inactive{{/unless}}">
|
<div class="finish-tools {{#unless canStartTagTeam}}inactive{{/unless}}">
|
||||||
<span>{{localize "Open Dialog For All"}}</span>
|
<span>{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.openDialogForAll"}}</span>
|
||||||
<input type="checkbox" name="openForAllPlayers" {{#unless canStartTagTeam}}disabled{{/unless}} {{checked openForAllPlayers}} />
|
<input type="checkbox" name="openForAllPlayers" {{#unless canStartTagTeam}}disabled{{/unless}} {{checked openForAllPlayers}} />
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
<div class="roll-setup">
|
<div class="roll-setup">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="form-fields">
|
<div class="form-fields">
|
||||||
<label>{{localize "Roll Type"}}</label>
|
<label>{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.rollType"}}</label>
|
||||||
<select class="roll-type-select" data-member="{{key}}" {{#if member.hasRolled}}disabled{{/if}}>
|
<select class="roll-type-select" data-member="{{key}}" {{#if member.hasRolled}}disabled{{/if}}>
|
||||||
{{selectOptions ../rollTypes selected=member.rollType localize=true}}
|
{{selectOptions ../rollTypes selected=member.rollType localize=true}}
|
||||||
</select>
|
</select>
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
{{#if (eq member.rollType 'trait')}}
|
{{#if (eq member.rollType 'trait')}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="form-fields">
|
<div class="form-fields">
|
||||||
<label>{{localize "Trait"}}</label>
|
<label>{{localize "DAGGERHEART.GENERAL.Trait.single"}}</label>
|
||||||
<select name="{{concat "system.tagTeam.members." key ".rollChoice"}}" {{#if member.hasRolled}}disabled{{/if}}>
|
<select name="{{concat "system.tagTeam.members." key ".rollChoice"}}" {{#if member.hasRolled}}disabled{{/if}}>
|
||||||
{{selectOptions ../traitOptions selected=member.rollChoice localize=true blank=""}}
|
{{selectOptions ../traitOptions selected=member.rollChoice localize=true blank=""}}
|
||||||
</select>
|
</select>
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
{{else if (eq member.rollType 'abilityDamage')}}
|
{{else if (eq member.rollType 'abilityDamage')}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="form-fields">
|
<div class="form-fields">
|
||||||
<label>{{localize "Damage Ability"}}</label>
|
<label>{{localize "DAGGERHEART.CONFIG.TagTeamRollTypes.damageAbility"}}</label>
|
||||||
<select name="{{concat "system.tagTeam.members." key ".rollChoice"}}" {{#if member.hasRolled}}disabled{{/if}}>
|
<select name="{{concat "system.tagTeam.members." key ".rollChoice"}}" {{#if member.hasRolled}}disabled{{/if}}>
|
||||||
{{selectOptions member.damageRollOptions selected=member.rollChoice localize=true blank=""}}
|
{{selectOptions member.damageRollOptions selected=member.rollChoice localize=true blank=""}}
|
||||||
</select>
|
</select>
|
||||||
|
|
@ -39,7 +39,7 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="form-fields">
|
<div class="form-fields">
|
||||||
<label>{{localize "Ability"}}</label>
|
<label>{{localize "DAGGERHEART.GENERAL.Ability.single"}}</label>
|
||||||
<select name="{{concat "system.tagTeam.members." key ".rollChoice"}}" {{#if member.hasRolled}}disabled{{/if}}>
|
<select name="{{concat "system.tagTeam.members." key ".rollChoice"}}" {{#if member.hasRolled}}disabled{{/if}}>
|
||||||
{{selectOptions member.rollOptions selected=member.rollChoice localize=true blank=""}}
|
{{selectOptions member.rollOptions selected=member.rollChoice localize=true blank=""}}
|
||||||
</select>
|
</select>
|
||||||
|
|
@ -85,7 +85,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{/with}}
|
{{/with}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="hint">{{localize "Make your roll"}}</span>
|
<span class="hint">{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.makeYourRoll"}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
@ -133,7 +133,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="hint">{{localize "Make your roll"}}</span>
|
<span class="hint">{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.makeYourRoll"}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
@ -179,8 +179,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="finish-container">
|
<div class="finish-container">
|
||||||
<button type="button" data-action="cancelRoll">{{localize "Cancel TagTeam Roll"}}</button>
|
<button type="button" data-action="cancelRoll">{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.cancelTagTeamRoll"}}</button>
|
||||||
<button type="button" data-action="finishRoll" {{#if hintText}}disabled{{/if}} class="finish-button">{{localize "Finish Tagteam Roll"}}</button>
|
<button type="button" data-action="finishRoll" {{#if hintText}}disabled{{/if}} class="finish-button">{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.finishTagTeamRoll"}}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue