diff --git a/src/lang/en.json b/src/lang/en.json index ee22410..928e2a8 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -10,15 +10,26 @@ "OSE.Success": "Success", "OSE.Failure": "Failure", + "OSE.dialog.tweaks": "Tweaks", + "OSE.Formula": "Formula", "OSE.SitMod": "Situational Modifier", "OSE.Modifier": "Modifier", "OSE.Modifiers": "Modifiers", "OSE.RollMode": "Roll Mode", "OSE.RollExample": "e.g. +1d4", + "OSE.RollFormula": "{label} roll", - "OSE.appearing.check": "Appearing Check", - "OSE.morale.check": "Morale Check", + "OSE.roll.appearing": "Appearing roll", + "OSE.roll.morale": "Morale check", + "OSE.roll.hd": "Hit Dice roll", + "OSE.roll.attackWith": "Attacks with {name}", + "OSE.roll.attacks": "{name} attacks!", + "OSE.roll.save": "Save", + "OSE.roll.attribute": "Attribute check", + "OSE.roll.details.attribute": "Roll 1d20 <= {score} for success", + "OSE.roll.exploration": "Test", + "OSE.roll.reaction": "Reaction roll", "OSE.details.name": "Name", "OSE.details.class": "Class", @@ -31,7 +42,7 @@ "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.treasureTableHint": "Drop a rollable table here to roll the monster treasure", "OSE.details.morale": "Morale", "OSE.details.reaction": "Reaction", "OSE.details.appearing": "NA", @@ -45,7 +56,6 @@ "OSE.Loyalty": "Loyalty Rating", "OSE.LoyaltyShort": "LR", - "OSE.scores.check": "Attribute Check", "OSE.scores.details": "Roll 1d20 <= {score} for success", "OSE.scores.str.long": "Strength", "OSE.scores.str.short": "STR", @@ -60,7 +70,6 @@ "OSE.scores.cha.long": "Charisma", "OSE.scores.cha.short": "CHA", - "OSE.saves.check": "Save", "OSE.saves.details": "Roll 1d20 >= {save} for success", "OSE.saves.death.short": "D", "OSE.saves.death.long": "Death Poison", @@ -94,8 +103,6 @@ "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", @@ -148,8 +155,6 @@ "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.items.Equip": "Equip", "OSE.items.Unequip": "Unequip", @@ -217,7 +222,7 @@ "OSE.messages.AttackFailure": "Attack fails ({bonus})", "OSE.messages.InflictsDamage": "Inflicts damage!", "OSE.messages.applyDamage": "Apply Damage", - "OSE.messages.ApplyHealing": "Apply Healing", + "OSE.messages.applyHealing": "Apply Healing", "OSE.colors.green": "Green", "OSE.colors.red": "Red", diff --git a/src/lang/es.json b/src/lang/es.json index 3692ea5..94d2e79 100644 --- a/src/lang/es.json +++ b/src/lang/es.json @@ -1,213 +1,230 @@ { - "OSE.Edit": "Editar", - "OSE.Delete": "Borrar", - "OSE.Show": "Ver", - "OSE.Add": "Añadir", - "OSE.Ok": "Ok", - "OSE.Reset": "Reinciar", - "OSE.Cancel": "Cancelar", - "OSE.Roll": "Tirada", - "OSE.Success": "Éxito", - "OSE.Failure": "Fallo", + "OSE.Edit": "Editar", + "OSE.Delete": "Borrar", + "OSE.Show": "Ver", + "OSE.Add": "Añadir", + "OSE.Ok": "Ok", + "OSE.Reset": "Reinciar", + "OSE.Cancel": "Cancelar", + "OSE.Roll": "Tirada", + "OSE.Success": "Éxito", + "OSE.Failure": "Fallo", - "OSE.Formula": "Formula", - "OSE.SitMod": "Modificador Situational", - "OSE.Modifier": "Modificador", - "OSE.RollMode": "Modo Tirada", - "OSE.RollExample": "ej. +1d4", + "OSE.Formula": "Formula", + "OSE.SitMod": "Modificador Situational", + "OSE.Modifier": "Modificador", + "OSE.Modifiers": "Modificadors", + "OSE.RollMode": "Modo Tirada", + "OSE.RollExample": "ej. +1d4", + "OSE.RollFormula": "{label} tirada", - "OSE.Name": "Nombre", - "OSE.Class": "Clase", - "OSE.Title": "Titulo", - "OSE.Alignment": "Alineamiento", - "OSE.Level": "Nivel", - "OSE.Experience": "Experiencia", - "OSE.ExperienceBonus": "Bonus Experiencia", - "OSE.ExperienceAward": "Premio EXP", - "OSE.Treasure": "Tipo de Tesoro", - "OSE.TreasureTable": "Tabla", - "OSE.TreasureTableHint": "Arrastra una tabla aquí para tirar el tesoro del monstruo", - "OSE.Size": "Tamaño", - "OSE.Morale": "Moral", - "OSE.Retainer": "Seguidores", - "OSE.Appearing": "NA", - "OSE.Attack": "Ataque", - "OSE.Encumbrance": "Carga", + "OSE.details.name": "Nombre", + "OSE.details.class": "Clase", + "OSE.details.title": "Titulo", + "OSE.details.alignment": "Alineamiento", + "OSE.details.level": "Nivel", + "OSE.details.experience.base": "Experiencia", + "OSE.details.experience.bonus": "Bonus Experiencia", + "OSE.details.experience.award": "Premio EXP", + "OSE.details.treasure": "Tipo de Tesoro", + "OSE.details.treasureTable": "Tabla", + "OSE.details.treasureTableHint": "Arrastra una tabla aquí para tirar el tesoro del monstruo", + "OSE.details.morale": "Moral", + "OSE.details.reaction": "Reacción", + "OSE.details.appearing": "NA", - "OSE.Loyalty": "Puntuación Lealtad", - "OSE.LoyaltyShort": "PL", - - "OSE.AttributeCheck": "Prueba de Atributo", - "OSE.AttributeCheckDetails": "Tira 1d20 <= {score} para éxito", - "OSE.scores.str.long": "Fuerza", - "OSE.scores.str.short": "FUE", - "OSE.scores.wis.long": "Sabiduría", - "OSE.scores.wis.short": "SAB", - "OSE.scores.int.long": "Inteligencia", - "OSE.scores.int.short": "INT", - "OSE.scores.dex.long": "Destreza", - "OSE.scores.dex.short": "DES", - "OSE.scores.con.long": "Constitucion", - "OSE.scores.con.short": "CON", - "OSE.scores.cha.long": "Carisma", - "OSE.scores.cha.short": "CAR", + "OSE.Attack": "Ataque", + "OSE.Encumbrance": "Carga", - "OSE.SavingThrow": "Salvación", - "OSE.SavingThrowDetails": "Tira 1d20 >= {save} para éxito", - "OSE.saves.death.short": "M", - "OSE.saves.death.long": "Veneno o Muerte", - "OSE.saves.wand.short": "V", - "OSE.saves.wand.long": "Varitas mágicas", - "OSE.saves.paralysis.short": "P", - "OSE.saves.paralysis.long": "Petrificación o Parálisis", - "OSE.saves.breath.short": "A", - "OSE.saves.breath.long": "Aliento de Dragón", - "OSE.saves.spell.short": "C", - "OSE.saves.spell.long": "Sort. Varas Báculos", - "OSE.saves.magic.long": "Bonificación vs Magia", + "OSE.Retainer": "Seguidores", + "OSE.RetainerWage": "Salario", + "OSE.RetainerUpkeep": "Mantenimiento", + "OSE.Loyalty": "Puntuación Lealtad", + "OSE.LoyaltyShort": "PL", - "OSE.Health": "Puntos de Golpes", - "OSE.HealthMax": "Puntos de Golpes Máximos", - "OSE.HealthShort": "PG", - "OSE.HitDice": "Puntos de Golpe", - "OSE.HitDiceShort": "DG", - "OSE.Movement": "Movimiento", - "OSE.MovementDetails": "Detalles de Movimiento", - "OSE.MovementEncounter": "Combate", - "OSE.MovementEncounterShort": "Co", - "OSE.MovementOverland": "Base", - "OSE.MovementOverlandShort": "Ba", - "OSE.MovementExplorationShort": "Ex", - "OSE.MovementShort": "MV", - "OSE.ArmorClassNaked": "Sin Armadura", - "OSE.ArmorClass": "Clase de Armadura", - "OSE.ArmorClassShort": "CA", - "OSE.AscArmorClassShort": "CAA", - "OSE.SpellDC": "CD Conjuro", - "OSE.SpellDCShort": "CD", - "OSE.Thac0": "GAC0", - "OSE.ABShort": "BA", - "OSE.AB": "Bono Ataque", - "OSE.MeleeShort": "CC", - "OSE.Melee": "Cuerpo a Cuerpo", - "OSE.MeleeBonus": "Bono CC", - "OSE.MissileShort": "DIS", - "OSE.Missile": "Distancia", - "OSE.MissileBonus": "Bono Distancia", - "OSE.Initiative": "Iniciativa", - "OSE.InitiativeBonus": "Bonificador Iniciativa", - "OSE.InitiativeShort": "INI", - "OSE.Attacks": "Ataques usables por Round", - "OSE.AttacksShort": "ATQ", - "OSE.Damage": "Daño", - "OSE.Spellcaster": "Lanzador Conjuros", + "OSE.scores.check": "Prueba de Atributo", + "OSE.scores.details": "Tira 1d20 <= {score} para éxito", + "OSE.scores.str.long": "Fuerza", + "OSE.scores.str.short": "FUE", + "OSE.scores.wis.long": "Sabiduría", + "OSE.scores.wis.short": "SAB", + "OSE.scores.int.long": "Inteligencia", + "OSE.scores.int.short": "INT", + "OSE.scores.dex.long": "Destreza", + "OSE.scores.dex.short": "DES", + "OSE.scores.con.long": "Constitucion", + "OSE.scores.con.short": "CON", + "OSE.scores.cha.long": "Carisma", + "OSE.scores.cha.short": "CAR", - "OSE.SpokenLanguages": "Lenguajes Hablados", - "OSE.Literacy": "Leer/Esc.", - "OSE.Literate": "Alfabetizado", - "OSE.LiteracyBasic": "Basico", - "OSE.Illiterate": "Analfabeto", - "OSE.NPCReaction": "Reacción NPC", - "OSE.RetainersMax": "#Seguidores", - - "OSE.category.attributes": "Atributos", - "OSE.category.inventory": "Inventario", - "OSE.category.abilities": "Habilidades", - "OSE.category.spells": "Conjuros", - "OSE.category.notes": "Notas", - "OSE.category.equipment": "Equipo", + "OSE.saves.check": "Salvación", + "OSE.saves.details": "Tira 1d20 >= {save} para éxito", + "OSE.saves.death.short": "M", + "OSE.saves.death.long": "Veneno o Muerte", + "OSE.saves.wand.short": "V", + "OSE.saves.wand.long": "Varitas mágicas", + "OSE.saves.paralysis.short": "P", + "OSE.saves.paralysis.long": "Petrificación o Parálisis", + "OSE.saves.breath.short": "A", + "OSE.saves.breath.long": "Aliento de Dragón", + "OSE.saves.spell.short": "C", + "OSE.saves.spell.long": "Sort. Varas Báculos", + "OSE.saves.magic.long": "Bonificación vs Magia", - "OSE.Setting.IndividualInit": "Iniciativa Individual", - "OSE.Setting.IndividualInitHint": "La iniciativa se lanza por cada actor y se modifica por su puntuación de DES", - "OSE.Setting.AscendingAC": "Categoria de Armadura Ascendente", - "OSE.Setting.AscendingACHint": "En cuanto más mejor", - "OSE.Setting.Morale": "Activar puntuación de Moral para monstruos", - "OSE.Setting.MoraleHint": "La puntuación de moral se ve en las hojas de monstruo", - "OSE.Setting.THAC0Attacks": "Ataques con GAC0", - "OSE.Setting.THAC0AttacksHint": "Los Ataques se resuelven usango el valor de GACO, no compatible con CAA", - "OSE.Setting.VariableWeaponDamage": "Daño de arma variable", - "OSE.Setting.VariableWeaponDamageHint": "Las armas tienen diferente dado de daño", - "OSE.Setting.Encumbrance": "Carga", - "OSE.Setting.EncumbranceHint": "Elige como se calcula la Carga", - "OSE.Setting.EncumbranceBasic": "Básica", - "OSE.Setting.EncumbranceDetailed": "Detallada", - "OSE.Setting.MovementAuto": "Calcular Movimiento", - "OSE.Setting.SignificantTreasure": "Peso de tesoro significativo", - "OSE.Setting.SignificantTreasureHint": "Peso con el que el tesoro reducirá el movimiento, solo útil para el cálculo básico", - "OSE.Setting.Welcome": "Mostrar mensaje de Bienvenida", - "OSE.Setting.WelcomeHint": "Muestra este molesto mensaje de Bienvenida", + "OSE.Health": "Puntos de Golpes", + "OSE.HealthMax": "Puntos de Golpes Máximos", + "OSE.HealthShort": "PG", + "OSE.HitDice": "Puntos de Golpe", + "OSE.HitDiceShort": "DG", + + "OSE.movement.base": "Movimiento", + "OSE.movement.short": "MV", + "OSE.movement.details": "Detalles de Movimiento", + "OSE.movement.encounter.long": "Combate", + "OSE.movement.encounter.short": "Co", + "OSE.movement.overland.long": "Base", + "OSE.movement.overland.short": "Ba", + "OSE.movement.exploration.short": "Ex", + "OSE.movement.exploration.long": "Exploration Movement Rate", - "OSE.items.Equip": "Equipar", - "OSE.items.Unequip": "Desequipar", - "OSE.items.Misc": "Misc", - "OSE.items.Weapons": "Armas", - "OSE.items.Treasure": "Tesoro", - "OSE.items.Armors": "Armaduras", - "OSE.items.Weight": "Peso", - "OSE.items.Qualities": "Cualidades", - "OSE.items.Notes": "Notas", - "OSE.items.Cost": "Coste", - "OSE.items.Quantity": "Qt.", - "OSE.items.Roll": "Tirada", - "OSE.items.BlindRoll": "Ciega", - "OSE.items.Damage": "Daño", - "OSE.items.Melee": "CC", - "OSE.items.Missile": "Distancia", - "OSE.items.Slow": "Slow", - "OSE.items.ArmorAC": "CA", - "OSE.items.ArmorAAC": "CAA", - "OSE.items.Bonus": "Bonus", - "OSE.items.roundAttacks": "Ataques usados este Round", - "OSE.items.roundAttacksMax": "Máximo Ataques por Round", - "OSE.items.resetAttacks": "Reiniciar Ataques por Round", + "OSE.ArmorClassNaked": "Sin Armadura", + "OSE.ArmorClass": "Clase de Armadura", + "OSE.ArmorClassShort": "CA", + "OSE.AscArmorClassShort": "CAA", + "OSE.SpellDC": "CD Conjuro", + "OSE.SpellDCShort": "CD", + "OSE.Thac0": "GAC0", + "OSE.ABShort": "BA", + "OSE.AB": "Bono Ataque", + "OSE.MeleeShort": "CC", + "OSE.Melee": "Cuerpo a Cuerpo", + "OSE.MeleeBonus": "Bono CC", + "OSE.MissileShort": "DIS", + "OSE.Missile": "Distancia", + "OSE.MissileBonus": "Bono Distancia", + "OSE.Initiative": "Iniciativa", + "OSE.InitiativeBonus": "Bonificador Iniciativa", + "OSE.InitiativeShort": "INI", + "OSE.Attacks": "Ataques usables por Round", + "OSE.AttacksShort": "ATQ", + "OSE.Damage": "Daño", + "OSE.Spellcaster": "Lanzador Conjuros", - "OSE.armor.type": "Tipo Armadura", - "OSE.armor.unarmored": "Sin Armadura", - "OSE.armor.light": "Ligera", - "OSE.armor.heavy": "Pesada", - "OSE.armor.shield": "Escudo", - - "OSE.spells.spend": "{speaker} esta lanzando {name}!", - "OSE.spells.Memorized": "Memorizado", - "OSE.spells.Cast": "Lanzar", - "OSE.spells.Range": "Alcance", - "OSE.spells.Slots": "Espacios", - "OSE.spells.Class": "Clase", - "OSE.spells.Duration": "Duración", - "OSE.spells.Level": "Nivel", - "OSE.spells.Save": "Salvación", - "OSE.spells.ResetSlots": "Reniciar Espacios de conjuro", + "OSE.Language": "Lenguaje", + "OSE.SpokenLanguages": "Lenguajes Hablados", + "OSE.Literacy": "Leer/Esc.", + "OSE.Literate": "Alfabetizado", + "OSE.LiteracyBasic": "Basico", + "OSE.Illiterate": "Analfabeto", + "OSE.NPCReaction": "Reacción NPC", + "OSE.RetainersMax": "#Seguidores", - "OSE.abilities.Requirements": "Requisitos", + "OSE.category.attributes": "Atributos", + "OSE.category.inventory": "Inventario", + "OSE.category.abilities": "Habilidades", + "OSE.category.spells": "Conjuros", + "OSE.category.notes": "Notas", + "OSE.category.description": "Descripción", + "OSE.category.equipment": "Equipo", - "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", - "OSE.exploration.od.long": "Abrir puertas", - "OSE.exploration.od.short": "Abrir puertas", - "OSE.exploration.od.abrev": "AP", - "OSE.exploration.sd.long": "Detectar puertas secretas", - "OSE.exploration.sd.short": "Puertas secretas", - "OSE.exploration.sd.abrev": "PS", - "OSE.exploration.ft.long": "Detectar trampas y fosos", - "OSE.exploration.ft.short": "Detectar trampas", - "OSE.exploration.ft.abrev": "DT", + "OSE.Setting.IndividualInit": "Iniciativa Individual", + "OSE.Setting.IndividualInitHint": "La iniciativa se lanza por cada actor y se modifica por su puntuación de DES", + "OSE.Setting.AscendingAC": "Categoria de Armadura Ascendente", + "OSE.Setting.AscendingACHint": "En cuanto más mejor", + "OSE.Setting.Morale": "Activar puntuación de Moral para monstruos", + "OSE.Setting.MoraleHint": "La puntuación de moral se ve en las hojas de monstruo", + "OSE.Setting.THAC0Attacks": "Ataques con GAC0", + "OSE.Setting.THAC0AttacksHint": "Los Ataques se resuelven usango el valor de GACO, no compatible con CAA", + "OSE.Setting.VariableWeaponDamage": "Daño de arma variable", + "OSE.Setting.VariableWeaponDamageHint": "Las armas tienen diferente dado de daño", + "OSE.Setting.Encumbrance": "Carga", + "OSE.Setting.EncumbranceHint": "Elige como se calcula la Carga", + "OSE.Setting.EncumbranceBasic": "Básica", + "OSE.Setting.EncumbranceDetailed": "Detallada", + "OSE.Setting.MovementAuto": "Calcular Movimiento", + "OSE.Setting.SignificantTreasure": "Peso de tesoro significativo", + "OSE.Setting.SignificantTreasureHint": "Peso con el que el tesoro reducirá el movimiento, solo útil para el cálculo básico", - "OSE.messages.GetExperience": "{name} ha ganado {value} puntos de experiencia!", - "OSE.messages.AttackSuccess": "Golpea CA {result}! ({bonus})", - "OSE.messages.AttackAscendingSuccess": "Golpea CA {result}!", - "OSE.messages.AttackFailure": "Falla el ataque ({bonus})", - "OSE.messages.InflictsDamage": "Inflinge daño!", - "OSE.ChatContextDamage": "Aplicar Daño", - "OSE.ChatContextHealing": "Aplicar Curación", + "OSE.items.Equip": "Equipar", + "OSE.items.Unequip": "Desequipar", + "OSE.items.Misc": "Misc", + "OSE.items.Weapons": "Armas", + "OSE.items.Treasure": "Tesoro", + "OSE.items.Armors": "Armaduras", + "OSE.items.Weight": "Peso", + "OSE.items.Qualities": "Cualidades", + "OSE.items.Notes": "Notas", + "OSE.items.Cost": "Coste", + "OSE.items.Quantity": "Qt.", + "OSE.items.Roll": "Tirada", + "OSE.items.BlindRoll": "Ciega", + "OSE.items.Damage": "Daño", + "OSE.items.Melee": "CC", + "OSE.items.Missile": "Distancia", + "OSE.items.Slow": "Slow", + "OSE.items.ArmorAC": "CA", + "OSE.items.ArmorAAC": "CAA", + "OSE.items.Bonus": "Bonus", + "OSE.items.roundAttacks": "Ataques usados este Round", + "OSE.items.roundAttacksMax": "Máximo Ataques por Round", + "OSE.items.resetAttacks": "Reiniciar Ataques por Round", + "OSE.items.hasShield": "Tiene un bono de Escudo", + "OSE.items.typeTag": "Escriba una lista de etiquetas separadas por comas, por ejemplo 'Melee, Misile (5'-10' / 11'-20' / 21'-30')'", - "OSE.colors.green": "Verde", - "OSE.colors.red": "Rojo", - "OSE.colors.yellow": "Amarillo", - "OSE.colors.purple": "Purpura", - "OSE.colors.blue": "Azul", - "OSE.colors.orange": "Naranja", - "OSE.colors.white": "Blanco" -} \ No newline at end of file + "OSE.armor.type": "Tipo Armadura", + "OSE.armor.unarmored": "Sin Armadura", + "OSE.armor.light": "Ligera", + "OSE.armor.heavy": "Pesada", + "OSE.armor.shield": "Escudo", + + "OSE.spells.spend": "{speaker} esta lanzando {name}!", + "OSE.spells.Memorized": "Memorizado", + "OSE.spells.Cast": "Lanzar", + "OSE.spells.Range": "Alcance", + "OSE.spells.Slots": "Espacios", + "OSE.spells.Class": "Clase", + "OSE.spells.Duration": "Duración", + "OSE.spells.Level": "Nivel", + "OSE.spells.Save": "Salvación", + "OSE.spells.ResetSlots": "Reniciar Espacios de conjuro", + + "OSE.abilities.Requirements": "Requisitos", + + "OSE.exploration.check": "Prueba de Exploración", + "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", + "OSE.exploration.od.long": "Abrir puertas", + "OSE.exploration.od.short": "Abrir puertas", + "OSE.exploration.od.abrev": "AP", + "OSE.exploration.sd.long": "Detectar puertas secretas", + "OSE.exploration.sd.short": "Puertas secretas", + "OSE.exploration.sd.abrev": "PS", + "OSE.exploration.ft.long": "Detectar trampas y fosos", + "OSE.exploration.ft.short": "Detectar trampas", + "OSE.exploration.ft.abrev": "DT", + + "OSE.messages.GetExperience": "{name} ha ganado {value} puntos de experiencia!", + "OSE.messages.AttackSuccess": "Golpea CA {result}! ({bonus})", + "OSE.messages.AttackAscendingSuccess": "Golpea CA {result}!", + "OSE.messages.AttackFailure": "Falla el ataque ({bonus})", + "OSE.messages.InflictsDamage": "Inflinge daño!", + "OSE.ChatContextDamage": "Aplicar Daño", + "OSE.ChatContextHealing": "Aplicar Curación", + + "OSE.colors.green": "Verde", + "OSE.colors.red": "Rojo", + "OSE.colors.yellow": "Amarillo", + "OSE.colors.purple": "Purpura", + "OSE.colors.blue": "Azul", + "OSE.colors.orange": "Naranja", + "OSE.colors.white": "Blanco", + + "OSE.reaction.check": "Tirada de Reacción", + "OSE.reaction.Hostile": "{name} es Hostil", + "OSE.reaction.Unfriendly": "{name} es Antipático", + "OSE.reaction.Neutral": "{name} es Neutral", + "OSE.reaction.Indifferent": "{name} es Indifferente", + "OSE.reaction.Friendly": "{name} es Amistoso" +} diff --git a/src/lang/fr.json b/src/lang/fr.json index f8a5509..0dffe1d 100644 --- a/src/lang/fr.json +++ b/src/lang/fr.json @@ -1,208 +1,235 @@ { - "OSE.Edit": "Modifier", - "OSE.Delete": "Supprimer", - "OSE.Show": "Montrer", - "OSE.Add": "Ajouter", - "OSE.Ok": "Ok", - "OSE.Reset": "Réinitialiser", - "OSE.Cancel": "Annuler", - "OSE.Roll": "Lancer", - "OSE.Success": "Succès", - "OSE.Failure": "Échec", + "OSE.Edit": "Modifier", + "OSE.Delete": "Supprimer", + "OSE.Show": "Montrer", + "OSE.Add": "Ajouter", + "OSE.Ok": "Ok", + "OSE.Reset": "Réinitialiser", + "OSE.Cancel": "Annuler", + "OSE.Roll": "Lancer", + "OSE.Success": "Succès", + "OSE.Failure": "Échec", - "OSE.Formula": "Formule", - "OSE.SitMod": "Modificateur de situation", - "OSE.Modifier": "Modificateur", - "OSE.RollMode": "Mode de Jet", - "OSE.RollExample": "ex. +1d4", + "OSE.dialog.tweaks": "Ajustements", - "OSE.Name": "Nom", - "OSE.Class": "Classe", - "OSE.Title": "Titre", - "OSE.Alignment": "Alignement", - "OSE.Level": "Niveau", - "OSE.Experience": "Expérience", - "OSE.ExperienceBonus": "Expérience supplémentaire", - "OSE.ExperienceAward": "PX de Récompense", - "OSE.Treasure": "Butin", - "OSE.TreasureTable": "Table", - "OSE.TreasureTableHint": "Drop a rollable table here to roll the monster treasure", - "OSE.Morale": "Moral", - "OSE.Retainer": "Sbire", - "OSE.Appearing": "NA", - "OSE.Attack": "Attaque", - "OSE.Encumbrance": "Encombrement", + "OSE.Formula": "Formule", + "OSE.SitMod": "Mod. de situation", + "OSE.Modifier": "Modificateur", + "OSE.RollMode": "Mode de Jet", + "OSE.RollExample": "ex. +1d4", + "OSE.RollFormula": "Lancer de {label}", - "OSE.Loyalty": "Score de Loyauté", - "OSE.LoyaltyShort": "LR", - - "OSE.AttributeCheck": "Jet d'Attribute", - "OSE.AttributeCheckDetails": "Lancez 1d20 <= {score} pour réussir", - "OSE.scores.str.long": "Force", - "OSE.scores.str.short": "FOR", - "OSE.scores.wis.long": "Sagesse", - "OSE.scores.wis.short": "SAG", - "OSE.scores.int.long": "Intelligence", - "OSE.scores.int.short": "INT", - "OSE.scores.dex.long": "Dextérité", - "OSE.scores.dex.short": "DEX", - "OSE.scores.con.long": "Constitution", - "OSE.scores.con.short": "CON", - "OSE.scores.cha.long": "Charisme", - "OSE.scores.cha.short": "CHA", + "OSE.roll.appearing": "Nombre Apparaissant", + "OSE.roll.morale": "Jet de Moral", + "OSE.roll.hd": "Lancer de Dé de Vie", + "OSE.roll.attackWith": "Attacks with {name}", + "OSE.roll.attacks": "{name} attacks!", + "OSE.roll.save": "Sauvegarde", + "OSE.roll.attribute": "Jet de Caractéristique", + "OSE.roll.details.attribute": "Lancez 1d20 <= {score} pour réussir", + "OSE.roll.exploration": "Test", + "OSE.roll.reaction": "Jet de Réaction", - "OSE.SavingThrow": "Sauvegarde", - "OSE.SavingThrowDetails": "Lancez 1d20 >= {save} pour réussir", - "OSE.saves.death.short": "D", - "OSE.saves.death.long": "Mort, Poison", - "OSE.saves.wand.short": "W", - "OSE.saves.wand.long": "Baguette", - "OSE.saves.paralysis.short": "P", - "OSE.saves.paralysis.long": "Paralysie, Petrification", - "OSE.saves.breath.short": "B", - "OSE.saves.breath.long": "Souffle", - "OSE.saves.spell.short": "S", - "OSE.saves.spell.long": "Baton, Sorts", - "OSE.saves.magic.long": "Bonus contre Magie", + "OSE.details.name": "Nom", + "OSE.details.class": "Classe", + "OSE.details.title": "Titre", + "OSE.details.alignment": "Alignement", + "OSE.details.level": "Niveau", + "OSE.details.experience.base": "Expérience", + "OSE.details.experience.bonus": "Ajustement d'XP", + "OSE.details.experience.next": "Prochain Niveau", + "OSE.details.experience.award": "XP de Récompense", + "OSE.details.treasure": "Type de Trésor", + "OSE.details.treasureTable": "Table", + "OSE.details.treasureTableHint": "Lâchez une Table aléatoire pour la lier", + "OSE.details.morale": "Moral", + "OSE.details.reaction": "Réaction", + "OSE.details.appearing": "NA", - "OSE.Health": "Points de Vie", - "OSE.HealthMax": "Points de Vie Maximaux", - "OSE.HealthShort": "PV", - "OSE.HitDice": "Dé de Vie", - "OSE.HitDiceShort": "DV", - "OSE.Movement": "Score de Mouvement", - "OSE.MovementDetails": "Détail de Mouvement", - "OSE.MovementEncounter": "Mouvement en Rencontre", - "OSE.MovementEncounterShort": "En", - "OSE.MovementOverland": "Mouvement ", - "OSE.MovementOverlandShort": "Ov", - "OSE.MovementExplorationShort": "Ex", - "OSE.MovementShort": "MV", - "OSE.ArmorClassNaked": "Classe d'Armure Nu", - "OSE.ArmorClass": "Classe d'Armure", - "OSE.ArmorClassShort": "CA", - "OSE.AscArmorClassShort": "CAA", - "OSE.SpellDC": "Spell DC", - "OSE.SpellDCShort": "DC", - "OSE.Thac0": "THAC0", - "OSE.ABShort": "BBA", - "OSE.AB": "Bonus d'Attaque", - "OSE.MeleeShort": "MEL", - "OSE.Melee": "Mêlée", - "OSE.MeleeBonus": "Bonus de Mêlée", - "OSE.MissileShort": "MIS", - "OSE.Missile": "Missile", - "OSE.MissileBonus": "Bonus de Missile", - "OSE.Initiative": "Initiative", - "OSE.InitiativeBonus": "Bonus d'Initiative", - "OSE.InitiativeShort": "INIT", - "OSE.Attacks": "Attaques par Round", - "OSE.AttacksShort": "ATT", - "OSE.Damage": "Dégâts", - "OSE.Spellcaster": "Lanceur de Sort", + "OSE.Attack": "Attaque", + "OSE.Encumbrance": "Encombrement", - "OSE.SpokenLanguages": "Langues parlées", - "OSE.Literacy": "Alphabétisme", - "OSE.Literate": "Alphabète", - "OSE.LiteracyBasic": "Basic", - "OSE.Illiterate": "Analphabète", - "OSE.NPCReaction": "Réaction PNJ", - "OSE.RetainersMax": "#Sbires", - - "OSE.category.attributes": "Attributs", - "OSE.category.inventory": "Inventaire", - "OSE.category.abilities": "Aptitudes", - "OSE.category.spells": "Sorts", - "OSE.category.notes": "Notes", - "OSE.category.equipment": "Équipement", + "OSE.Retainer": "Suivant", + "OSE.RetainerWage": "Tarif", + "OSE.RetainerUpkeep": "Entretien", + "OSE.Loyalty": "Loyauté", + "OSE.LoyaltyShort": "LOY", - "OSE.Setting.IndividualInit": "Initiative Individuelle", - "OSE.Setting.IndividualInitHint": "L'Initiative est lancée pour chaque acteur, modifié par son score de DEX", - "OSE.Setting.AscendingAC": "Classe d'Armure Ascendante", - "OSE.Setting.AscendingACHint": "Le plus est le mieux", - "OSE.Setting.Morale": "Activer le Score de Moral", - "OSE.Setting.MoraleHint": "Le Score de Moral est affiché sur la fiche de Monstre", - "OSE.Setting.VariableWeaponDamage": "Dégâts d'Arme Variables", - "OSE.Setting.VariableWeaponDamageHint": "Les Armes peuvent avoir des dégâts d'arme différents", - "OSE.Setting.Encumbrance": "Encombrement", - "OSE.Setting.EncumbranceHint": "Choisissez comment l'encombrement est calculé", - "OSE.Setting.EncumbranceBasic": "Basique", - "OSE.Setting.EncumbranceDetailed": "Detaillé", - "OSE.Setting.MovementAuto": "Calculer le mouvement", - "OSE.Setting.SignificantTreasure": "Poids d'un Trésor Significatif", - "OSE.Setting.SignificantTreasureHint": "Poids auquel le Trésor réduit le mouvement. Utilisé pour l'encombrement Basique", + "OSE.scores.str.long": "Force", + "OSE.scores.str.short": "FOR", + "OSE.scores.wis.long": "Sagesse", + "OSE.scores.wis.short": "SAG", + "OSE.scores.int.long": "Intelligence", + "OSE.scores.int.short": "INT", + "OSE.scores.dex.long": "Dextérité", + "OSE.scores.dex.short": "DEX", + "OSE.scores.con.long": "Constitution", + "OSE.scores.con.short": "CON", + "OSE.scores.cha.long": "Charisme", + "OSE.scores.cha.short": "CHA", - "OSE.items.Equip": "Equiper", - "OSE.items.Unequip": "Déséquiper", - "OSE.items.Misc": "Divers", - "OSE.items.Weapons": "Armes", - "OSE.items.Treasure": "Trésor", - "OSE.items.Armors": "Armures", - "OSE.items.Weight": "Pds.", - "OSE.items.Qualities": "Qualités", - "OSE.items.Notes": "Notes", - "OSE.items.Cost": "Coût", - "OSE.items.Quantity": "Qt.", - "OSE.items.Roll": "Jet", - "OSE.items.BlindRoll": "Aveugle", - "OSE.items.Damage": "Dégâts", - "OSE.items.Melee": "Mêlée", - "OSE.items.Missile": "Missile", - "OSE.items.Slow": "Lent", - "OSE.items.ArmorAC": "CA", - "OSE.items.ArmorAAC": "CAA", - "OSE.items.Bonus": "Bonus", - "OSE.items.roundAttacks": "Attaques utilisées ce tour", - "OSE.items.roundAttacksMax": "Attaques max par tour", - "OSE.items.resetAttacks": "Réinitialiser les Attaques", + "OSE.saves.details": "Lancez 1d20 >= {save} pour réussir", + "OSE.saves.death.short": "MP", + "OSE.saves.death.long": "Mort Poison", + "OSE.saves.wand.short": "B", + "OSE.saves.wand.long": "Baguettes", + "OSE.saves.paralysis.short": "PP", + "OSE.saves.paralysis.long": "Paralysie Pétrification", + "OSE.saves.breath.short": "S", + "OSE.saves.breath.long": "Souffle", + "OSE.saves.spell.short": "SBB", + "OSE.saves.spell.long": "Sorts Bâtons", + "OSE.saves.magic.long": "Sauv. Magie", - "OSE.armor.type": "Type d'Armure", - "OSE.armor.unarmored": "Sans Armure", - "OSE.armor.light": "Légère", - "OSE.armor.heavy": "Lourde", - "OSE.armor.shield": "Bouclier", - - "OSE.spells.spend": "{speaker} lance {name}!", - "OSE.spells.Memorized": "Memorisé", - "OSE.spells.Cast": "Lancé", - "OSE.spells.Range": "Portée", - "OSE.spells.Slots": "Emplacement", - "OSE.spells.Class": "Classe", - "OSE.spells.Duration": "Durée", - "OSE.spells.Level": "Niveau", - "OSE.spells.Save": "Sauvegarde", - "OSE.spells.ResetSlots": "Réinitialiser les Emplacements", + "OSE.Health": "Points de Vie", + "OSE.HealthMax": "Points de Vie Maximaux", + "OSE.HealthShort": "PV", + "OSE.HitDice": "Dé de Vie", + "OSE.HitDiceShort": "DV", - "OSE.abilities.Requirements": "Prérequis", + "OSE.movement.base": "Déplacement", + "OSE.movement.short": "Dp", + "OSE.movement.details": "Détail du Déplacement", + "OSE.movement.encounter.long": "Déplacement de Rencontre", + "OSE.movement.encounter.short": "Ren", + "OSE.movement.overland.long": "Déplacement en Extérieur", + "OSE.movement.overland.short": "Ext", + "OSE.movement.exploration.short": "Dp", + "OSE.movement.exploration.long": "Déplacement", - "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", - "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.ArmorClassNaked": "Sans Armure", + "OSE.ArmorClass": "Classe d'Armure", + "OSE.ArmorClassShort": "CA", + "OSE.AscArmorClassShort": "CAA", + "OSE.Thac0": "THAC0", + "OSE.ABShort": "BBA", + "OSE.AB": "Bonus d'Attaque", + "OSE.MeleeShort": "MEL", + "OSE.Melee": "Mêlée", + "OSE.MeleeBonus": "Bonus de Mêlée", + "OSE.MissileShort": "PROJ", + "OSE.Missile": "Projectiles", + "OSE.MissileBonus": "Bonus de Projectile", + "OSE.Initiative": "Initiative", + "OSE.InitiativeBonus": "Bonus d'Initiative", + "OSE.InitiativeShort": "INIT", + "OSE.Attacks": "Attaques par Round", + "OSE.AttacksShort": "ATT", + "OSE.Damage": "Dégâts", + "OSE.Spellcaster": "Lanceur de Sort", - "OSE.messages.GetExperience": "{name} a gagné {value} points d'expérience !", - "OSE.messages.AttackSuccess": "Touche une CA de {result}! ({bonus})", - "OSE.messages.AttackAscendingSuccess": "Touche une CAA de {result}!", - "OSE.messages.AttackFailure": "L'Attaque échoue ({bonus})", - "OSE.messages.InflictsDamage": "Inflige des dégâts !", - "OSE.ChatContextDamage": "Appliquer les dégâts", - "OSE.ChatContextHealing": "Appliquer les soins", + "OSE.Language": "Langue", + "OSE.SpokenLanguages": "Langues parlées", + "OSE.Literacy": "Lire/Écrire", + "OSE.Literate": "Oui", + "OSE.LiteracyBasic": "Basique", + "OSE.Illiterate": "Non", + "OSE.NPCReaction": "Réaction", + "OSE.RetainersMax": "#Suivants", - "OSE.colors.green": "Vert", - "OSE.colors.red": "Rouge", - "OSE.colors.yellow": "Jaune", - "OSE.colors.purple": "Violet", - "OSE.colors.blue": "Bleu", - "OSE.colors.orange": "Orange", - "OSE.colors.white": "Blanc" -} \ No newline at end of file + "OSE.category.attributes": "Caractéristiques", + "OSE.category.inventory": "Inventaire", + "OSE.category.abilities": "Aptitudes", + "OSE.category.spells": "Sorts", + "OSE.category.notes": "Notes", + "OSE.category.languages": "Langues", + "OSE.category.description": "Descriptions", + "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", + "OSE.Setting.AscendingAC": "Classe d'Armure Ascendante", + "OSE.Setting.AscendingACHint": "Le plus est le mieux", + "OSE.Setting.Morale": "Activer le Score de Moral", + "OSE.Setting.MoraleHint": "Le Score de Moral est affiché sur la fiche de Monstre", + "OSE.Setting.VariableWeaponDamage": "Dégâts d'Arme Variables", + "OSE.Setting.VariableWeaponDamageHint": "Les Armes peuvent avoir des dégâts d'arme différents", + "OSE.Setting.Encumbrance": "Encombrement", + "OSE.Setting.EncumbranceHint": "Choisissez comment l'encombrement est calculé", + "OSE.Setting.EncumbranceBasic": "Basique", + "OSE.Setting.EncumbranceDetailed": "Detaillé", + "OSE.Setting.MovementAuto": "Calculer Déplacement", + "OSE.Setting.SignificantTreasure": "Poids d'un Trésor Significatif", + "OSE.Setting.SignificantTreasureHint": "Poids auquel le Trésor réduit le déplacement. Utilisé pour l'encombrement Basique", + + "OSE.items.Equip": "Equiper", + "OSE.items.Unequip": "Déséquiper", + "OSE.items.Misc": "Divers", + "OSE.items.Weapons": "Armes", + "OSE.items.Treasure": "Trésor", + "OSE.items.Armors": "Armures", + "OSE.items.Weight": "Pds.", + "OSE.items.Qualities": "Qualités", + "OSE.items.Notes": "Notes", + "OSE.items.Cost": "Coût", + "OSE.items.Quantity": "Qt.", + "OSE.items.Roll": "Jet", + "OSE.items.BlindRoll": "Aveugle", + "OSE.items.Damage": "Dégâts", + "OSE.items.Melee": "Mêlée", + "OSE.items.Missile": "Projectile", + "OSE.items.Slow": "Lent", + "OSE.items.ArmorAC": "CA", + "OSE.items.ArmorAAC": "CAA", + "OSE.items.Bonus": "Bonus", + "OSE.items.roundAttacks": "Attaques utilisées ce tour", + "OSE.items.roundAttacksMax": "Attaques max par tour", + "OSE.items.resetAttacks": "Réinitialiser les Attaques", + "OSE.items.hasShield": "A un bonus de Bouclier", + "OSE.items.typeTag": "Tapez une liste de tags descriptifs ex. 'Mêlée,Missile (5’–10’ / 11’–20’ / 21’–30’)'", + + "OSE.armor.type": "Type d'Armure", + "OSE.armor.unarmored": "Sans Armure", + "OSE.armor.light": "Légère", + "OSE.armor.heavy": "Lourde", + "OSE.armor.shield": "Bouclier", + + "OSE.spells.spend": "{speaker} lance {name}!", + "OSE.spells.Memorized": "Memorisé", + "OSE.spells.Cast": "Lancé", + "OSE.spells.Range": "Portée", + "OSE.spells.Slots": "Emplacement", + "OSE.spells.Class": "Classe", + "OSE.spells.Duration": "Durée", + "OSE.spells.Level": "Niveau", + "OSE.spells.Save": "Sauvegarde", + "OSE.spells.ResetSlots": "Réinitialiser les Emplacements", + + "OSE.abilities.Requirements": "Prérequis", + + "OSE.exploration.details": "Lancer 1d6 <= {expl} pour réussir", + "OSE.exploration.ld.long": "Ecoute aux Portes", + "OSE.exploration.ld.short": "Eco. Porte", + "OSE.exploration.ld.abrev": "EP", + "OSE.exploration.od.long": "Ouverture de Portes", + "OSE.exploration.od.short": "Ouv. Porte", + "OSE.exploration.od.abrev": "OP", + "OSE.exploration.sd.long": "Détection des Passages Secrets", + "OSE.exploration.sd.short": "Dét. Secrets", + "OSE.exploration.sd.abrev": "DS", + "OSE.exploration.ft.long": "Détecter les Pièges", + "OSE.exploration.ft.short": "Dét. Pièges", + "OSE.exploration.ft.abrev": "DP", + + "OSE.messages.GetExperience": "{name} a gagné {value} points d'expérience !", + "OSE.messages.InflictsDamage": "Inflige des dégâts !", + "OSE.messages.applyDamage": "Appliquer les dégâts", + "OSE.messages.applyHealing": "Appliquer les soins", + "OSE.messages.AttackSuccess": "Touche une CA de {result}! ({bonus})", + "OSE.messages.AttackAscendingSuccess": "Touche une CAA de {result}!", + "OSE.messages.AttackFailure": "L'Attaque échoue ({bonus})", + + "OSE.colors.green": "Vert", + "OSE.colors.red": "Rouge", + "OSE.colors.yellow": "Jaune", + "OSE.colors.purple": "Violet", + "OSE.colors.blue": "Bleu", + "OSE.colors.orange": "Orange", + "OSE.colors.white": "Blanc", + + "OSE.reaction.Hostile": "{name} est Hostile", + "OSE.reaction.Unfriendly": "{name} est Inamical", + "OSE.reaction.Neutral": "{name} est Neutre", + "OSE.reaction.Indifferent": "{name} est Indifférent", + "OSE.reaction.Friendly": "{name} est Amical" +} diff --git a/src/module/actor/actor-sheet.js b/src/module/actor/actor-sheet.js index f132f59..75ec551 100644 --- a/src/module/actor/actor-sheet.js +++ b/src/module/actor/actor-sheet.js @@ -235,7 +235,7 @@ export class OseActorSheet extends ActorSheet { if (this.options.editable && canConfigure) { buttons = [ { - label: "Tweaks", + label: game.i18n.localize("OSE.dialog.tweaks"), class: "configure-actor", icon: "fas fa-code", onclick: (ev) => this._onConfigureActor(ev), diff --git a/src/module/actor/entity.js b/src/module/actor/entity.js index c3ab922..dcb35e4 100644 --- a/src/module/actor/entity.js +++ b/src/module/actor/entity.js @@ -87,13 +87,12 @@ export class OseActor extends Actor { data: data, skipDialog: skip, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: `${label} ${game.i18n.localize("OSE.saves.check")}`, - title: `${label} ${game.i18n.localize("OSE.saves.check")}`, + flavor: `${label} ${game.i18n.localize("OSE.roll.save")}`, + title: `${label} ${game.i18n.localize("OSE.roll.save")}`, }); } rollMorale(options = {}) { - const label = game.i18n.localize(`OSE.details.morale`); const rollParts = ["2d6"]; const data = { @@ -113,13 +112,13 @@ export class OseActor extends Actor { data: data, skipDialog: true, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: game.i18n.localize("OSE.morale.check"), - title: game.i18n.localize("OSE.morale.check"), + flavor: game.i18n.localize("OSE.roll.morale"), + title: game.i18n.localize("OSE.roll.morale"), }); } rollLoyalty(options = {}) { - const label = game.i18n.localize(`OSE.Loyalty`); + const label = game.i18n.localize(`OSE.roll.loyalty`); const rollParts = ["2d6"]; const data = { @@ -139,8 +138,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: label, + title: label, }); } @@ -214,13 +213,13 @@ export class OseActor extends Actor { data: data, skipDialog: skip, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: `${label} ${game.i18n.localize("OSE.scores.check")}`, - title: `${label} ${game.i18n.localize("OSE.scores.check")}`, + flavor: `${label} ${game.i18n.localize("OSE.roll.attribute")}`, + title: `${label} ${game.i18n.localize("OSE.roll.attribute")}`, }); } rollHitDice(options = {}) { - const label = game.i18n.localize(`OSE.HitDice`); + const label = game.i18n.localize(`OSE.roll.hd`); const rollParts = [this.data.data.hp.hd]; const data = { @@ -239,8 +238,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: label, + title: label, }); } @@ -301,8 +300,8 @@ export class OseActor extends Actor { data: data, skipDialog: skip, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: `${label} ${game.i18n.localize("OSE.exploration.check")}`, - title: `${label} ${game.i18n.localize("OSE.exploration.check")}`, + flavor: `${label} ${game.i18n.localize("OSE.roll.exploration")}`, + title: `${label} ${game.i18n.localize("OSE.roll.exploration")}`, }); } diff --git a/src/module/chat.js b/src/module/chat.js index cf0fe88..b0d2086 100644 --- a/src/module/chat.js +++ b/src/module/chat.js @@ -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.messages.ApplyDamage"), + name: game.i18n.localize("OSE.messages.applyDamage"), icon: '', condition: canApply, callback: li => applyChatCardDamage(li, 1) }, { - name: game.i18n.localize("OSE.messages.ApplyHealing"), + name: game.i18n.localize("OSE.messages.applyHealing"), icon: '', condition: canApply, callback: li => applyChatCardDamage(li, -1) diff --git a/src/module/dialog/entity-tweaks.js b/src/module/dialog/entity-tweaks.js index 02f4301..a657268 100644 --- a/src/module/dialog/entity-tweaks.js +++ b/src/module/dialog/entity-tweaks.js @@ -18,7 +18,7 @@ export class OseEntityTweaks extends FormApplication { * @type {String} */ get title() { - return `${this.object.name}: OSE Tweaks`; + return `${this.object.name}: ${game.i18n.localize('OSE.dialog.tweaks')}`; } /* -------------------------------------------- */ diff --git a/src/module/item/entity.js b/src/module/item/entity.js index 324f666..589a288 100644 --- a/src/module/item/entity.js +++ b/src/module/item/entity.js @@ -126,8 +126,8 @@ export class OseItem extends Item { 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.format("OSE.RollFormula", {label: label}), + title: game.i18n.format("OSE.RollFormula", {label: label}), }); } diff --git a/src/module/item/item-sheet.js b/src/module/item/item-sheet.js index 4d27b0d..5908c74 100644 --- a/src/module/item/item-sheet.js +++ b/src/module/item/item-sheet.js @@ -19,7 +19,7 @@ export class OseItemSheet extends ItemSheet { return mergeObject(super.defaultOptions, { classes: ["ose", "sheet", "item"], width: 520, - height: 380, + height: 390, resizable: false, tabs: [ { diff --git a/src/templates/actors/dialogs/tweaks-dialog.html b/src/templates/actors/dialogs/tweaks-dialog.html index 03f09cd..149815c 100644 --- a/src/templates/actors/dialogs/tweaks-dialog.html +++ b/src/templates/actors/dialogs/tweaks-dialog.html @@ -22,13 +22,13 @@ {{#if (eq this.type 'character')}}
- +
- +
diff --git a/src/templates/actors/partials/character-header.html b/src/templates/actors/partials/character-header.html index 2c045da..2ba60c9 100644 --- a/src/templates/actors/partials/character-header.html +++ b/src/templates/actors/partials/character-header.html @@ -42,7 +42,7 @@
  • - + {{#if data.details.xp.bonus}} +{{data.details.xp.bonus}}% {{/if}} diff --git a/src/templates/actors/partials/monster-header.html b/src/templates/actors/partials/monster-header.html index ab5d449..485b54c 100644 --- a/src/templates/actors/partials/monster-header.html +++ b/src/templates/actors/partials/monster-header.html @@ -7,46 +7,45 @@
  • - +
    -
    +
  • - +
    -
    +
  • () -
    -
    +
  • {{#if config.morale}}
  • - +
    -
    +
  • {{/if}} \ No newline at end of file diff --git a/src/templates/chat/item-card.html b/src/templates/chat/item-card.html index da6bba9..a11a43f 100644 --- a/src/templates/chat/item-card.html +++ b/src/templates/chat/item-card.html @@ -24,7 +24,7 @@ {{#if data.save}} {{/if}}