From 3a9a91dbb1e4ebbd4def8d7db842742650e6927a Mon Sep 17 00:00:00 2001 From: Ash Monty Date: Sun, 12 Dec 2021 23:45:27 +0100 Subject: [PATCH] chore: update SVGs for quick links, add text to locale.json --- locales/US_en.json | 15 ++++++++++++++- views/docs/docs.handlebars | 16 +++++++--------- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/locales/US_en.json b/locales/US_en.json index c058455..c277db5 100644 --- a/locales/US_en.json +++ b/locales/US_en.json @@ -180,6 +180,19 @@ "button": "Test file" }, "docs": { - "missingInLocale": "This page is unavailable in your locale. Please check the English version below." + "missingInLocale": "This page is unavailable in your locale. Please check the English version below.", + "quickLinks": { + "header": "Quick links", + "links": [ + { + "header": "Installing Pretendo", + "caption": "View the setup instructions" + }, + { + "header": "Got an error?", + "caption": "Search for it here" + } + ] + } } } \ No newline at end of file diff --git a/views/docs/docs.handlebars b/views/docs/docs.handlebars index d5b7c12..584b518 100644 --- a/views/docs/docs.handlebars +++ b/views/docs/docs.handlebars @@ -38,22 +38,20 @@ {{/if}} {{#if showQuickLinks}} -

Quick links

+

{{ localeHelper locale "docs" "quickLinks" "header" }}