« get me outta code hell

content: generateQuickDescription: extraReadingLinks slot - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/strings-default.yaml
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-06-13 12:04:56 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-18 22:56:11 -0300
commit7c2d3127fda234fe1abd8705a7dbe544fea60daa (patch)
treee778e3ef62bcb6fe71e94c0604955446e785b957 /src/strings-default.yaml
parent194e6e9f6cb837c57f8317abe3394714ca8faa32 (diff)
content: generateQuickDescription: extraReadingLinks slot
Diffstat (limited to 'src/strings-default.yaml')
-rw-r--r--src/strings-default.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/strings-default.yaml b/src/strings-default.yaml
index 96ec36ad..8429c4cd 100644
--- a/src/strings-default.yaml
+++ b/src/strings-default.yaml
@@ -625,6 +625,11 @@ misc:
 
   missingLinkContent: "(Missing link content)"
 
+  # quickDescription:
+  #   Toggleable display where a shorter blurb from a description is
+  #   initially visible, and a button can be clicked to display the
+  #   rest. May also display "read more" links (to external sites).
+
   quickDescription:
     moreInfo:
       _: "({LINK})"
@@ -634,10 +639,18 @@ misc:
       _: "({EXPAND})"
       expand: "Expand description..."
 
+    expandDescription.orReadMore:
+      _: "({EXPAND}, or read more on {LINKS})"
+      expand: "Expand description"
+
     collapseDescription:
       _: "({COLLAPSE})"
       collapse: "Collapse description"
 
+    collapseDescription.orReadMore:
+      _: "({COLLAPSE}, or read more on {LINKS})"
+      collapse: "Collapse description"
+
   # nav:
   #   Generic navigational elements. These usually only appear in the
   #   wiki's nav bar, at the top of the page.