« get me outta code hell

content: generateTrackArtistCommentarySection: cut secrelease drop - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-06-04 20:55:55 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-06-04 20:55:55 -0300
commitd90c581cfd46eb59e0db873597ead6b39fab2255 (patch)
tree5710d4092689200172658b45586b15b978ace11c /src
parent609b5fb0c3238e3cb431703720f074436c7bcc0d (diff)
content: generateTrackArtistCommentarySection: cut secrelease drop
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateTrackArtistCommentarySection.js14
-rw-r--r--src/strings-default.yaml7
2 files changed, 3 insertions, 18 deletions
diff --git a/src/content/dependencies/generateTrackArtistCommentarySection.js b/src/content/dependencies/generateTrackArtistCommentarySection.js
index 228863a4..6650ff2b 100644
--- a/src/content/dependencies/generateTrackArtistCommentarySection.js
+++ b/src/content/dependencies/generateTrackArtistCommentarySection.js
@@ -84,19 +84,7 @@ export default {
             title: language.$('misc.artistCommentary'),
           }),
 
-        html.tags([
-          data.isSecondaryRelease &&
-          !html.isBlank(relations.mainReleaseArtistCommentaryEntries) &&
-            html.tag('p', {class: ['drop', 'commentary-drop']},
-              {[html.onlyIfSiblings]: true},
-
-              language.$(capsule, 'info.releaseSpecific', {
-                album:
-                  relations.thisReleaseAlbumLink,
-              })),
-
-          relations.artistCommentaryEntries,
-        ]),
+        relations.artistCommentaryEntries,
 
         data.isSecondaryRelease &&
           html.tags([
diff --git a/src/strings-default.yaml b/src/strings-default.yaml
index 0fcc88b6..125cd976 100644
--- a/src/strings-default.yaml
+++ b/src/strings-default.yaml
@@ -519,13 +519,10 @@ misc:
 
     info:
       fromMainRelease: >-
-        This commentary is properly placed on this track's main release, {ALBUM}.
+        The following commentary is properly placed on this track's main release, {ALBUM}.
 
       fromMainRelease.namedDifferently: >-
-        This commentary is properly placed on this track's main release, {ALBUM}, where it's named {NAME}.
-
-      releaseSpecific: >-
-        This commentary is specific to this release, {ALBUM}.
+        The following commentary is properly placed on this track's main release, {ALBUM}, where it's named {NAME}.
 
       seeSpecificReleases: >-
         For release-specific commentary, check out: {ALBUMS}.