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}} -
Got an error code?
-Search
+{{ localeHelper locale "docs" "quickLinks" "links" 0 "header" }}
+{{ localeHelper locale "docs" "quickLinks" "links" 0 "caption" }}
Nintendo be like
-Here's your DMCA and C&D
+{{ localeHelper locale "docs" "quickLinks" "links" 1 "header" }}
+{{ localeHelper locale "docs" "quickLinks" "links" 1 "caption" }}