From abbeea1dc742d7d99664afe9d5ddec166004f9c8 Mon Sep 17 00:00:00 2001 From: The Last Scrub Date: Sun, 27 Sep 2020 21:23:42 -0700 Subject: [PATCH] more localization --- documentation/home.md | 4 +--- lang/en.json | 17 +++++++++++++++- lang/ja.json | 17 +++++++++++++++- templates/actor/actor-sheet.html | 34 ++++++++++++++++---------------- 4 files changed, 50 insertions(+), 22 deletions(-) diff --git a/documentation/home.md b/documentation/home.md index 6c95ed2..5c3f25f 100644 --- a/documentation/home.md +++ b/documentation/home.md @@ -1,10 +1,8 @@ # System Documentation -(Under construction, will expand later, for now just list some helpful notes) - ## Rolling Checks -Most labels can be clicked to roll a check or test of some kind. +Most labels can be clicked to roll a check or test of some kind. If they can be clicked, they should glow red when the mouse is hovered over them. * Click on _SAN_ (label above current/max sanity) to roll a Sanity check. * Click on any of the skill labels (such as _Accounting_) to roll a skill test. diff --git a/lang/en.json b/lang/en.json index 563537d..7c2cff2 100644 --- a/lang/en.json +++ b/lang/en.json @@ -132,5 +132,20 @@ "DG.ItemTypes.motivation": "Motivation", "DG.ItemTypes.bond": "Bond", "DG.ItemTypes.gear": "Gear", - "DG.ItemTypes.NewPrefix": "New " + "DG.ItemTypes.NewPrefix": "New ", + + "DG.Tooltip.HP": "Hit points, a character becomes unconsious at 2 HP, and dies at 0 HP.", + "DG.Tooltip.MaximumHP": "Maximum health is the average of STR + CON, rounded UP.", + "DG.Tooltip.WP": "Willpower Points are mental fuel. Agents require Willpower Points to keep going despite exhaustion or mentally taxing situations. See page 47 of the Agent's Handbook for more detail.", + "DG.Tooltip.MaximumWP": "Maximum WP is equal to POW.", + "DG.Tooltip.SanityLabel": "Click to roll a sanity check...", + "DG.Tooltip.CurrentSanityPartOne": "Current sanity, current breaking point is ", + "DG.Tooltip.CurrentSanityPartTwo": ", click the SAN label above to roll a sanity check.", + "DG.Tooltip.MaximumSanity": "Maximum sanity is equal to 99 - the Unnatural skill.", + "DG.Tooltip.SkillLabel": "Click to roll a skill check.", + "DG.Tooltip.CannotRollSkillLabel": "A skill at 0% cannot be used. See page 28 of the Agent's Handbook.", + "DG.Tooltip.SkillFailCheckbox": "After failing a test on this skill (if proficiency is at least 1%), check this box. At the end of the session, add 1D4-1 percentage points to the skill and uncheck the box. Does not apply to the Unnatural skill. See page 29 of the Agent's Handbook.", + "DG.Tooltip.DistinguishingFeature": "Distinguishing Feature (fill out if score is 12 or higher, or 8 or lower).", + "DG.Tooltip.x5AttributeLabel": "Click to roll a x5 check.", + "DG.Tooltip.FirstAidAttempted": "Once an agent receives first aid, they cannot benefit from it again until they are damaged again." } \ No newline at end of file diff --git a/lang/ja.json b/lang/ja.json index 4b9cf83..d4b694f 100644 --- a/lang/ja.json +++ b/lang/ja.json @@ -132,5 +132,20 @@ "DG.ItemTypes.motivation": "モチベーション", "DG.ItemTypes.bond": "絆", "DG.ItemTypes.gear": "装備", - "DG.ItemTypes.NewPrefix": "新" + "DG.ItemTypes.NewPrefix": "新", + + "DG.Tooltip.HP": "2HPにエージェントは気を失い、0HPに死ぬ。", + "DG.Tooltip.MaximumHP": "最大のヒットポイントは筋力と耐久力の平均(切り上げする)。", + "DG.Tooltip.WP": "WPとは精神の燃料。疲れた時と精神的に厳しい時に必要です。", + "DG.Tooltip.MaximumWP": "最大のWPは判断力と同じです。", + "DG.Tooltip.SanityLabel": "クリックと、正気を試す...", + "DG.Tooltip.CurrentSanityPartOne": "今の精神の安定のレベル、今のブレーキポイントは", + "DG.Tooltip.CurrentSanityPartTwo": "、上の正気をクリックと正気を試す。", + "DG.Tooltip.MaximumSanity": "最大の正気は99-不自然のスキルです。", + "DG.Tooltip.SkillLabel": "スキルを試す。", + "DG.Tooltip.CannotRollSkillLabel": "スキルが0である場合、そのスキルはつかえません、そして試すと失敗します。", + "DG.Tooltip.SkillFailCheckbox": "スキルを試して、失敗する場合、そのスキルが1以上このボックスをチェックします。", + "DG.Tooltip.DistinguishingFeature": "特徴の説明 (スコアは13以上それとも8以下のみ、このフィールドに説明を書きます)。", + "DG.Tooltip.x5AttributeLabel": "アトリビュートx5のテストをします", + "DG.Tooltip.FirstAidAttempted": "応急処置を受けたエージェントはまたダメージを受けるまでには応急処置は効きません。" } \ No newline at end of file diff --git a/templates/actor/actor-sheet.html b/templates/actor/actor-sheet.html index d1dd87b..b79e97c 100644 --- a/templates/actor/actor-sheet.html +++ b/templates/actor/actor-sheet.html @@ -22,37 +22,37 @@ {{!-- HP --}}
- +
/ - {{numberFormat data.health.max decimals=0 sign=false}} + {{numberFormat data.health.max decimals=0 sign=false}}
{{!-- WP --}}
/ - {{numberFormat data.wp.max decimals=0 sign=false}} + {{numberFormat data.wp.max decimals=0 sign=false}}
{{!-- Sanity --}}
/ - {{numberFormat data.sanity.max decimals=0 sign=false}} + {{numberFormat data.sanity.max decimals=0 sign=false}}
@@ -78,15 +78,15 @@
{{#each data.skills as |skill key|}}
-
{{/each}} @@ -100,8 +100,8 @@ {{#each data.typedSkills as |skill key|}}
@@ -123,12 +123,12 @@
- + ({{numberFormat statistic.x5 decimals=0 sign=false}}%)
- +
@@ -137,9 +137,9 @@
- +