feat: change restore locked note message

This commit is contained in:
Antonella Sgarlatta
2021-07-14 11:43:20 -03:00
parent ed2e2dc258
commit 197a552d87

View File

@@ -43,7 +43,7 @@ export const STRING_DELETE_LOCKED_ATTEMPT =
export const STRING_EDIT_LOCKED_ATTEMPT = export const STRING_EDIT_LOCKED_ATTEMPT =
"This note has editing disabled. If you'd like to edit its options, enable editing, and try again."; "This note has editing disabled. If you'd like to edit its options, enable editing, and try again.";
export const STRING_RESTORE_LOCKED_ATTEMPT = export const STRING_RESTORE_LOCKED_ATTEMPT =
"This note has editing disabled. If you'd like to restore a different version of it, enable editing, and try again." "This note has editing disabled. If you'd like to restore it to a previous revision, enable editing and try again.";
export function StringDeleteNote(title: string, permanently: boolean) { export function StringDeleteNote(title: string, permanently: boolean) {
return permanently return permanently
? `Are you sure you want to permanently delete ${title}?` ? `Are you sure you want to permanently delete ${title}?`