From b9bca6367f6acc5772f6802f263f23443320a607 Mon Sep 17 00:00:00 2001 From: Paul Maskelyne Date: Sun, 2 Jun 2024 05:37:43 +0100 Subject: [PATCH 1/3] New translations en.yaml (Portuguese, Brazilian) --- i18n/pt_BR.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i18n/pt_BR.yaml b/i18n/pt_BR.yaml index 6122a5f..e713253 100644 --- a/i18n/pt_BR.yaml +++ b/i18n/pt_BR.yaml @@ -19,7 +19,7 @@ AC2D20.Combat.CombatEndMomentumPoolDecremented: Pontos de Ímpeto Diminuídos no AC2D20.Combat.CombatHasNotStarted: O Combate Não Começou AC2D20.Combat.CombatRoundMomentumPoolDecremented: Pontos de Ímpeto Diminuídos no Início da Rodada AC2D20.Combat.ToggleCombatantsTurnDone: Alternar Turno Concluído -AC2D20.Dialog.NumberOfDice: Number of Dice +AC2D20.Dialog.NumberOfDice: Número de Dados AC2D20.EffectCreate: Criar Efeito AC2D20.EffectDelete: Deletar Efeito AC2D20.EffectEdit: Editar Efeito @@ -28,7 +28,7 @@ AC2D20.EFFECTS.Passive: Efeitos Passivos AC2D20.EFFECTS.Temporary: Efeitos Temporários AC2D20.EffectToggle: Alternar Efeito AC2D20.equipped: Equipado -AC2D20.Error.NumberOfDiceMustBeNonZero: The number of dice entered must be an integer value greater than zero. +AC2D20.Error.NumberOfDiceMustBeNonZero: O número de dados inserido deve ser um valor inteiro maior que zero. AC2D20.FOCUS.Air Force: Força Aérea AC2D20.FOCUS.Aircraft: Aeronave AC2D20.FOCUS.Animal Handling: Manejo de Animais @@ -291,7 +291,7 @@ AC2D20.TEMPLATES.Weapons: Armas AC2D20.Tooltips.Attribute.agi: Agilidade é uma mistura de velocidade, equilíbrio e memória muscular, e é responsável pelo movimento e destreza de um personagem. Um personagem ágil é rápido se move com certeza e precisão. AC2D20.Tooltips.Attribute.bra: Músculo é o indicador da capacidade física e resistência do personagem. Um personagem musculoso é forte e resistente. AC2D20.Tooltips.Attribute.coo: Coordenação é a medida das suas habilidades motoras, da precisão e do senso de oportunidade. Personagens coordenados são bons de tiro, bons motoristas e pilotos, e excedem em prestidigitação e outras tarefas precisas e delicadas. -AC2D20.Tooltips.Attribute.ins: Insight is your perception, instincts, and your ability to comprehend the world around you. Insightful characters are observant, shrewd, ‘street smart’, and wise. +AC2D20.Tooltips.Attribute.ins: Intuição é a sua percepção, instintos e a sua habilidade de entender o mundo ao seu redor. Personagens intuitivos são observadores, espertos, sagazes e sábios. AC2D20.Tooltips.Attribute.rea: Reason is the ability to apply logic, intellect, and learned facts to a situation. Characters who have high reasoning skills tend to be lucid, rational or contemplative, and driven by a need to learn or understand. AC2D20.Tooltips.Attribute.wil: Will is your sense of self, mental strength, and sense of self-discipline. Wilful characters tend to be single-minded, stubborn, and have forceful personalities. AC2D20.Tooltips.DamageEffect.area: The attack or hazard hits one additional target within Close range of the initial target for every effect rolled. Secondary targets suffer the attack’s full effects. From c209f3c697185becaf1ab1786c129e817b370f0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lozano?= Date: Sun, 2 Jun 2024 12:34:19 +0200 Subject: [PATCH 2/3] Focuses and skills localization in pc sheets --- system/templates/actor/parts/actor-spells.hbs | 7 +++++-- system/templates/actor/parts/actor-weapons.hbs | 2 +- system/templates/actor/parts/npc-abilities.hbs | 2 +- system/templates/actor/parts/vehicle-abilities.hbs | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/system/templates/actor/parts/actor-spells.hbs b/system/templates/actor/parts/actor-spells.hbs index dfaa4b6..600d198 100644 --- a/system/templates/actor/parts/actor-spells.hbs +++ b/system/templates/actor/parts/actor-spells.hbs @@ -40,9 +40,12 @@ {{item.name}}
-  {{item.system.skill}} +   + {{#if item.system.skill}} + {{localize (concat 'AC2D20.SKILL.' (toUpperCase item.system.skill))}} + {{/if}} {{#if item.system.focus}} - ({{item.system.focus}}) + ({{localize (concat 'AC2D20.FOCUS.' item.system.focus)}}) {{/if}}
{{item.system.difficulty}}
diff --git a/system/templates/actor/parts/actor-weapons.hbs b/system/templates/actor/parts/actor-weapons.hbs index a8971fe..9c00fe8 100644 --- a/system/templates/actor/parts/actor-weapons.hbs +++ b/system/templates/actor/parts/actor-weapons.hbs @@ -55,7 +55,7 @@
-  {{this.system.focus}} +  {{localize (concat 'AC2D20.FOCUS.' this.system.focus)}}
{{localize (concat 'AC2D20.RANGE.' this.system.range)}} diff --git a/system/templates/actor/parts/npc-abilities.hbs b/system/templates/actor/parts/npc-abilities.hbs index 5344186..d014a54 100644 --- a/system/templates/actor/parts/npc-abilities.hbs +++ b/system/templates/actor/parts/npc-abilities.hbs @@ -135,7 +135,7 @@
- {{this.system.focus}} + {{localize (concat 'AC2D20.FOCUS.' this.system.focus)}} diff --git a/system/templates/actor/parts/vehicle-abilities.hbs b/system/templates/actor/parts/vehicle-abilities.hbs index 56b02a9..2417c4b 100644 --- a/system/templates/actor/parts/vehicle-abilities.hbs +++ b/system/templates/actor/parts/vehicle-abilities.hbs @@ -155,7 +155,7 @@
- {{this.system.focus}} + {{localize (concat 'AC2D20.FOCUS.' this.system.focus)}} From a6236e4ea9cb34ed397419c7d3cd17d65f9db263 Mon Sep 17 00:00:00 2001 From: Paul Maskelyne Date: Sun, 2 Jun 2024 16:33:41 +0100 Subject: [PATCH 3/3] bump release --- CHANGELOG.md | 12 ++++++++++++ system/system.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fe2d59..59eaf10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## v11.5.2 + +### Bugfix +- [#97] Some missing Focus and Skill localization on Character sheet + +### Chores +- [#96] Merge new Portuguese/Brazilian translation updates from Crowdin + +*Many thanks to **lozanoje** for contributing code included in this build* + +--- + ## v11.5.1 ### Bugfix diff --git a/system/system.json b/system/system.json index 3b037ab..9216c71 100644 --- a/system/system.json +++ b/system/system.json @@ -2,7 +2,7 @@ "id": "ac2d20", "title": "Achtung! Cthulhu 2d20", "description": "An unofficial system for playing Achtung! Cthulhu 2d20 from Modiphius Entertainment Ltd.", - "version": "11.5.1", + "version": "11.5.2", "compatibility": { "minimum": "11", "verified": "12"