import { NavLink } from "inferno-router";
import { GetSiteResponse } from "lemmy-js-client";
import { docsUrl, joinLemmyUrl, repoUrl } from "../../config";
-import { i18n } from "../../i18next";
+import { I18NextService } from "../../services";
import { VERSION } from "../../version";
interface FooterProps {
</li>
<li className="nav-item">
<NavLink className="nav-link" to="/modlog">
- {i18n.t("modlog")}
+ {I18NextService.i18n.t("modlog")}
</NavLink>
</li>
{this.props.site?.site_view.local_site.legal_information && (
<li className="nav-item">
<NavLink className="nav-link" to="/legal">
- {i18n.t("legal_information")}
+ {I18NextService.i18n.t("legal_information")}
</NavLink>
</li>
)}
{this.props.site?.site_view.local_site.federation_enabled && (
<li className="nav-item">
<NavLink className="nav-link" to="/instances">
- {i18n.t("instances")}
+ {I18NextService.i18n.t("instances")}
</NavLink>
</li>
)}
<li className="nav-item">
<a className="nav-link" href={docsUrl}>
- {i18n.t("docs")}
+ {I18NextService.i18n.t("docs")}
</a>
</li>
<li className="nav-item">
<a className="nav-link" href={repoUrl}>
- {i18n.t("code")}
+ {I18NextService.i18n.t("code")}
</a>
</li>
<li className="nav-item">
<a className="nav-link" href={joinLemmyUrl}>
- {i18n.t("join_lemmy")}
+ {I18NextService.i18n.t("join_lemmy")}
</a>
</li>
</ul>