better translation support and added fellowship focus

This commit is contained in:
Bodo Hüsemann
2022-06-13 22:19:04 +02:00
parent 539a85fbc0
commit 8fff8e3693
5 changed files with 57 additions and 13 deletions
+10
View File
@@ -4,6 +4,16 @@ This is a rewrite based on the early 2e (basic) and 1e edition that also include
# Release History
## 02.14.00 (Build 19)
### Features
- added "fellowship focus" to pc sheet
### Translation
- fixed some missing support for translations on the pc sheet (thanks to iosu Li for the spanish translation)
## 02.13.01 (Build 18)
### CSS
+8 -2
View File
@@ -486,13 +486,19 @@
.charsheet #character-nested .onecol {
display: grid;
grid-auto-rows: minmax(auto, 1.5em);
grid-template-columns: 100px 3fr;
grid-template-columns: 100px auto;
}
.charsheet #character-nested .twocols {
display: grid;
grid-auto-rows: minmax(auto, 1.5em);
grid-template-columns: 100px 3fr 100px 3fr;
grid-template-columns: 100px 130px 100px auto;
}
.charsheet #character-nested .threecols {
display: grid;
grid-auto-rows: minmax(auto, 1.5em);
grid-template-columns: 100px 130px 100px auto min-content 30px;
}
.charsheet #character-nested input {
+34 -7
View File
@@ -17,7 +17,12 @@
name="attr_standard_of_living">
<label data-i18n="shadow-weakness">Shadow Weakness</label><input type="text"
name="attr_shadow_weakness">
<label data-i18n="patron">Patron</label><input type="text" name="attr_patron">
</div>
<div class="threecols">
<label data-i18n="patron">Patron</label>
<input type="text" name="attr_patron">
<label data-i18n="fellowship-focus">Fellow</label>
<input type="text" name="attr_fellowship_focus">
<label data-i18n="age">Age</label><input type="text" name="attr_age">
</div>
<div class="onecol">
@@ -190,7 +195,7 @@
<div id="wits-row3" class="attribute-row3">
<div class="right">
<label><input type="checkbox" name="attr_shieldparry_active" value=1
<label data-i18n="shield"><input type="checkbox" name="attr_shieldparry_active" value=1
checked="checked">Shield</label>
</div>
<span class="diamond-small">
@@ -199,13 +204,13 @@
<div class="center">
<span class="diamond-small">
<span><input name="attr_otherparry" value="0" type="number"></span></span>
<label class="center"><input type="checkbox" name="attr_otherparry_active" value=1
checked="checked">Other</label>
<label data-i18n="other" class="center"><input type="checkbox" name="attr_otherparry_active"
value=1 checked="checked">Other</label>
</div>
<span class="diamond-small">
<span><input name="attr_stanceparry" value="0" type="number"></span></span>
<div class="left">
<label><input type="checkbox" name="attr_stanceparry_active" value=1
<label data-i18n="stance"><input type="checkbox" name="attr_stanceparry_active" value=1
checked="checked">Stance</label>
</div>
</div>
@@ -235,7 +240,7 @@
</div>
<label><span data-i18n="injury">Injury</span><input name="attr_injury" type="text"></label>
<br />
<h3>Custom Dice Roller</h3>
<h3 data-i18n="custom-roll">Custom Dice Roller</h3>
<div class="sheet-row">
<input class="center" type="text" data-i18n-placeholder="custom-rollname-placeholder"
name="attr_customrollname">
@@ -543,7 +548,7 @@
</div>
</div>
<div id="skill-heart">
<h1 class="center">Skills</h1>
<h1 data-i18n="skills" class="center">Skills</h1>
<div class=sheet-row>
<button type="roll" class="table-rolls" value="@{enhearten_roll}" name="roll_enheartencheck"></button>
<button type="action" class="parsed-rolls" name="act_enhearten" id="roll_enhearten"></button>
@@ -2567,6 +2572,28 @@
});
}
}
if (build < 19) {
attrs["build"] = 19;
let releaselog = {msg:""};
hlog(`Release 02.14.0 - ${new Date().toLocaleString()}`, releaselog);
if (v.sheettab === "isPC"){
getAttrs(['releaselog'], function(values){
hlog(`
### Features
- added "fellowship focus" to pc sheet
### Translation
- fixed some missing support for translations on the pc sheet (thanks to iosu Li for the spanish translation)
`, releaselog);
hlog("==============", releaselog);
attrs['releaselog'] = releaselog.msg + values['releaselog'];
if (Object.keys(attrs).length) {
setAttrs(attrs);
}
});
}
}
/*
if (build === 9) {
attrs["build"] = 8;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"title": "The One Ring 2e",
"version": "2.3.0",
"version": "2.14.0",
"html": "sheet.html",
"css": "sheet.css",
"authors": "Bodo Hüsemann, Richard W, Michael (aka Aragent) I, Paul Venner, Michael Heilemann, Stefan Unterhuber, Stuart Johnson, David Domínguez, Eric Le Bourvellec",
+4 -3
View File
@@ -140,7 +140,7 @@
"scout": "Scout",
"huntsman": "Huntsman",
"look-out_man": "Look-out Man",
"fellowship-focus": "Fellowship Focus",
"fellowship-focus": "Fellow Focus",
"fellowship-phase": "Fellowship Phase",
"sanctuaries": "Sanctuaries",
"patron": "Patron",
@@ -220,9 +220,10 @@
"stance-defensive": "Def.",
"stance-rearward": "Rear",
"stance-damage": "Stance Damage:",
"custom-roll": "Custom Roll:",
"custom-roll": "Custom Dice Roller",
"custom-tn": "TN:",
"custom-successdice": "Success:",
"custom-featdie": "Feat:",
"custom-rollname-placeholder": "[Roll Text]"
"custom-rollname-placeholder": "[Roll Text]",
"other": "Other"
}