From cde2909296ac694267382d2d980bdb7f407364b1 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 14 Sep 2021 20:15:37 -0700 Subject: [PATCH] fix: Missing translation tag --- app/scenes/Document/components/References.js | 5 +++-- shared/i18n/locales/en_US/translation.json | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/scenes/Document/components/References.js b/app/scenes/Document/components/References.js index 7851cafa0..470cdce6e 100644 --- a/app/scenes/Document/components/References.js +++ b/app/scenes/Document/components/References.js @@ -1,6 +1,7 @@ // @flow import { observer, inject } from "mobx-react"; import * as React from "react"; +import { Trans } from "react-i18next"; import { withRouter, type Location } from "react-router-dom"; import CollectionsStore from "stores/CollectionsStore"; import DocumentsStore from "stores/DocumentsStore"; @@ -42,12 +43,12 @@ class References extends React.Component { {showNestedDocuments && ( !isBacklinksTab}> - Nested documents + Nested documents )} {showBacklinks && ( isBacklinksTab}> - Referenced by + Referenced by )} diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 0b5a83bf7..e4d66d369 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -355,6 +355,7 @@ "Publishing": "Publishing", "Sorry, it looks like you don’t have permission to access the document": "Sorry, it looks like you don’t have permission to access the document", "Nested documents": "Nested documents", + "Referenced by": "Referenced by", "Anyone with the link <1>can view this document": "Anyone with the link <1>can view this document", "Share": "Share", "Share this document": "Share this document",