diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-03 14:05:45 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-04-03 14:05:45 -0300 |
commit | 2d3a59502de2e6b7c19c3159be065f540b5cceeb (patch) | |
tree | 62d2f21b8a9ff080c12ec6188a22f83cedfb81ef /src | |
parent | 27e67da7b6f31b6d6da52a7ad09a0da1acc06e03 (diff) |
content: generateFlashActSidebar: gog help thee
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateFlashActSidebar.js | 6 | ||||
-rw-r--r-- | src/strings-default.yaml | 5 |
2 files changed, 3 insertions, 8 deletions
diff --git a/src/content/dependencies/generateFlashActSidebar.js b/src/content/dependencies/generateFlashActSidebar.js index f7733d53..674d9ff9 100644 --- a/src/content/dependencies/generateFlashActSidebar.js +++ b/src/content/dependencies/generateFlashActSidebar.js @@ -4,8 +4,6 @@ export default { contentDependencies: ['linkFlash', 'linkFlashAct', 'linkFlashIndex'], extraDependencies: ['getColors', 'html', 'language', 'wikiData'], - // So help me Gog, the flash sidebar is heavily hard-coded. - sprawl: ({flashActData, flashSideData}) => ({flashActData, flashSideData}), query(sprawl, act, flash) { @@ -37,9 +35,7 @@ export default { currentSideActs.indexOf(act); const fallbackListTerminology = - (currentSideIndex <= 1 - ? 'flashesInThisAct' - : 'entriesInThisSection'); + 'entriesInThisSection'; return { sideNames, diff --git a/src/strings-default.yaml b/src/strings-default.yaml index 44bcbf70..004f867e 100644 --- a/src/strings-default.yaml +++ b/src/strings-default.yaml @@ -1069,9 +1069,8 @@ flashIndex: flashSidebar: flashList: - # These two strings are the default ones used when a flash act - # doesn't specify a custom phrasing. - flashesInThisAct: "Flashes in this act" + # This is the default string used when neither a flash act nor its side + # specifies a custom phrasing. entriesInThisSection: "Entries in this section" # |