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
client/read only note info bar: add translation string
Adorian Dorand23d37baac31
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.jsonindex 81db8882e2..ac62c227c4 100644--- a/apps/client/src/translations/en/translation.json+++ b/apps/client/src/translations/en/translation.json@@ -1639,8 +1639,8 @@"read-only-info": {"read-only-note": "This is a read-only note.","auto-read-only-note": "This note was automatically set to read-only to improve navigation speed.",- "auto-read-only-learn-more": "Learn more"-+ "auto-read-only-learn-more": "Learn more",+ "edit-note": "Edit note"},"note_types": {"text": "Text",diff --git a/apps/client/src/widgets/read_only_note_info-bar.tsx b/apps/client/src/widgets/read_only_note_info-bar.tsxindex 9d61af13f3..662fc2ac4c 100644--- a/apps/client/src/widgets/read_only_note_info-bar.tsx+++ b/apps/client/src/widgets/read_only_note_info-bar.tsx@@ -29,7 +29,8 @@ export default function ReadOnlyNoteInfoBar() {</div>)}- <Button text="Edit note" icon="bx-pencil" onClick={() => enableEditing()} />+ <Button text={t("read-only-info.edit-note")}+ icon="bx-pencil" onClick={() => enableEditing()} /></>}</div>;}