WIP: Sorting localization strings

master
U~man 2020-07-11 23:38:23 +02:00
parent f1412c6d55
commit 60fbd30bce
11 changed files with 266 additions and 269 deletions

View File

@ -1,234 +1,236 @@
{
"OSE.Edit": "Edit",
"OSE.Delete": "Delete",
"OSE.Show": "Show",
"OSE.Add": "Add",
"OSE.Ok": "Ok",
"OSE.Reset": "Reset",
"OSE.Cancel": "Cancel",
"OSE.Roll": "Roll",
"OSE.Success": "Success",
"OSE.Failure": "Failure",
"OSE.Edit": "Edit",
"OSE.Delete": "Delete",
"OSE.Show": "Show",
"OSE.Add": "Add",
"OSE.Ok": "Ok",
"OSE.Reset": "Reset",
"OSE.Cancel": "Cancel",
"OSE.Roll": "Roll",
"OSE.Success": "Success",
"OSE.Failure": "Failure",
"OSE.Formula": "Formula",
"OSE.SitMod": "Situational Modifier",
"OSE.Modifier": "Modifier",
"OSE.Modifiers": "Modifiers",
"OSE.RollMode": "Roll Mode",
"OSE.RollExample": "e.g. +1d4",
"OSE.Formula": "Formula",
"OSE.SitMod": "Situational Modifier",
"OSE.Modifier": "Modifier",
"OSE.Modifiers": "Modifiers",
"OSE.RollMode": "Roll Mode",
"OSE.RollExample": "e.g. +1d4",
"OSE.Name": "Name",
"OSE.Class": "Class",
"OSE.Title": "Title",
"OSE.Alignment": "Alignment",
"OSE.Level": "Level",
"OSE.Experience": "Experience",
"OSE.ExperienceBonus": "Bonus Experience",
"OSE.ExperienceNextLevel": "Next level",
"OSE.ExperienceAward": "XP Award",
"OSE.Treasure": "Treasure type",
"OSE.TreasureTable": "Table",
"OSE.TreasureTableHint": "Drop a rollable table here to roll the monster treasure",
"OSE.Size": "Size",
"OSE.Morale": "Morale",
"OSE.MoraleCheck": "Morale Check",
"OSE.Reaction": "Reaction",
"OSE.ReactionCheck": "Reaction Check",
"OSE.Retainer": "Retainer",
"OSE.RetainerWage": "Wage",
"OSE.RetainerUpkeep": "Upkeep",
"OSE.Appearing": "NA",
"OSE.AppearingCheck": "Appearing Check",
"OSE.Attack": "Attack",
"OSE.Encumbrance": "Encumbrance",
"OSE.appearing.check": "Appearing Check",
"OSE.morale.check": "Morale Check",
"OSE.Loyalty": "Loyalty Rating",
"OSE.LoyaltyShort": "LR",
"OSE.AttributeCheck": "Attribute Check",
"OSE.AttributeCheckDetails": "Roll 1d20 <= {score} for success",
"OSE.scores.str.long": "Strength",
"OSE.scores.str.short": "STR",
"OSE.scores.wis.long": "Wisdom",
"OSE.scores.wis.short": "WIS",
"OSE.scores.int.long": "Intelligence",
"OSE.scores.int.short": "INT",
"OSE.scores.dex.long": "Dexterity",
"OSE.scores.dex.short": "DEX",
"OSE.scores.con.long": "Constitution",
"OSE.scores.con.short": "CON",
"OSE.scores.cha.long": "Charisma",
"OSE.scores.cha.short": "CHA",
"OSE.details.name": "Name",
"OSE.details.class": "Class",
"OSE.details.title": "Title",
"OSE.details.alignment": "Alignment",
"OSE.details.level": "Level",
"OSE.details.experience.base": "Experience",
"OSE.details.experience.bonus": "Bonus Experience",
"OSE.details.experience.next": "Next level",
"OSE.details.experience.award": "XP Award",
"OSE.details.treasure": "Treasure type",
"OSE.details.treasureTable": "Table",
"OSE.details.TreasureTableHint": "Drop a rollable table here to roll the monster treasure",
"OSE.details.morale": "Morale",
"OSE.details.reaction": "Reaction",
"OSE.details.appearing": "NA",
"OSE.SavingThrow": "Save",
"OSE.SavingThrowDetails": "Roll 1d20 >= {save} for success",
"OSE.saves.death.short": "D",
"OSE.saves.death.long": "Death Poison",
"OSE.saves.wand.short": "W",
"OSE.saves.wand.long": "Wands",
"OSE.saves.paralysis.short": "P",
"OSE.saves.paralysis.long": "Paralysis Petrify",
"OSE.saves.breath.short": "B",
"OSE.saves.breath.long": "Breath Attacks",
"OSE.saves.spell.short": "S",
"OSE.saves.spell.long": "Spells Rods Staves",
"OSE.saves.magic.long": "Bonus vs Magic",
"OSE.Attack": "Attack",
"OSE.Encumbrance": "Encumbrance",
"OSE.Health": "Hit Points",
"OSE.HealthMax": "Maximum Hit Points",
"OSE.HealthShort": "HP",
"OSE.HitDice": "Hit Dice",
"OSE.HitDiceShort": "HD",
"OSE.Movement": "Movement Rate",
"OSE.MovementDetails": "Movement Details",
"OSE.MovementEncounter": "Encounter Movement Rate",
"OSE.MovementEncounterShort": "En",
"OSE.MovementOverland": "Overland Movement Rate",
"OSE.MovementOverlandShort": "Ov",
"OSE.MovementExplorationShort": "Ex",
"OSE.MovementShort": "MV",
"OSE.ArmorClassNaked": "Naked Armor Class",
"OSE.ArmorClass": "Armor Class",
"OSE.ArmorClassShort": "AC",
"OSE.AscArmorClassShort": "AAC",
"OSE.SpellDC": "Spell DC",
"OSE.SpellDCShort": "DC",
"OSE.Thac0": "THAC0",
"OSE.ABShort": "AB",
"OSE.AB": "Attack Bonus",
"OSE.MeleeShort": "MEL",
"OSE.Melee": "Melee",
"OSE.MeleeBonus": "Melee Bonus",
"OSE.MissileShort": "MIS",
"OSE.Missile": "Missile",
"OSE.MissileBonus": "Missile Bonus",
"OSE.Initiative": "Initiative",
"OSE.InitiativeBonus": "Initiative Bonus",
"OSE.InitiativeShort": "INIT",
"OSE.Attacks": "Attacks Usable per Round",
"OSE.AttacksShort": "ATT",
"OSE.Damage": "Damage",
"OSE.Spellcaster": "Spellcaster",
"OSE.Retainer": "Retainer",
"OSE.RetainerWage": "Wage",
"OSE.RetainerUpkeep": "Upkeep",
"OSE.Loyalty": "Loyalty Rating",
"OSE.LoyaltyShort": "LR",
"OSE.Language": "Language",
"OSE.SpokenLanguages": "Spoken Languages",
"OSE.Literacy": "Literacy",
"OSE.Literate": "Literate",
"OSE.LiteracyBasic": "Basic",
"OSE.Illiterate": "Illiterate",
"OSE.NPCReaction": "NPC Reaction",
"OSE.RetainersMax": "#Retainers",
"OSE.category.attributes": "Attributes",
"OSE.category.inventory": "Inventory",
"OSE.category.abilities": "Abilities",
"OSE.category.spells": "Spells",
"OSE.category.notes": "Notes",
"OSE.category.languages": "Languages",
"OSE.category.description": "Description",
"OSE.panel.abilities": "Abilities",
"OSE.panel.equipment": "Equipment",
"OSE.scores.check": "Attribute Check",
"OSE.scores.details": "Roll 1d20 <= {score} for success",
"OSE.scores.str.long": "Strength",
"OSE.scores.str.short": "STR",
"OSE.scores.wis.long": "Wisdom",
"OSE.scores.wis.short": "WIS",
"OSE.scores.int.long": "Intelligence",
"OSE.scores.int.short": "INT",
"OSE.scores.dex.long": "Dexterity",
"OSE.scores.dex.short": "DEX",
"OSE.scores.con.long": "Constitution",
"OSE.scores.con.short": "CON",
"OSE.scores.cha.long": "Charisma",
"OSE.scores.cha.short": "CHA",
"OSE.Setting.IndividualInit": "Individual Initiative",
"OSE.Setting.IndividualInitHint": "Initiative is rolled for each actor and modified by its DEX score",
"OSE.Setting.AscendingAC": "Ascending Armor Class",
"OSE.Setting.AscendingACHint": "The more the better",
"OSE.Setting.Morale": "Enable monsters Morale Rating",
"OSE.Setting.MoraleHint": "Morale Rating is shown on monster sheets",
"OSE.Setting.THAC0Attacks": "Attacks with THAC0",
"OSE.Setting.THAC0AttacksHint": "Attacks are resolved using the THAC0 value, not compatible with AAC",
"OSE.Setting.VariableWeaponDamage": "Variable Weapon Damage",
"OSE.Setting.VariableWeaponDamageHint": "Weapons have different damage dice",
"OSE.Setting.Encumbrance": "Encumbrance",
"OSE.Setting.EncumbranceHint": "Choose the way encumbrance is calculated",
"OSE.Setting.EncumbranceBasic": "Basic",
"OSE.Setting.EncumbranceDetailed": "Detailed",
"OSE.Setting.MovementAuto": "Calculate Movement",
"OSE.Setting.SignificantTreasure": "Significant Treasure Weight",
"OSE.Setting.SignificantTreasureHint": "Weight at which treasure will reduce the movement, only useful for basic encumbrance",
"OSE.Setting.Welcome": "Display Welcome message",
"OSE.Setting.WelcomeHint": "Display this annoying welcome message",
"OSE.saves.check": "Save",
"OSE.saves.details": "Roll 1d20 >= {save} for success",
"OSE.saves.death.short": "D",
"OSE.saves.death.long": "Death Poison",
"OSE.saves.wand.short": "W",
"OSE.saves.wand.long": "Wands",
"OSE.saves.paralysis.short": "P",
"OSE.saves.paralysis.long": "Paralysis Petrify",
"OSE.saves.breath.short": "B",
"OSE.saves.breath.long": "Breath Attacks",
"OSE.saves.spell.short": "S",
"OSE.saves.spell.long": "Spells Rods Staves",
"OSE.saves.magic.long": "Bonus vs Magic",
"OSE.items.Equip": "Equip",
"OSE.items.Unequip": "Unequip",
"OSE.items.Misc": "Misc",
"OSE.items.Weapons": "Weapons",
"OSE.items.Treasure": "Treasure",
"OSE.items.Armors": "Armors",
"OSE.items.Weight": "Wgt.",
"OSE.items.Qualities": "Qualities",
"OSE.items.Notes": "Notes",
"OSE.items.Cost": "Cost",
"OSE.items.Quantity": "Qt.",
"OSE.items.Roll": "Roll",
"OSE.items.BlindRoll": "Blind",
"OSE.items.Damage": "Damage",
"OSE.items.Melee": "Melee",
"OSE.items.Missile": "Missile",
"OSE.items.Slow": "Slow",
"OSE.items.ArmorAC": "AC",
"OSE.items.ArmorAAC": "AAC",
"OSE.items.Bonus": "Bonus",
"OSE.items.roundAttacks": "Attacks Spent this Round",
"OSE.items.roundAttacksMax": "Maximum Attacks per Round",
"OSE.items.resetAttacks": "Reset all Attacks per Round",
"OSE.items.hasShield": "Has a Shield bonus",
"OSE.items.typeTag": "Type a comma separated list of tag e.g 'Melee,Missile (510 / 1120 / 2130)'",
"OSE.Health": "Hit Points",
"OSE.HealthMax": "Maximum Hit Points",
"OSE.HealthShort": "HP",
"OSE.HitDice": "Hit Dice",
"OSE.HitDiceShort": "HD",
"OSE.armor.type": "Armor Type",
"OSE.armor.unarmored": "Unarmored",
"OSE.armor.light": "Light",
"OSE.armor.heavy": "Heavy",
"OSE.armor.shield": "Shield",
"OSE.spells.spend": "{speaker} is casting {name}!",
"OSE.spells.Memorized": "Memorized",
"OSE.spells.Cast": "Cast",
"OSE.spells.Range": "Range",
"OSE.spells.Slots": "Slots",
"OSE.spells.Class": "Class",
"OSE.spells.Duration": "Duration",
"OSE.spells.Level": "Level",
"OSE.spells.Save": "Save",
"OSE.spells.ResetSlots": "Reset Spell slots",
"OSE.movement.base": "Movement Rate",
"OSE.movement.short": "MV",
"OSE.movement.details": "Movement Details",
"OSE.movement.encounter.long": "Encounter Movement Rate",
"OSE.movement.encounter.short": "En",
"OSE.movement.overland.long": "Overland Movement Rate",
"OSE.movement.overland.short": "Ov",
"OSE.movement.exploration.short": "Ex",
"OSE.movement.exploration.long": "Exploration Movement Rate",
"OSE.abilities.Requirements": "Requirements",
"OSE.ArmorClassNaked": "Naked Armor Class",
"OSE.ArmorClass": "Armor Class",
"OSE.ArmorClassShort": "AC",
"OSE.AscArmorClassShort": "AAC",
"OSE.SpellDC": "Spell DC",
"OSE.SpellDCShort": "DC",
"OSE.Thac0": "THAC0",
"OSE.ABShort": "AB",
"OSE.AB": "Attack Bonus",
"OSE.MeleeShort": "MEL",
"OSE.Melee": "Melee",
"OSE.MeleeBonus": "Melee Bonus",
"OSE.MissileShort": "MIS",
"OSE.Missile": "Missile",
"OSE.MissileBonus": "Missile Bonus",
"OSE.Initiative": "Initiative",
"OSE.InitiativeBonus": "Initiative Bonus",
"OSE.InitiativeShort": "INIT",
"OSE.Attacks": "Attacks Usable per Round",
"OSE.AttacksShort": "ATT",
"OSE.Damage": "Damage",
"OSE.Spellcaster": "Spellcaster",
"OSE.ExplorationCheck": "Check",
"OSE.ExplorationCheckDetails": "Roll 1d6 <= {expl} for success",
"OSE.exploration.ld.long": "Listen at Door",
"OSE.exploration.ld.short": "Listen Door",
"OSE.exploration.ld.abrev": "LD",
"OSE.exploration.od.long": "Open Stuck Door",
"OSE.exploration.od.short": "Open Door",
"OSE.exploration.od.abrev": "OD",
"OSE.exploration.sd.long": "Find Secret Door",
"OSE.exploration.sd.short": "Secret Door",
"OSE.exploration.sd.abrev": "SD",
"OSE.exploration.ft.long": "Find Room Trap",
"OSE.exploration.ft.short": "Find Trap",
"OSE.exploration.ft.abrev": "FT",
"OSE.Language": "Language",
"OSE.SpokenLanguages": "Spoken Languages",
"OSE.Literacy": "Literacy",
"OSE.Literate": "Literate",
"OSE.LiteracyBasic": "Basic",
"OSE.Illiterate": "Illiterate",
"OSE.NPCReaction": "NPC Reaction",
"OSE.RetainersMax": "#Retainers",
"OSE.messages.GetExperience": "{name} gained {value} experience points!",
"OSE.messages.AttackSuccess": "<b>Hits AC {result}!</b> ({bonus})",
"OSE.messages.AttackAscendingSuccess": "<b>Hits AC {result}!</b>",
"OSE.messages.AttackFailure": "<b>Attack fails</b> ({bonus})",
"OSE.messages.InflictsDamage": "Inflicts damage!",
"OSE.ChatContextDamage": "Apply Damage",
"OSE.ChatContextHealing": "Apply Healing",
"OSE.category.attributes": "Attributes",
"OSE.category.inventory": "Inventory",
"OSE.category.abilities": "Abilities",
"OSE.category.spells": "Spells",
"OSE.category.notes": "Notes",
"OSE.category.languages": "Languages",
"OSE.category.description": "Description",
"OSE.category.equipment": "Equipment",
"OSE.colors.green": "Green",
"OSE.colors.red": "Red",
"OSE.colors.yellow": "Yellow",
"OSE.colors.purple": "Purple",
"OSE.colors.blue": "Blue",
"OSE.colors.orange": "Orange",
"OSE.colors.white": "White",
"OSE.Setting.IndividualInit": "Individual Initiative",
"OSE.Setting.IndividualInitHint": "Initiative is rolled for each actor and modified by its DEX score",
"OSE.Setting.AscendingAC": "Ascending Armor Class",
"OSE.Setting.AscendingACHint": "The more the better",
"OSE.Setting.Morale": "Enable monsters Morale Rating",
"OSE.Setting.MoraleHint": "Morale Rating is shown on monster sheets",
"OSE.Setting.THAC0Attacks": "Attacks with THAC0",
"OSE.Setting.THAC0AttacksHint": "Attacks are resolved using the THAC0 value, not compatible with AAC",
"OSE.Setting.VariableWeaponDamage": "Variable Weapon Damage",
"OSE.Setting.VariableWeaponDamageHint": "Weapons have different damage dice",
"OSE.Setting.Encumbrance": "Encumbrance",
"OSE.Setting.EncumbranceHint": "Choose the way encumbrance is calculated",
"OSE.Setting.EncumbranceBasic": "Basic",
"OSE.Setting.EncumbranceDetailed": "Detailed",
"OSE.Setting.MovementAuto": "Calculate Movement",
"OSE.Setting.SignificantTreasure": "Significant Treasure Weight",
"OSE.Setting.SignificantTreasureHint": "Weight at which treasure will reduce the movement, only useful for basic encumbrance",
"OSE.Setting.Welcome": "Display Welcome message",
"OSE.Setting.WelcomeHint": "Display this annoying welcome message",
"OSE.reaction.Hostile": "{name} is Hostile",
"OSE.reaction.Unfriendly": "{name} is Unfriendly",
"OSE.reaction.Neutral": "{name} is Neutral",
"OSE.reaction.Indifferent": "{name} is Indifferent",
"OSE.reaction.Friendly": "{name} is Friendly"
}
"OSE.items.Equip": "Equip",
"OSE.items.Unequip": "Unequip",
"OSE.items.Misc": "Misc",
"OSE.items.Weapons": "Weapons",
"OSE.items.Treasure": "Treasure",
"OSE.items.Armors": "Armors",
"OSE.items.Weight": "Wgt.",
"OSE.items.Qualities": "Qualities",
"OSE.items.Notes": "Notes",
"OSE.items.Cost": "Cost",
"OSE.items.Quantity": "Qt.",
"OSE.items.Roll": "Roll",
"OSE.items.BlindRoll": "Blind",
"OSE.items.Damage": "Damage",
"OSE.items.Melee": "Melee",
"OSE.items.Missile": "Missile",
"OSE.items.Slow": "Slow",
"OSE.items.ArmorAC": "AC",
"OSE.items.ArmorAAC": "AAC",
"OSE.items.Bonus": "Bonus",
"OSE.items.roundAttacks": "Attacks Spent this Round",
"OSE.items.roundAttacksMax": "Maximum Attacks per Round",
"OSE.items.resetAttacks": "Reset all Attacks per Round",
"OSE.items.hasShield": "Has a Shield bonus",
"OSE.items.typeTag": "Type a comma separated list of tag e.g 'Melee,Missile (510 / 1120 / 2130)'",
"OSE.armor.type": "Armor Type",
"OSE.armor.unarmored": "Unarmored",
"OSE.armor.light": "Light",
"OSE.armor.heavy": "Heavy",
"OSE.armor.shield": "Shield",
"OSE.spells.spend": "{speaker} is casting {name}!",
"OSE.spells.Memorized": "Memorized",
"OSE.spells.Cast": "Cast",
"OSE.spells.Range": "Range",
"OSE.spells.Slots": "Slots",
"OSE.spells.Class": "Class",
"OSE.spells.Duration": "Duration",
"OSE.spells.Level": "Level",
"OSE.spells.Save": "Save",
"OSE.spells.ResetSlots": "Reset Spell slots",
"OSE.abilities.Requirements": "Requirements",
"OSE.exploration.check": "Check",
"OSE.exploration.details": "Roll 1d6 <= {expl} for success",
"OSE.exploration.ld.long": "Listen at Door",
"OSE.exploration.ld.short": "Listen Door",
"OSE.exploration.ld.abrev": "LD",
"OSE.exploration.od.long": "Open Stuck Door",
"OSE.exploration.od.short": "Open Door",
"OSE.exploration.od.abrev": "OD",
"OSE.exploration.sd.long": "Find Secret Door",
"OSE.exploration.sd.short": "Secret Door",
"OSE.exploration.sd.abrev": "SD",
"OSE.exploration.ft.long": "Find Room Trap",
"OSE.exploration.ft.short": "Find Trap",
"OSE.exploration.ft.abrev": "FT",
"OSE.messages.GetExperience": "{name} gained {value} experience points!",
"OSE.messages.AttackSuccess": "<b>Hits AC {result}!</b> ({bonus})",
"OSE.messages.AttackAscendingSuccess": "<b>Hits AC {result}!</b>",
"OSE.messages.AttackFailure": "<b>Attack fails</b> ({bonus})",
"OSE.messages.InflictsDamage": "Inflicts damage!",
"OSE.messages.applyDamage": "Apply Damage",
"OSE.messages.ApplyHealing": "Apply Healing",
"OSE.colors.green": "Green",
"OSE.colors.red": "Red",
"OSE.colors.yellow": "Yellow",
"OSE.colors.purple": "Purple",
"OSE.colors.blue": "Blue",
"OSE.colors.orange": "Orange",
"OSE.colors.white": "White",
"OSE.reaction.check": "Reaction Check",
"OSE.reaction.Hostile": "{name} is Hostile",
"OSE.reaction.Unfriendly": "{name} is Unfriendly",
"OSE.reaction.Neutral": "{name} is Neutral",
"OSE.reaction.Indifferent": "{name} is Indifferent",
"OSE.reaction.Friendly": "{name} is Friendly"
}

