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
feat(branch_prefix): add a small description
Elian Doran6215d0847422
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.jsonindex b4640b2b8c..f2376ccd7a 100644--- a/apps/client/src/translations/en/translation.json+++ b/apps/client/src/translations/en/translation.json@@ -68,7 +68,8 @@"branch_prefix_saved": "Branch prefix has been saved.","branch_prefix_saved_multiple": "Branch prefix has been saved for {{count}} branches.","affected_branches": "Affected branches ({{count}}):",- "preview_in_tree": "Preview in tree"+ "preview_in_tree": "Preview in tree",+ "description": "Prepended to the note title in this branch only. Other branches keep the original title."},"bulk_actions": {"bulk_actions": "Bulk actions",diff --git a/apps/client/src/widgets/dialogs/branch_prefix.tsx b/apps/client/src/widgets/dialogs/branch_prefix.tsxindex 364a18da1a..3f2e20c985 100644--- a/apps/client/src/widgets/dialogs/branch_prefix.tsx+++ b/apps/client/src/widgets/dialogs/branch_prefix.tsx@@ -99,7 +99,7 @@ export default function BranchPrefixDialog() {footer={<Button text={t("branch_prefix.save")} />}show={shown}>- <FormGroup label={t("branch_prefix.prefix")} name="prefix">+ <FormGroup label={t("branch_prefix.prefix")} name="prefix" description={t("branch_prefix.description")}><input class="branch-prefix-input form-control" value={prefix} ref={branchInput}onChange={(e) => setPrefix((e.target as HTMLInputElement).value)} /></FormGroup>