« get me outta code hell

content: generateCommentaryEntry: add missing noArtists string - 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-11-16 14:27:15 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-11-16 14:27:44 -0400
commitc9c8ccfbeb6a013131dee429da0f12192364a8d0 (patch)
tree243b1d213b71101360a2b84701e381ba31528b00
parent7a5b4465069d594a90c8e783e646a3248408ddaf (diff)
content: generateCommentaryEntry: add missing noArtists string
-rw-r--r--src/content/dependencies/generateCommentaryEntry.js2
-rw-r--r--src/strings-default.yaml1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/content/dependencies/generateCommentaryEntry.js b/src/content/dependencies/generateCommentaryEntry.js
index 72e30657..b265ed41 100644
--- a/src/content/dependencies/generateCommentaryEntry.js
+++ b/src/content/dependencies/generateCommentaryEntry.js
@@ -47,7 +47,7 @@ export default {
           ? relations.artistsContent.slot('mode', 'inline')
        : relations.artistLink
           ? relations.artistLink
-          : language.$('misc.artistCommentary.noArtist')));
+          : language.$('misc.artistCommentary.entry.title.noArtists')));
 
     const accentParts = ['misc.artistCommentary.entry.title.accent'];
     const accentOptions = {};
diff --git a/src/strings-default.yaml b/src/strings-default.yaml
index f83412e9..5a3d172f 100644
--- a/src/strings-default.yaml
+++ b/src/strings-default.yaml
@@ -353,6 +353,7 @@ misc:
     entry:
       title:
         _: "{ARTISTS}:"
+        noArtists: "Unknown artist"
         withAccent: "{ARTISTS}: {ACCENT}"
         accent:
           withAnnotation: "({ANNOTATION})"