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

@ -1,77 +1,77 @@
export const abilities = {
agility: {
label: 'DAGGERHEART.Abilities.agility.name',
label: 'DAGGERHEART.CONFIG.Traits.agility.name',
verbs: [
'DAGGERHEART.Abilities.agility.verb.sprint',
'DAGGERHEART.Abilities.agility.verb.leap',
'DAGGERHEART.Abilities.agility.verb.maneuver'
'DAGGERHEART.CONFIG.Traits.agility.verb.sprint',
'DAGGERHEART.CONFIG.Traits.agility.verb.leap',
'DAGGERHEART.CONFIG.Traits.agility.verb.maneuver'
]
},
strength: {
label: 'DAGGERHEART.Abilities.strength.name',
label: 'DAGGERHEART.CONFIG.Traits.strength.name',
verbs: [
'DAGGERHEART.Abilities.strength.verb.lift',
'DAGGERHEART.Abilities.strength.verb.smash',
'DAGGERHEART.Abilities.strength.verb.grapple'
'DAGGERHEART.CONFIG.Traits.strength.verb.lift',
'DAGGERHEART.CONFIG.Traits.strength.verb.smash',
'DAGGERHEART.CONFIG.Traits.strength.verb.grapple'
]
},
finesse: {
label: 'DAGGERHEART.Abilities.finesse.name',
label: 'DAGGERHEART.CONFIG.Traits.finesse.name',
verbs: [
'DAGGERHEART.Abilities.finesse.verb.control',
'DAGGERHEART.Abilities.finesse.verb.hide',
'DAGGERHEART.Abilities.finesse.verb.tinker'
'DAGGERHEART.CONFIG.Traits.finesse.verb.control',
'DAGGERHEART.CONFIG.Traits.finesse.verb.hide',
'DAGGERHEART.CONFIG.Traits.finesse.verb.tinker'
]
},
instinct: {
label: 'DAGGERHEART.Abilities.instinct.name',
label: 'DAGGERHEART.CONFIG.Traits.instinct.name',
verbs: [
'DAGGERHEART.Abilities.instinct.verb.perceive',
'DAGGERHEART.Abilities.instinct.verb.sense',
'DAGGERHEART.Abilities.instinct.verb.navigate'
'DAGGERHEART.CONFIG.Traits.instinct.verb.perceive',
'DAGGERHEART.CONFIG.Traits.instinct.verb.sense',
'DAGGERHEART.CONFIG.Traits.instinct.verb.navigate'
]
},
presence: {
label: 'DAGGERHEART.Abilities.presence.name',
label: 'DAGGERHEART.CONFIG.Traits.presence.name',
verbs: [
'DAGGERHEART.Abilities.presence.verb.charm',
'DAGGERHEART.Abilities.presence.verb.perform',
'DAGGERHEART.Abilities.presence.verb.deceive'
'DAGGERHEART.CONFIG.Traits.presence.verb.charm',
'DAGGERHEART.CONFIG.Traits.presence.verb.perform',
'DAGGERHEART.CONFIG.Traits.presence.verb.deceive'
]
},
knowledge: {
label: 'DAGGERHEART.Abilities.knowledge.name',
label: 'DAGGERHEART.CONFIG.Traits.knowledge.name',
verbs: [
'DAGGERHEART.Abilities.knowledge.verb.recall',
'DAGGERHEART.Abilities.knowledge.verb.analyze',
'DAGGERHEART.Abilities.knowledge.verb.comprehend'
'DAGGERHEART.CONFIG.Traits.knowledge.verb.recall',
'DAGGERHEART.CONFIG.Traits.knowledge.verb.analyze',
'DAGGERHEART.CONFIG.Traits.knowledge.verb.comprehend'
]
}
};
export const featureProperties = {
agility: {
name: 'DAGGERHEART.Abilities.agility.name',
name: 'DAGGERHEART.CONFIG.Traits.agility.name',
path: actor => actor.system.traits.agility.data.value
},
strength: {
name: 'DAGGERHEART.Abilities.strength.name',
name: 'DAGGERHEART.CONFIG.Traits.strength.name',
path: actor => actor.system.traits.strength.data.value
},
finesse: {
name: 'DAGGERHEART.Abilities.finesse.name',
name: 'DAGGERHEART.CONFIG.Traits.finesse.name',
path: actor => actor.system.traits.finesse.data.value
},
instinct: {
name: 'DAGGERHEART.Abilities.instinct.name',
name: 'DAGGERHEART.CONFIG.Traits.instinct.name',
path: actor => actor.system.traits.instinct.data.value
},
presence: {
name: 'DAGGERHEART.Abilities.presence.name',
name: 'DAGGERHEART.CONFIG.Traits.presence.name',
path: actor => actor.system.traits.presence.data.value
},
knowledge: {
name: 'DAGGERHEART.Abilities.knowledge.name',
name: 'DAGGERHEART.CONFIG.Traits.knowledge.name',
path: actor => actor.system.traits.knowledge.data.value
},
spellcastingTrait: {
@ -83,90 +83,90 @@ export const featureProperties = {
export const adversaryTypes = {
bruiser: {
id: 'bruiser',
label: 'DAGGERHEART.Adversary.Type.bruiser.label',
description: 'DAGGERHEART.Adversary.bruiser.description'
label: 'DAGGERHEART.CONFIG.AdversaryType.bruiser.label',
description: 'DAGGERHEART.ACTORS.Adversary.bruiser.description'
},
horde: {
id: 'horde',
label: 'DAGGERHEART.Adversary.Type.horde.label',
description: 'DAGGERHEART.Adversary.horde.description'
label: 'DAGGERHEART.CONFIG.AdversaryType.horde.label',
description: 'DAGGERHEART.ACTORS.Adversary.horde.description'
},
leader: {
id: 'leader',
label: 'DAGGERHEART.Adversary.Type.leader.label',
description: 'DAGGERHEART.Adversary.leader.description'
label: 'DAGGERHEART.CONFIG.AdversaryType.leader.label',
description: 'DAGGERHEART.ACTORS.Adversary.leader.description'
},
minion: {
id: 'minion',
label: 'DAGGERHEART.Adversary.Type.minion.label',
description: 'DAGGERHEART.Adversary.minion.description'
label: 'DAGGERHEART.CONFIG.AdversaryType.minion.label',
description: 'DAGGERHEART.ACTORS.Adversary.minion.description'
},
ranged: {
id: 'ranged',
label: 'DAGGERHEART.Adversary.Type.ranged.label',
description: 'DAGGERHEART.Adversary.ranged.description'
label: 'DAGGERHEART.CONFIG.AdversaryType.ranged.label',
description: 'DAGGERHEART.ACTORS.Adversary.ranged.description'
},
skulk: {
id: 'skulk',
label: 'DAGGERHEART.Adversary.Type.skulk.label',
description: 'DAGGERHEART.Adversary.skulk.description'
label: 'DAGGERHEART.CONFIG.AdversaryType.skulk.label',
description: 'DAGGERHEART.ACTORS.Adversary.skulk.description'
},
social: {
id: 'social',
label: 'DAGGERHEART.Adversary.Type.social.label',
description: 'DAGGERHEART.Adversary.social.description'
label: 'DAGGERHEART.CONFIG.AdversaryTypee.social.label',
description: 'DAGGERHEART.ACTORS.Adversary.social.description'
},
solo: {
id: 'solo',
label: 'DAGGERHEART.Adversary.Type.solo.label',
description: 'DAGGERHEART.Adversary.solo.description'
label: 'DAGGERHEART.CONFIG.AdversaryType.solo.label',
description: 'DAGGERHEART.ACTORS.Adversary.solo.description'
},
standard: {
id: 'standard',
label: 'DAGGERHEART.Adversary.Type.standard.label',
description: 'DAGGERHEART.Adversary.standard.description'
label: 'DAGGERHEART.CONFIG.AdversaryType.standard.label',
description: 'DAGGERHEART.ACTORS.Adversary.standard.description'
},
support: {
id: 'support',
label: 'DAGGERHEART.Adversary.Type.support.label',
description: 'DAGGERHEART.Adversary.support.description'
label: 'DAGGERHEART.CONFIG.AdversaryType.support.label',
description: 'DAGGERHEART.ACTORS.Adversary.support.description'
}
};
export const environmentTypes = {
exploration: {
label: 'DAGGERHEART.Environment.Type.exploration.label',
description: 'DAGGERHEART.Environment.Type.exploration.description'
label: 'DAGGERHEART.CONFIG.EnvironmentType.exploration.label',
description: 'DAGGERHEART.CONFIG.EnvironmentType.exploration.description'
},
social: {
label: 'DAGGERHEART.Environment.Type.social.label',
description: 'DAGGERHEART.Environment.Type.social.description'
label: 'DAGGERHEART.CONFIG.EnvironmentType.social.label',
description: 'DAGGERHEART.CONFIG.EnvironmentType.social.description'
},
traversal: {
label: 'DAGGERHEART.Environment.Type.traversal.label',
description: 'DAGGERHEART.Environment.Type.traversal.description'
label: 'DAGGERHEART.CONFIG.EnvironmentType.traversal.label',
description: 'DAGGERHEART.CONFIG.EnvironmentType.traversal.description'
},
event: {
label: 'DAGGERHEART.Environment.Type.event.label',
description: 'DAGGERHEART.Environment.Type.event.description'
label: 'DAGGERHEART.CONFIG.EnvironmentType.event.label',
description: 'DAGGERHEART.CONFIG.EnvironmentType.event.description'
}
};
export const adversaryTraits = {
relentless: {
name: 'DAGGERHEART.Adversary.Trait..Name',
description: 'DAGGERHEART.Adversary.Trait..Description',
tip: 'DAGGERHEART.Adversary.Trait..Tip'
name: 'DAGGERHEART.CONFIG.AdversaryTrait.relentless.name',
description: 'DAGGERHEART.CONFIG.AdversaryTrait.relentless.description',
tip: 'DAGGERHEART.CONFIG.AdversaryTrait.relentless.tip'
},
slow: {
name: 'DAGGERHEART.Adversary.Trait..Name',
description: 'DAGGERHEART.Adversary.Trait..Description',
tip: 'DAGGERHEART.Adversary.Trait..Tip'
name: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.name',
description: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.description',
tip: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.tip'
},
minion: {
name: 'DAGGERHEART.Adversary.Trait..Name',
description: 'DAGGERHEART.Adversary.Trait..Description',
tip: 'DAGGERHEART.Adversary.Trait..Tip'
name: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.name',
description: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.description',
tip: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.tip'
}
};
@ -265,41 +265,41 @@ export const levelupData = {
id: '2_4',
tier: 1,
levels: [2, 3, 4],
label: 'DAGGERHEART.LevelUp.Tier1.Label',
info: 'DAGGERHEART.LevelUp.Tier1.InfoLabel',
pretext: 'DAGGERHEART.LevelUp.Tier1.Pretext',
posttext: 'DAGGERHEART.LevelUp.Tier1.Posttext',
label: 'DAGGERHEART.APPLICATIONS.Levelup.tier1.Label',
info: 'DAGGERHEART.APPLICATIONS.Levelup.tier1.InfoLabel',
pretext: 'DAGGERHEART.APPLICATIONS.Levelup.tier1.Pretext',
posttext: 'DAGGERHEART.APPLICATIONS.Levelup.tier1.Posttext',
choices: {
[levelChoices.attributes.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Attributes',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.attributes',
maxChoices: 3
},
[levelChoices.hitPointSlots.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.HitPointSlots',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.hitPointSlots',
maxChoices: 1
},
[levelChoices.stressSlots.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.StressSlots',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.stressSlots',
maxChoices: 1
},
[levelChoices.experiences.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Experiences',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.experiences',
maxChoices: 1
},
[levelChoices.proficiency.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Proficiency',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.proficiency',
maxChoices: 1
},
[levelChoices.armorOrEvasionSlot.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.ArmorOrEvasionSlot',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.armorOrEvasionSlot',
maxChoices: 1
},
[levelChoices.majorDamageThreshold2.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.MajorDamageThreshold2',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.majorDamageThreshold2',
maxChoices: 1
},
[levelChoices.severeDamageThreshold2.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.SevereDamageThreshold2',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.severeDamageThreshold2',
maxChoices: 1
}
}
@ -308,49 +308,49 @@ export const levelupData = {
id: '5_7',
tier: 2,
levels: [5, 6, 7],
label: 'DAGGERHEART.LevelUp.Tier2.Label',
info: 'DAGGERHEART.LevelUp.Tier2.InfoLabel',
pretext: 'DAGGERHEART.LevelUp.Tier2.Pretext',
posttext: 'DAGGERHEART.LevelUp.Tier2.Posttext',
label: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.Label',
info: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.InfoLabel',
pretext: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.Pretext',
posttext: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.Posttext',
choices: {
[levelChoices.attributes.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Attributes',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.attributes',
maxChoices: 3
},
[levelChoices.hitPointSlots.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.HitPointSlots',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.hitPointSlots',
maxChoices: 2
},
[levelChoices.stressSlots.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.StressSlots',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.stressSlots',
maxChoices: 2
},
[levelChoices.experiences.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Experiences',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.experiences',
maxChoices: 1
},
[levelChoices.proficiency.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Proficiency',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.proficiency',
maxChoices: 2
},
[levelChoices.armorOrEvasionSlot.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.ArmorOrEvasionSlot',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.armorOrEvasionSlot',
maxChoices: 2
},
[levelChoices.majorDamageThreshold2.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.MajorDamageThreshold2',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.majorDamageThreshold2',
maxChoices: 1
},
[levelChoices.severeDamageThreshold3.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.SevereDamageThreshold3',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.severeDamageThreshold3',
maxChoices: 1
},
[levelChoices.subclass.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Subclass',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.subclass',
maxChoices: 1
},
[levelChoices.multiclass.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Multiclass',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.multiclass',
maxChoices: 1,
cost: 2
}
@ -360,49 +360,49 @@ export const levelupData = {
id: '8_10',
tier: 3,
levels: [8, 9, 10],
label: 'DAGGERHEART.LevelUp.Tier3.Label',
info: 'DAGGERHEART.LevelUp.Tier3.InfoLabel',
pretext: 'DAGGERHEART.LevelUp.Tier3.Pretext',
posttext: 'DAGGERHEART.LevelUp.Tier3.Posttext',
label: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.Label',
info: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.InfoLabel',
pretext: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.Pretext',
posttext: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.Posttext',
choices: {
[levelChoices.attributes.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Attributes',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.attributes',
maxChoices: 3
},
[levelChoices.hitPointSlots.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.HitPointSlots',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.hitPointSlots',
maxChoices: 2
},
[levelChoices.stressSlots.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.StressSlots',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.stressSlots',
maxChoices: 2
},
[levelChoices.experiences.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Experiences',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.experiences',
maxChoices: 1
},
[levelChoices.proficiency.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Proficiency',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.proficiency',
maxChoices: 2
},
[levelChoices.armorOrEvasionSlot.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.ArmorOrEvasionSlot',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.armorOrEvasionSlot',
maxChoices: 2
},
[levelChoices.majorDamageThreshold2.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.MajorDamageThreshold2',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.majorDamageThreshold2',
maxChoices: 1
},
[levelChoices.severeDamageThreshold4.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.SevereDamageThreshold4',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.severeDamageThreshold4',
maxChoices: 1
},
[levelChoices.subclass.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Subclass',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.subclass',
maxChoices: 1
},
[levelChoices.multiclass.name]: {
description: 'DAGGERHEART.LevelUp.ChoiceDescriptions.Multiclass',
description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.multiclass',
maxChoices: 1,
cost: 2
}
@ -411,7 +411,7 @@ export const levelupData = {
};
export const subclassFeatureLabels = {
1: 'DAGGERHEART.Sheets.PC.DomainCard.FoundationTitle',
2: 'DAGGERHEART.Sheets.PC.DomainCard.SpecializationTitle',
3: 'DAGGERHEART.Sheets.PC.DomainCard.MasteryTitle'
1: 'DAGGERHEART.ITEMS.DomainCard.foundation',
2: 'DAGGERHEART.ITEMS.DomainCard.specializationTitle',
3: 'DAGGERHEART.ITEMS.DomainCard.masteryTitle'
};