mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: Use dialog component for clear canvas instead of window confirm (#4075)
* feat: Use dialog component for clear canvas instead of window confirm * reduce font weight * fix specs * update button name and use action * export clearCanvas from actions
This commit is contained in:
parent
6eecadce60
commit
0f0244224d
5 changed files with 123 additions and 21 deletions
|
@ -136,7 +136,9 @@
|
|||
"darkMode": "Dark mode",
|
||||
"lightMode": "Light mode",
|
||||
"zenMode": "Zen mode",
|
||||
"exitZenMode": "Exit zen mode"
|
||||
"exitZenMode": "Exit zen mode",
|
||||
"cancel": "Cancel",
|
||||
"clear": "Clear"
|
||||
},
|
||||
"alerts": {
|
||||
"clearReset": "This will clear the whole canvas. Are you sure?",
|
||||
|
@ -256,6 +258,9 @@
|
|||
"zoomToFit": "Zoom to fit all elements",
|
||||
"zoomToSelection": "Zoom to selection"
|
||||
},
|
||||
"clearCanvasDialog": {
|
||||
"title": "Clear Canvas"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Your drawings are end-to-end encrypted so Excalidraw's servers will never see them.",
|
||||
"link": "Blog post on end-to-end encryption in Excalidraw"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue