diff --git a/lemmy-translations b/lemmy-translations index 2e9f6291..f6140fee 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit 2e9f6291c91a9c97fa7f7740f90ee3146515e03c +Subproject commit f6140fee78e9b9f495072eeb0707f972d51aefad diff --git a/package.json b/package.json index 729b6b10..acd8c6ab 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "eslint-plugin-prettier": "^4.0.0", "husky": "^7.0.4", "import-sort-style-module": "^6.0.0", - "lemmy-js-client": "0.16.4-rc.1", + "lemmy-js-client": "git+https://github.com/LemmyNet/lemmy-js-client.git#legal-info", "lint-staged": "^12.4.1", "mini-css-extract-plugin": "^2.6.0", "node-fetch": "^2.6.1", diff --git a/src/shared/components/app/footer.tsx b/src/shared/components/app/footer.tsx index d4edd78c..b23fdeef 100644 --- a/src/shared/components/app/footer.tsx +++ b/src/shared/components/app/footer.tsx @@ -32,6 +32,13 @@ export class Footer extends Component { {i18n.t("modlog")} + {this.props.site.site_view.site.legal_information && ( +
  • + + {i18n.t("legal_information")} + +
  • + )} {this.props.site.federated_instances && (