fix: Missing translation tag

This commit is contained in:
Tom Moor
2021-09-14 20:15:37 -07:00
parent 1f6e1a71f9
commit cde2909296
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
// @flow // @flow
import { observer, inject } from "mobx-react"; import { observer, inject } from "mobx-react";
import * as React from "react"; import * as React from "react";
import { Trans } from "react-i18next";
import { withRouter, type Location } from "react-router-dom"; import { withRouter, type Location } from "react-router-dom";
import CollectionsStore from "stores/CollectionsStore"; import CollectionsStore from "stores/CollectionsStore";
import DocumentsStore from "stores/DocumentsStore"; import DocumentsStore from "stores/DocumentsStore";
@@ -42,12 +43,12 @@ class References extends React.Component<Props> {
<Tabs> <Tabs>
{showNestedDocuments && ( {showNestedDocuments && (
<Tab to="#children" isActive={() => !isBacklinksTab}> <Tab to="#children" isActive={() => !isBacklinksTab}>
Nested documents <Trans>Nested documents</Trans>
</Tab> </Tab>
)} )}
{showBacklinks && ( {showBacklinks && (
<Tab to="#backlinks" isActive={() => isBacklinksTab}> <Tab to="#backlinks" isActive={() => isBacklinksTab}>
Referenced by <Trans>Referenced by</Trans>
</Tab> </Tab>
)} )}
</Tabs> </Tabs>

View File

@@ -355,6 +355,7 @@
"Publishing": "Publishing", "Publishing": "Publishing",
"Sorry, it looks like you dont have permission to access the document": "Sorry, it looks like you dont have permission to access the document", "Sorry, it looks like you dont have permission to access the document": "Sorry, it looks like you dont have permission to access the document",
"Nested documents": "Nested documents", "Nested documents": "Nested documents",
"Referenced by": "Referenced by",
"Anyone with the link <1></1>can view this document": "Anyone with the link <1></1>can view this document", "Anyone with the link <1></1>can view this document": "Anyone with the link <1></1>can view this document",
"Share": "Share", "Share": "Share",
"Share this document": "Share this document", "Share this document": "Share this document",