mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
feat(website/i18n): translate 404
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import Section from "../components/Section.js";
|
||||
import { usePageTitle } from "../hooks.js";
|
||||
import { t } from "../i18n.js";
|
||||
import "./_404.css";
|
||||
|
||||
export function NotFound() {
|
||||
usePageTitle("404");
|
||||
usePageTitle(t("404.title"));
|
||||
|
||||
return (
|
||||
<Section title="404: Not Found" className="section-404">
|
||||
The page you were looking for could not be found. Maybe it was deleted or the URL is incorrect.
|
||||
<Section title={t("404.title")} className="section-404">
|
||||
{t("404.description")}
|
||||
</Section>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user