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(i18n): translate layout settings
Elian Doran23ef2c593e30
diff --git a/src/public/app/widgets/type_widgets/options/appearance/theme.js b/src/public/app/widgets/type_widgets/options/appearance/theme.jsindex e9fc04b735..7efedd5236 100644--- a/src/public/app/widgets/type_widgets/options/appearance/theme.js+++ b/src/public/app/widgets/type_widgets/options/appearance/theme.js@@ -5,22 +5,22 @@ import { t } from "../../../../services/i18n.js";const TPL = `<div class="options-section">- <h4>Layout</h4>+ <h4>${t("theme.layout")}</h4><div class="form-group row"><div><label><input type="radio" name="layout-orientation" value="vertical" />- <strong>Vertical</strong>- - launcher bar is on the left (default)+ <strong>${t("theme.layout-vertical-title")}</strong>+ - ${t("theme.layout-vertical-description")}</label></div><div><label><input type="radio" name="layout-orientation" value="horizontal" />- <strong>Horizontal</strong>- - launcher bar is underneath the tab bar, the tab bar is now full width.+ <strong>${t("theme.layout-horizontal-title")}</strong>+ - ${t("theme.layout-horizontal-description")}</label></div></div>diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.jsonindex 9bfc970bed..79e1153df9 100644--- a/src/public/translations/en/translation.json+++ b/src/public/translations/en/translation.json@@ -1061,7 +1061,12 @@"theme_label": "Theme","override_theme_fonts_label": "Override theme fonts","light_theme": "Light",- "dark_theme": "Dark"+ "dark_theme": "Dark",+ "layout": "Layout",+ "layout-vertical-title": "Vertical",+ "layout-horizontal-title": "Horizontal",+ "layout-vertical-description": "launcher bar is on the left (default)",+ "layout-horizontal-description": "launcher bar is underneath the tab bar, the tab bar is now full width."},"zoom_factor": {"title": "Zoom Factor (desktop build only)",