mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
[Land of Eem] Localization Fixes
This commit is contained in:
+38
-2
@@ -1068,7 +1068,7 @@ label.small {
|
||||
vertical-align: middle;
|
||||
align-self: center;
|
||||
margin: 0 -4px;
|
||||
background-image: url('https: //raw.githubusercontent.com/Roll20/roll20-character-sheets/master/LandOfEem/images/star.png');
|
||||
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/LandOfEem/images/star.png');
|
||||
background-size: 10px 10px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
@@ -1988,6 +1988,38 @@ section.hint {
|
||||
color: var(--sheet-primary-color);
|
||||
}
|
||||
|
||||
/* Localize Roll20-generated Add/Modify/Done buttons via .lang-* class (set by sheet worker) */
|
||||
.eem .note-box .repcontrol_add,
|
||||
.eem .note-box .repcontrol_edit {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.eem .note-box .repcontrol_add::before {
|
||||
content: "+ Add";
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.eem .note-box .repcontrol_edit::before {
|
||||
content: "Modify";
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.eem .note-box .repcontainer.editmode ~ .repcontrol .repcontrol_edit::before {
|
||||
content: "Done";
|
||||
}
|
||||
|
||||
.lang-pl .eem .note-box .repcontrol_add::before {
|
||||
content: "+ Dodaj";
|
||||
}
|
||||
|
||||
.lang-pl .eem .note-box .repcontrol_edit::before {
|
||||
content: "Modyfikuj";
|
||||
}
|
||||
|
||||
.lang-pl .eem .note-box .repcontainer.editmode ~ .repcontrol .repcontrol_edit::before {
|
||||
content: "Zakończ";
|
||||
}
|
||||
|
||||
.eem .note-box .repcontrol_move,
|
||||
.eem .note-box .repcontrol_del {
|
||||
width: 14px;
|
||||
@@ -2005,7 +2037,7 @@ section.hint {
|
||||
font-family: 'Pictos', sans-serif;
|
||||
font-weight: normal;
|
||||
margin-left: 1px;
|
||||
margin-right: 8px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
.eem .sheet-auto-expand {
|
||||
@@ -2093,4 +2125,8 @@ section.hint {
|
||||
|
||||
.btn-share:hover div {
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
.eem .note-box .repcontainer.editmode .btn-share {
|
||||
display: none;
|
||||
}
|
||||
@@ -648,7 +648,7 @@
|
||||
</div>
|
||||
<!--********* FOOTER **********-->
|
||||
<div class="footer">
|
||||
<span>Character Sheet (v.<span name="attr_version"></span>) by </span><a href="https://ko-fi.com/blazesanecki/">Blaze Sanecki</a>, made with a blessing from <span>by Ben Costa & James Parks</span> - creators of the <a href="https://landofeem.com/"><b>Land of Eem</b></a>.
|
||||
<span data-i18n="footer-version">Character Sheet (v.</span><span name="attr_version"></span><span data-i18n="footer-by">) by </span><a href="https://ko-fi.com/blazesanecki/">Blaze Sanecki</a><span data-i18n="footer-blessing">, made with a blessing from by Ben Costa & James Parks - creators of the </span><a href="https://landofeem.com/"><b data-i18n="land-of-eem">Land of Eem</b></a>.
|
||||
</div>
|
||||
</div>
|
||||
<!--********* HIDDEN ATTRIBUTES **********-->
|
||||
@@ -1184,7 +1184,8 @@ on(unsigned.map(field => "change:" + field).join(" "), (eventinfo) => {
|
||||
})
|
||||
//********* VALIDATE ALL NUMBER VALUES ON CHARACTER SHEET OPEN **********/
|
||||
on("sheet:opened", (eventinfo) => {
|
||||
|
||||
$20('.charsheet.lang-undefined').addClass(`lang-${getTranslationByKey("LanguageCode")}`)
|
||||
|
||||
signed.forEach((fieldName) => {
|
||||
getAttrs([fieldName, "clamp_modifiers"], (values) => {
|
||||
let val = parseInt(values[fieldName])
|
||||
@@ -1434,4 +1435,4 @@ on("clicked:attack", async () => {
|
||||
})
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</script>
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
"authors": "Blaze Sanecki",
|
||||
"roll20userid": "10036432",
|
||||
"preview": "preview.png",
|
||||
"instructions": "# Land Of Eem - Roll20 Character Sheet\n\n#### Version\n\nCurrent Version: 2.1.0\n\n## Features\n\n- **Custom design** matching the Land of Eem official character sheet aesthetic\n- **Expandable and Flexible Skill Lists** to better fit all of your character content\n- **Interactive rolls** with advantage/disadvantage support\n- **Auto-Recalculation** of abilities and stats when changing related attributes\n- **Optional modifier validation** (total modifier clamped to -3 and +3)\n- **Full Multi-language support** with English and Polish already implemented\n- **NPC Sheet type** for storing data about NPCs\n- **Adversary Sheet type** for storing data about Adversaries (with automated attack and mettle rolls)\n\n## Instructions\n**Selecting a PC Class**\n\n- Class input field has suggested values which correspond to Land of Eem core classes\n- Selecting a predefined class resets Courage and Dread to its defaults\n\n**Making a Roll**\n\n- Click on attribute, ability or stat name label to make a roll. Rollable elements will be underlined when you hover over them\n- Popup dialog will appear and let you apply Advantage or Disadvantage\n- Popup dialog will let you apply additional custom modifier\n- Calculated final modifier is clamped to -3 and +3 range (optional - can be disabled in sheet settings) and the roll result is displayed in the chat\n- You can still see the uncapped modifier when you hover over the roll result in the chat if needed\n\n**Changing the Sheet Type**\n\n- Go into the 'Settings' tab (right side of the navbar)\n- Choose between PC/NPC/Adversary from the type dropdown\n\n**Setting up the Adversary Sheet**\n\n- First fill in the options in the 'Initial Setup' tab\n- Fill in the 'Attack', 'Defense' and 'Wrangle'/'Parley' in the 'Attributes' tab\n- You can now choose level, class and size from the dropdowns in the 'Attributes' tab to recalculate the default 'Courage' and 'Mettle' that apply to your choices\n\n## Development\n\n#### Roadmap (TODO list)\n\n- Add interactive dice icons for making generic rolls\n- Buttons for consuming rations (automated usage die roll)\n- Buttons for spending coins (automated usage die roll)\n\n#### Credits\n\n**Character Sheet Created by**: Blaze Sanecki\n**Land of Eem Created By**: Ben Costa & James Parks \n**Official Land of Eem Website**: [landofeem.com](https://landofeem.com/)\n\nThis is an unofficial fan-made sheet created with the official blessing of the Land of Eem creators.\n\n#### License\n\nThis character sheet is a fan work created for use with The Land of Eem tabletop RPG. All Land of Eem intellectual property belongs to Ben Costa & James Parks.\n\n#### Fonts Used\n\n- Bird of Feather (replacement for the Blackriver font used in the Land of Eem rulebooks)\n- DM Sans (replacement for the New Atten font used in the Land of Eem rulebooks)\n\nAll used fonts are free for non-commercial use and allow being used as embeded online fonts.\n\n#### Support My Work\n\nIf you like my work, consider buying me a [Monster Energy Drink](https://ko-fi.com/blazesanecki/).",
|
||||
"instructions": "# Land Of Eem - Roll20 Character Sheet\n\n#### Version\n\nCurrent Version: 2.1.1\n\n## Features\n\n- **Custom design** matching the Land of Eem official character sheet aesthetic\n- **Expandable and Flexible Skill Lists** to better fit all of your character content\n- **Interactive rolls** with advantage/disadvantage support\n- **Auto-Recalculation** of abilities and stats when changing related attributes\n- **Optional modifier validation** (total modifier clamped to -3 and +3)\n- **Full Multi-language support** with English and Polish already implemented\n- **NPC Sheet type** for storing data about NPCs\n- **Adversary Sheet type** for storing data about Adversaries (with automated attack and mettle rolls)\n\n## Instructions\n**Selecting a PC Class**\n\n- Class input field has suggested values which correspond to Land of Eem core classes\n- Selecting a predefined class resets Courage and Dread to its defaults\n\n**Making a Roll**\n\n- Click on attribute, ability or stat name label to make a roll. Rollable elements will be underlined when you hover over them\n- Popup dialog will appear and let you apply Advantage or Disadvantage\n- Popup dialog will let you apply additional custom modifier\n- Calculated final modifier is clamped to -3 and +3 range (optional - can be disabled in sheet settings) and the roll result is displayed in the chat\n- You can still see the uncapped modifier when you hover over the roll result in the chat if needed\n\n**Changing the Sheet Type**\n\n- Go into the 'Settings' tab (right side of the navbar)\n- Choose between PC/NPC/Adversary from the type dropdown\n\n**Setting up the Adversary Sheet**\n\n- First fill in the options in the 'Initial Setup' tab\n- Fill in the 'Attack', 'Defense' and 'Wrangle'/'Parley' in the 'Attributes' tab\n- You can now choose level, class and size from the dropdowns in the 'Attributes' tab to recalculate the default 'Courage' and 'Mettle' that apply to your choices\n\n## Development\n\n#### Roadmap (TODO list)\n\n- Add interactive dice icons for making generic rolls\n- Buttons for consuming rations (automated usage die roll)\n- Buttons for spending coins (automated usage die roll)\n\n#### Credits\n\n**Character Sheet Created by**: Blaze Sanecki\n**Land of Eem Created By**: Ben Costa & James Parks \n**Official Land of Eem Website**: [landofeem.com](https://landofeem.com/)\n\nThis is an unofficial fan-made sheet created with the official blessing of the Land of Eem creators.\n\n#### License\n\nThis character sheet is a fan work created for use with The Land of Eem tabletop RPG. All Land of Eem intellectual property belongs to Ben Costa & James Parks.\n\n#### Fonts Used\n\n- Bird of Feather (replacement for the Blackriver font used in the Land of Eem rulebooks)\n- DM Sans (replacement for the New Atten font used in the Land of Eem rulebooks)\n\nAll used fonts are free for non-commercial use and allow being used as embeded online fonts.\n\n#### Support My Work\n\nIf you like my work, consider buying me a [Monster Energy Drink](https://ko-fi.com/blazesanecki/).",
|
||||
"legacy": false
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"LanguageCode": "en",
|
||||
"vim": "Vim",
|
||||
"vigor": "Vigor",
|
||||
"knack": "Knack",
|
||||
@@ -181,5 +182,12 @@
|
||||
"level_short": "L",
|
||||
"abilities": "Abilities",
|
||||
"number": "Number:",
|
||||
"backup_ability": "Old Abilities - Backup"
|
||||
"backup_ability": "Old Abilities - Backup",
|
||||
"footer-version": "Character Sheet (v.",
|
||||
"footer-by": ") by ",
|
||||
"footer-blessing": ", made with a blessing from by Ben Costa & James Parks - creators of the ",
|
||||
"land-of-eem": "Land of Eem",
|
||||
"add": "+ Add",
|
||||
"modify": "Modify",
|
||||
"done": "Done"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user