mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 15:03:37 +02:00
Fixed localizaiton
This commit is contained in:
parent
62d40f8639
commit
3d9dcb0e8d
4 changed files with 10 additions and 13 deletions
12
lang/en.json
12
lang/en.json
|
|
@ -2752,12 +2752,6 @@
|
|||
"label": "Appearance Settings",
|
||||
"hint": "Modify the look of various parts of the system",
|
||||
"duality": "Duality Rolls",
|
||||
"globalSettings": "GM Settings",
|
||||
"globalAnimations": "Global Animations",
|
||||
"diceAppearance": "Dice Appearance",
|
||||
"animations": "Animations",
|
||||
"defaultAnimations": "Set Animations As Player Defaults",
|
||||
"previewAnimation": "Preview Animation",
|
||||
"diceSoNice": {
|
||||
"title": "Dice So Nice",
|
||||
"hint": "Coloration of Duality dice if the Dice So Nice module is used.",
|
||||
|
|
@ -2770,7 +2764,11 @@
|
|||
"material": "Material",
|
||||
"system": "Dice Preset",
|
||||
"font": "Font",
|
||||
"critical": "Duality Critical Animation"
|
||||
"critical": "Duality Critical Animation",
|
||||
"diceAppearance": "Dice Appearance",
|
||||
"animations": "Animations",
|
||||
"defaultAnimations": "Set Animations As Player Defaults",
|
||||
"previewAnimation": "Preview Animation"
|
||||
}
|
||||
},
|
||||
"variantRules": {
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ export default class DHAppearanceSettings extends HandlebarsApplicationMixin(App
|
|||
{ id: 'hope', label: 'DAGGERHEART.GENERAL.hope' },
|
||||
{ id: 'fear', label: 'DAGGERHEART.GENERAL.fear' },
|
||||
{ id: 'advantage', label: 'DAGGERHEART.GENERAL.Advantage.full' },
|
||||
{ id: 'disadvantage', label: 'DAGGERHEART.GENERAL.Disadvantage.full' },
|
||||
{ id: 'disadvantage', label: 'DAGGERHEART.GENERAL.Disadvantage.full' }
|
||||
],
|
||||
initial: 'hope'
|
||||
}
|
||||
|
|
@ -175,7 +175,6 @@ export default class DHAppearanceSettings extends HandlebarsApplicationMixin(App
|
|||
(acc, key) => ({
|
||||
...acc,
|
||||
[key]: {
|
||||
diceTab: key !== 'general',
|
||||
values: this.setting.diceSoNice[key],
|
||||
fields: this.setting.schema.getField(`diceSoNice.${key}`).fields,
|
||||
animations: ['hope', 'fear'].includes(key) ? getAnimationsOptions(key) : {}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<div class="field-section form-fields">
|
||||
{{#if isGM}}
|
||||
<div class="form-group">
|
||||
<label for="dsn-overrideEnabled">{{localize "DAGGERHEART.SETTINGS.Menu.appearance.defaultAnimations"}}</label>
|
||||
<label for="dsn-overrideEnabled">{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.defaultAnimations"}}</label>
|
||||
<input id="dsn-overrideEnabled" type="checkbox" class="default-animations-input" {{checked globalOverrides.diceSoNice.sfx.overrideEnabled}} />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="field-section">
|
||||
<h3>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceAppearance"}}</h3>
|
||||
<h3>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.diceAppearance"}}</h3>
|
||||
|
||||
<div class="label-container full-width">
|
||||
<label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.system"}}</label>
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
</div>
|
||||
|
||||
{{#if animations}}
|
||||
<h3>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.animations"}}</h3>
|
||||
<h3>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.animations"}}</h3>
|
||||
<div class="label-container full-width">
|
||||
<label>{{localize "DAGGERHEART.CONFIG.DaggerheartDiceAnimationEvents.higher.name"}}</label>
|
||||
{{formInput fields.sfx.fields.higher.fields.class value=values.sfx.higher.class blank="" localize=true}}
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
{{/if}}
|
||||
|
||||
<div class="diceSoNice-footer">
|
||||
<label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.previewAnimation"}}</label>
|
||||
<label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.previewAnimation"}}</label>
|
||||
<select name="{{concat id "PreviewAnimation"}}">
|
||||
{{selectOptions @root.animationEvents selected=@root.previewAnimation blank="" localize=true }}
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue