Skip to content

Commit

Permalink
3. Misc changes
Browse files Browse the repository at this point in the history
- Added a tooltip in the input field, for the logo
- Fixed a small bug with h2
  • Loading branch information
KamiliaBlow committed Jun 14, 2024
1 parent 0f7bfa8 commit a0ca6b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,5 +251,6 @@
"ffg-star-wars-enhancements.title-cards.title-cards-close-delay": "Window close delay",
"ffg-star-wars-enhancements.title-cards.title-cards-logo-head": "Logo",
"ffg-star-wars-enhancements.title-cards.title-cards-episode-head": "Episode",
"ffg-star-wars-enhancements.title-cards.title-cards-logo-head-hint": "It works if you don't specify an logo image in the settings",
"ffg-star-wars-enhancements.title-cards.title-cards-close-delay-hint": "Time in seconds since the text disappeared to close the window. If 0, will not close the window"
}
5 changes: 3 additions & 2 deletions scripts/title_cards.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export function title_cards_dialog() {
title: game.i18n.localize("ffg-star-wars-enhancements.controls.title-cards.title"),
content: `
<form>
<h2>${game.i18n.localize("ffg-star-wars-enhancements.title-cards.title-cards-logo-head")}</h1>
<h2>${game.i18n.localize("ffg-star-wars-enhancements.title-cards.title-cards-logo-head")}</h2>
<h4>${game.i18n.localize("ffg-star-wars-enhancements.title-cards.title-cards-logo-head-hint")}</h4>
<div class="form-group">
<p>
<label>${game.i18n.localize("ffg-star-wars-enhancements.controls.title-cards.toptext-label-2")}</label>
Expand All @@ -16,7 +17,7 @@ export function title_cards_dialog() {
<input type='text' name='bottomtext-2'></input>
</p>
</div>
<h2>${game.i18n.localize("ffg-star-wars-enhancements.title-cards.title-cards-episode-head")}</h1><br>
<h2>${game.i18n.localize("ffg-star-wars-enhancements.title-cards.title-cards-episode-head")}</h2><br>
<div class="form-group">
<p>
<label>${game.i18n.localize("ffg-star-wars-enhancements.controls.title-cards.toptext-label")}</label>
Expand Down

0 comments on commit a0ca6b2

Please sign in to comment.