Skip to content

Commit

Permalink
Merge pull request #175 from arknano/cleanup-settings-title
Browse files Browse the repository at this point in the history
fix(settings): standardise popup settings window titles
  • Loading branch information
wrycu authored Jan 31, 2024
2 parents f81babb + 4902d78 commit dc142e7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/animation.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ class attack_animation_UISettings extends FormApplication {
return mergeObject(super.defaultOptions, {
id: "data-importer",
classes: ["starwarsffg", "data-import"],
title: `${game.i18n.localize("SWFFG.UISettingsLabel")}`,
title: `${game.i18n.localize("ffg-star-wars-enhancements.attack-animation.ui.name")}`,
template: "modules/ffg-star-wars-enhancements/templates/settings.html",
});
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/opening_crawl.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ class opening_crawl_UISettings extends FormApplication {
return mergeObject(super.defaultOptions, {
id: "data-importer",
classes: ["starwarsffg", "data-import"],
title: `${game.i18n.localize("SWFFG.UISettingsLabel")}`,
title: `${game.i18n.localize("ffg-star-wars-enhancements.opening-crawl.ui.name")}`,
template: "modules/ffg-star-wars-enhancements/templates/settings.html",
});
}
Expand Down
1 change: 0 additions & 1 deletion templates/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
<form autocomplete="off" class="flexcol">
<section class="content" id="config-tabs">
<div class="settings-list">
<h2 class="module-header">{{ localize data.system.title }}</h2>
{{#each data.system.menus}} {{> menuPartial}} {{/each}} {{#each data.system.settings}} {{> settingPartialCustom}}
{{else}}
<p class="notes">{{localize 'SETTINGS.None'}}</p>
Expand Down

0 comments on commit dc142e7

Please sign in to comment.