client/read only note info bar: add translation string

This commit is contained in:
Adorian Doran 2025-11-06 00:22:00 +02:00
parent dda8b2795b
commit d23d37baac
2 changed files with 4 additions and 3 deletions

View File

@ -1639,8 +1639,8 @@
"read-only-info": { "read-only-info": {
"read-only-note": "This is a read-only note.", "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-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": { "note_types": {
"text": "Text", "text": "Text",

View File

@ -29,7 +29,8 @@ export default function ReadOnlyNoteInfoBar() {
</div> </div>
)} )}
<Button text="Edit note" icon="bx-pencil" onClick={() => enableEditing()} /> <Button text={t("read-only-info.edit-note")}
icon="bx-pencil" onClick={() => enableEditing()} />
</>} </>}
</div>; </div>;
} }