Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(standalone/setup): setup translation partially
Elian Doran939f93180949
diff --git a/apps/client/src/setup.tsx b/apps/client/src/setup.tsxindex 519da828f1..8b021527ad 100644--- a/apps/client/src/setup.tsx+++ b/apps/client/src/setup.tsx@@ -1,13 +1,19 @@import { render } from "preact";+import { initLocale, t } from "./services/i18n";+async function main() {+ await initLocale();+const bodyWrapper = document.createElement("div");render(<App />, bodyWrapper);document.body.appendChild(bodyWrapper);}function App() {- return <p>Loading...</p>;+ return (+ <h1>{t("setup.heading")}</h1>+ );}main();diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.jsonindex 27891a02ab..9718d9d705 100644--- a/apps/client/src/translations/en/translation.json+++ b/apps/client/src/translations/en/translation.json@@ -2230,5 +2230,15 @@"sample_xy": "XY","sample_venn": "Venn","sample_ishikawa": "Ishikawa"+ },+ "setup": {+ "heading": "Trilium Notes setup",+ "new-document": "I'm a new user, and I want to create a new Trilium document for my notes",+ "sync-from-desktop": "I have a desktop instance already, and I want to set up sync with it",+ "sync-from-server": "I have a server instance already, and I want to set up sync with it",+ "next": "Next",+ "init-in-progress": "Document initialization in progress",+ "redirecting": "You will be shortly redirected to the application.",+ "title": "Setup"}}