mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 00:19:04 +01:00
client/read only note info bar: add translation string
This commit is contained in:
parent
dda8b2795b
commit
d23d37baac
@ -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",
|
||||
|
||||
@ -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>;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user