View File

@ -115,9 +115,7 @@
"OSE.category.abilities": "Habilidades",
"OSE.category.spells": "Conjuros",
"OSE.category.notes": "Notas",
"OSE.panel.abilities": "Habilidades",
"OSE.panel.equipment": "Equipo",
"OSE.category.equipment": "Equipo",
"OSE.Setting.IndividualInit": "Iniciativa Individual",
"OSE.Setting.IndividualInitHint": "La iniciativa se lanza por cada actor y se modifica por su puntuación de DES",
@ -182,8 +180,8 @@
"OSE.abilities.Requirements": "Requisitos",
"OSE.ExplorationCheck": "Check",
"OSE.ExplorationCheckDetails": "Tirar 1d6 <= {expl} para éxito",
"OSE.exploration.check": "Check",
"OSE.exploration.details": "Tirar 1d6 <= {expl} para éxito",
"OSE.exploration.ld.long": "Escuchar Ruidos",
"OSE.exploration.ld.short": "Escuchar Ruidos",
"OSE.exploration.ld.abrev": "ER",

View File

@ -27,7 +27,6 @@
"OSE.Treasure": "Butin",
"OSE.TreasureTable": "Table",
"OSE.TreasureTableHint": "Drop a rollable table here to roll the monster treasure",
"OSE.Size": "Taille",
"OSE.Morale": "Moral",
"OSE.Retainer": "Sbire",
"OSE.Appearing": "NA",
@ -115,9 +114,7 @@
"OSE.category.abilities": "Aptitudes",
"OSE.category.spells": "Sorts",
"OSE.category.notes": "Notes",
"OSE.panel.abilities": "Aptitudes",
"OSE.panel.equipment": "Équipement",
"OSE.category.equipment": "Équipement",
"OSE.Setting.IndividualInit": "Initiative Individuelle",
"OSE.Setting.IndividualInitHint": "L'Initiative est lancée pour chaque acteur, modifié par son score de DEX",
@ -178,8 +175,8 @@
"OSE.abilities.Requirements": "Prérequis",
"OSE.ExplorationCheck": "Test",
"OSE.ExplorationCheckDetails": "Lancer 1d6 <= {expl} pour réussir",
"OSE.exploration.check": "Test",
"OSE.exploration.details": "Lancer 1d6 <= {expl} pour réussir",
"OSE.exploration.ld.long": "Listen at Door",
"OSE.exploration.ld.short": "Listen Door",
"OSE.exploration.ld.abrev": "LD",

