« get me outta code hell

content: generatePageLayout: credit sources skipper - 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>2024-06-23 16:42:36 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-24 15:03:11 -0300
commit3f82268bd6fd7afc2d032e55774a83a0c7507ad5 (patch)
treeafe3452fe058802b5fb560ba968956fbdd320017
parente771760d3947fcec2eaf866ae707a7d5105f8850 (diff)
content: generatePageLayout: credit sources skipper
You know, these should probably be coded with templates or
detectable metatags or something similar LOL
-rw-r--r--src/content/dependencies/generatePageLayout.js1
-rw-r--r--src/strings-default.yaml9
2 files changed, 7 insertions, 3 deletions
diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js
index 94827568..4e4df5ec 100644
--- a/src/content/dependencies/generatePageLayout.js
+++ b/src/content/dependencies/generatePageLayout.js
@@ -495,6 +495,7 @@ export default {
               {id: 'additional-files', string: 'additionalFiles'},
               {id: 'commentary', string: 'commentary'},
               {id: 'artist-commentary', string: 'artistCommentary'},
+              {id: 'credit-sources', string: 'creditSources'},
             ])),
         ]);
 
diff --git a/src/strings-default.yaml b/src/strings-default.yaml
index c04ac181..af29ed78 100644
--- a/src/strings-default.yaml
+++ b/src/strings-default.yaml
@@ -752,11 +752,17 @@ misc:
       left: "Sidebar (left)"
       right: "Sidebar (right)"
 
+    # Displayed on various info pages.
+
+    artistCommentary: "Artist commentary"
+    creditSources: "Crediting sources"
+
     # Displayed on artist info page.
 
     tracks: "Tracks"
     artworks: "Artworks"
     flashes: "Flashes & Games"
+    commentary: "Commentary"
 
     # Displayed on track and flash info pages.
 
@@ -778,9 +784,6 @@ misc:
 
     # Displayed on track and album info pages.
 
-    commentary: "Commentary"
-
-    artistCommentary: "Commentary"
     additionalFiles: "Additional files"
 
   # socialEmbed: