« get me outta code hell

content: listRandomPageLinks: update chooseLinkLine wording - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-10-29 10:00:52 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-10-29 10:00:52 -0300
commite71230340181a3b7b38ff05ba23504b264f5b26c (patch)
tree5f5fa67eadef5274988ae69981cc1cd40e4d7a40 /src/content
parentd2903c800b6a005a447cc26f9431fe5fe4fb08b6 (diff)
content: listRandomPageLinks: update chooseLinkLine wording
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/listRandomPageLinks.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/content/dependencies/listRandomPageLinks.js b/src/content/dependencies/listRandomPageLinks.js
index ce90a153..599a82d3 100644
--- a/src/content/dependencies/listRandomPageLinks.js
+++ b/src/content/dependencies/listRandomPageLinks.js
@@ -37,7 +37,15 @@ export default {
       type: 'custom',
       content: [
         html.tag('p',
-          language.$('listingPage.other.randomPages.chooseLinkLine')),
+          language.$('listingPage.other.randomPages.chooseLinkLine', {
+            fromPart:
+              (empty(relations.groupSections)
+                ? language.$('listingPage.other.randomPages.chooseLinkLine.fromPart.notDividedByGroups')
+                : language.$('listingPage.other.randomPages.chooseLinkLine.fromPart.dividedByGroups')),
+
+            browserSupportPart:
+              language.$('listingPage.other.randomPages.chooseLinkLine.browserSupportPart'),
+          })),
 
         html.tag('p',
           {class: 'js-hide-once-data'},