« get me outta code hell

strings: fallbackGroupName -> fallbackSectionName - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-01-04 21:32:47 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-01-04 21:32:47 -0400
commit8093844a5460683b48219dba238b0e6e864dacd8 (patch)
treea05af5275ea64aaea7b5a6d44c1eb2c76676b68e
parent0698f5ec7bff107b5fd3881fda45a023dc6e8737 (diff)
strings: fallbackGroupName -> fallbackSectionName track-sections
-rw-r--r--src/page/album.js2
-rw-r--r--src/strings-default.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/page/album.js b/src/page/album.js
index c590d611..906c02ea 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -526,7 +526,7 @@ export function generateAlbumSidebar(album, currentTrack, {
 
   const nameOrDefault = (isDefaultTrackSection, name) =>
     isDefaultTrackSection
-      ? language.$('albumSidebar.trackList.fallbackGroupName')
+      ? language.$('albumSidebar.trackList.fallbackSectionName')
       : name;
 
   const trackListPart = [
diff --git a/src/strings-default.json b/src/strings-default.json
index f9c1db8b..13ae61af 100644
--- a/src/strings-default.json
+++ b/src/strings-default.json
@@ -191,7 +191,7 @@
   "homepage.title": "{TITLE}",
   "homepage.news.title": "News",
   "homepage.news.entry.viewRest": "(View rest of entry!)",
-  "albumSidebar.trackList.fallbackGroupName": "Track list",
+  "albumSidebar.trackList.fallbackSectionName": "Track list",
   "albumSidebar.trackList.group": "{GROUP}",
   "albumSidebar.trackList.group.withRange": "{GROUP} ({RANGE})",
   "albumSidebar.trackList.item": "{TRACK}",