View File

@ -73,7 +73,7 @@ export class OseActor extends Actor {
rollData: {
type: "Above",
target: this.data.data.saves[save].value,
details: game.i18n.format("OSE.SavingThrowDetails", { save: label }),
details: game.i18n.format("OSE.saves.details", { save: label }),
},
},
};
@ -87,13 +87,13 @@ export class OseActor extends Actor {
data: data,
skipDialog: skip,
speaker: ChatMessage.getSpeaker({ actor: this }),
flavor: `${label} ${game.i18n.localize("OSE.SavingThrow")}`,
title: `${label} ${game.i18n.localize("OSE.SavingThrow")}`,
flavor: `${label} ${game.i18n.localize("OSE.saves.check")}`,
title: `${label} ${game.i18n.localize("OSE.saves.check")}`,
});
}
rollMorale(options = {}) {
const label = game.i18n.localize(`OSE.Morale`);
const label = game.i18n.localize(`OSE.details.morale`);
const rollParts = ["2d6"];
const data = {
@ -113,8 +113,8 @@ export class OseActor extends Actor {
data: data,
skipDialog: true,
speaker: ChatMessage.getSpeaker({ actor: this }),
flavor: `${label} ${game.i18n.localize("OSE.Roll")}`,
title: `${label} ${game.i18n.localize("OSE.Roll")}`,
flavor: game.i18n.localize("OSE.morale.check"),
title: game.i18n.localize("OSE.morale.check"),
});
}
@ -145,7 +145,7 @@ export class OseActor extends Actor {
}
rollReaction(options = {}) {
const label = game.i18n.localize(`OSE.Reaction`);
const label = game.i18n.localize(`OSE.details.reaction`);
const rollParts = ["2d6"];
const data = {
@ -183,8 +183,8 @@ export class OseActor extends Actor {
data: data,
skipDialog: skip,
speaker: ChatMessage.getSpeaker({ actor: this }),
flavor: `${label} ${game.i18n.localize("OSE.Roll")}`,
title: `${label} ${game.i18n.localize("OSE.Roll")}`,
flavor: game.i18n.localize("OSE.reaction.check"),
title: game.i18n.localize("OSE.reaction.check"),
});
}
@ -198,7 +198,7 @@ export class OseActor extends Actor {
rollData: {
type: "Check",
target: this.data.data.scores[score].value,
details: game.i18n.format("OSE.AttributeCheckDetails", {
details: game.i18n.format("OSE.scores.details", {
score: label,
}),
},
@ -214,8 +214,8 @@ export class OseActor extends Actor {
data: data,
skipDialog: skip,
speaker: ChatMessage.getSpeaker({ actor: this }),
flavor: `${label} ${game.i18n.localize("OSE.AttributeCheck")}`,
title: `${label} ${game.i18n.localize("OSE.AttributeCheck")}`,
flavor: `${label} ${game.i18n.localize("OSE.scores.check")}`,
title: `${label} ${game.i18n.localize("OSE.scores.check")}`,
});
}
@ -270,8 +270,8 @@ export class OseActor extends Actor {
data: data,
skipDialog: true,
speaker: ChatMessage.getSpeaker({ actor: this }),
flavor: `${game.i18n.localize('OSE.AppearingCheck')} ${label}`,
title: `${game.i18n.localize('OSE.AppearingCheck')} ${label}`,
flavor: `${game.i18n.localize('OSE.appearing.check')} ${label}`,
title: `${game.i18n.localize('OSE.appearing.check')} ${label}`,
});
}
@ -285,7 +285,7 @@ export class OseActor extends Actor {
rollData: {
type: "Below",
target: this.data.data.exploration[expl],
details: game.i18n.format("OSE.ExplorationCheckDetails", {
details: game.i18n.format("OSE.exploration.details", {
expl: label,
}),
},
@ -301,8 +301,8 @@ export class OseActor extends Actor {
data: data,
skipDialog: skip,
speaker: ChatMessage.getSpeaker({ actor: this }),
flavor: `${label} ${game.i18n.localize("OSE.ExplorationCheck")}`,
title: `${label} ${game.i18n.localize("OSE.ExplorationCheck")}`,
flavor: `${label} ${game.i18n.localize("OSE.exploration.check")}`,
title: `${label} ${game.i18n.localize("OSE.exploration.check")}`,
});
}

View File

@ -11,13 +11,13 @@ export const addChatMessageContextOptions = function(html, options) {
let canApply = li => canvas.tokens.controlled.length && li.find(".dice-roll").length;
options.push(
{
name: game.i18n.localize("OSE.ChatContextDamage"),
name: game.i18n.localize("OSE.messages.ApplyDamage"),
icon: '<i class="fas fa-user-minus"></i>',
condition: canApply,
callback: li => applyChatCardDamage(li, 1)
},
{
name: game.i18n.localize("OSE.ChatContextHealing"),
name: game.i18n.localize("OSE.messages.ApplyHealing"),
icon: '<i class="fas fa-user-plus"></i>',
condition: canApply,
callback: li => applyChatCardDamage(li, -1)

View File

@ -22,13 +22,13 @@
</div>
{{#if (eq this.type 'character')}}
<div class="form-group">
<label>{{localize "OSE.ExperienceNextLevel"}}</label>
<label>{{localize "OSE.experience.next"}}</label>
<div class="form-fields">
<input type="text" name="data.details.xp.next" id="experiencenext" value="{{data.details.xp.next}}" />
</div>
</div>
<div class="form-group">
<label>{{localize "OSE.ExperienceBonus"}} (%)</label>
<label>{{localize "OSE.experience.bonus"}} (%)</label>
<div class="form-fields">
<input type="text" name="data.details.xp.bonus" id="experience" value="{{data.details.xp.bonus}}" />
</div>

View File

@ -29,7 +29,7 @@
</ul>
<div class="inventory abilities">
<div class="item-titles flexrow">
<div class="item-name">{{localize 'OSE.panel.abilities'}}</div>
<div class="item-name">{{localize 'OSE.category.abilities'}}</div>
<div class="item-controls">
{{#if owner}}
<a class="item-control item-create" title='{{localize "OSE.Add"}}' data-type="ability"><i

View File

@ -164,8 +164,8 @@
<div class="flexrow">
<ul class="attributes flexrow">
<li class="attribute attribute-secondaries">
<h4 class="attribute-name box-title" title="{{localize 'OSE.MovementOverland'}}">
{{localize 'OSE.MovementOverlandShort'}}</h4>
<h4 class="attribute-name box-title" title="{{localize 'OSE.movement.overland.long'}}">
{{localize 'OSE.movement.overland.short'}}</h4>
<div class="flexrow">
<div class="attribute-value">
{{divide data.movement.base 5}}
@ -173,16 +173,16 @@
</div>
</li>
<li class="attribute">
<h4 class="attribute-name box-title" title="{{ localize 'OSE.Movement' }}">
{{ localize "OSE.MovementExplorationShort" }}</h4>
<h4 class="attribute-name box-title" title="{{ localize 'OSE.movement.exploration.long' }}">
{{ localize "OSE.movement.exploration.short" }}</h4>
<div class="attribute-value flexrow">
<input name="data.movement.base" type="text" value="{{data.movement.base}}" placeholder="0"
data-dtype="Number" {{#if data.config.movementAuto}}disabled{{/if}} />
</div>
</li>
<li class="attribute attribute-secondaries">
<h4 class="attribute-name box-title" title="{{localize 'OSE.MovementEncounter'}}">
{{localize 'OSE.MovementEncounterShort'}}</h4>
<h4 class="attribute-name box-title" title="{{localize 'OSE.movement.encounter.long'}}">
{{localize 'OSE.movement.encounter.short'}}</h4>
<div class="flexrow">
<div class="attribute-value">
{{divide data.movement.base 3}}

View File

@ -1,7 +1,7 @@
<img class="profile-img" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" />
<section class="header-details flexrow">
<h1 class="charname">
<input name="name" type="text" value="{{actor.name}}" placeholder="{{localize 'OSE.Name'}}" data-dtype="String" />
<input name="name" type="text" value="{{actor.name}}" placeholder="{{localize 'OSE.details.name'}}" data-dtype="String" />
</h1>
<ul class="summary flexrow">
{{#if data.retainer.enabled}}
@ -19,30 +19,30 @@
<li>
<input type="text" name="data.details.title" value="{{data.details.title}}" data-dtype="String"
/>
<label>{{localize 'OSE.Title'}}</label>
<label>{{localize 'OSE.details.title'}}</label>
</li>
{{/if}}
<li>
<input type="text" name="data.details.alignment" value="{{data.details.alignment}}" data-dtype="String"
/>
<label>{{localize 'OSE.Alignment'}}</label>
<label>{{localize 'OSE.details.alignment'}}</label>
</li>
</ul>
<ul class="summary flexrow">
<li class="flex3">
<input type="text" name="data.details.class" value="{{data.details.class}}" data-dtype="String"
/>
<label>{{localize 'OSE.Class'}}</label>
<label>{{localize 'OSE.details.class'}}</label>
</li>
<li class="{{#if (gt data.details.xp.value data.details.xp.next)}}notify{{/if}}">
<input type="text" name="data.details.level" value="{{data.details.level}}" data-dtype="Number"
/>
<label>{{localize 'OSE.Level'}}</label>
<label>{{localize 'OSE.details.level'}}</label>
</li>
<li class="flex2">
<input type="text" name="data.details.xp.value" value="{{data.details.xp.value}}" data-dtype="Number"
/>
<label>{{localize 'OSE.Experience'}}</label>
<label>{{localize 'OSE.experience.base'}}</label>
{{#if data.details.xp.bonus}}
<span class="xp-bonus">+{{data.details.xp.bonus}}%</span>
{{/if}}

View File

@ -65,8 +65,8 @@
</li>
{{/if}}
<li class="attribute">
<h4 class="attribute-name box-title" title="{{localize 'OSE.Movement'}}">
{{ localize "OSE.MovementShort" }}
<h4 class="attribute-name box-title" title="{{localize 'OSE.movement.base'}}">
{{ localize "OSE.movement.short" }}
</h4>
<div class="attribute-value">
<input name="data.movement.base" type="text" value="{{data.movement.base}}" placeholder="0"
@ -80,7 +80,7 @@
<div class="flex3 panel inventory abilities">
<div>
<li class="item-titles flexrow panel-title">
<div class="item-name">{{localize 'OSE.panel.abilities'}} & {{localize 'OSE.panel.equipment'}}</div>
<div class="item-name">{{localize 'OSE.category.abilities'}} & {{localize 'OSE.category.equipment'}}</div>
<div class="item-controls">
{{#if owner}}
<a class="item-control item-reset" title='{{localize "OSE.items.resetAttacks"}}'><i
@ -151,7 +151,7 @@
<div class="attribute-group">
<ul class="attributes">
<li class="attacks-description">
<label>{{ localize "OSE.MovementDetails" }}</label>
<label>{{ localize "OSE.movement.details" }}</label>
<input name="data.movement.value" type="text" value="{{data.movement.value}}" data-dtype="String" />
</li>
<li class="attribute saving-throw" data-save="death">

View File

@ -24,7 +24,7 @@
{{#if data.save}}
<button data-action="save" data-save="{{data.save}}" disabled>
{{lookup config.saves_long data.save}} {{ localize "OSE.SavingThrow" }}
{{lookup config.saves_long data.save}} {{ localize "OSE.saves.check" }}
</button>
{{/if}}