File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
excalidraw-app/components
packages/excalidraw/locales Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11import { Button , Footer } from "@excalidraw/excalidraw/index" ;
22import React from "react" ;
33
4+ import { useI18n } from "@excalidraw/excalidraw/i18n" ;
5+
46import { isExcalidrawPlusSignedUser } from "../app_constants" ;
57
68import { DebugFooter , isVisualDebuggerEnabled } from "./DebugCanvas" ;
@@ -15,6 +17,8 @@ export const AppFooter = React.memo(
1517 onChange : ( ) => void ;
1618 onPresentation : ( ) => void ;
1719 } ) => {
20+ const { t } = useI18n ( ) ;
21+
1822 return (
1923 < Footer >
2024 < div
@@ -31,7 +35,7 @@ export const AppFooter = React.memo(
3135 < EncryptedIcon />
3236 ) }
3337 < Button onSelect = { onPresentation } style = { { width : "fit-content" } } >
34- Present
38+ { t ( "labels.present" ) }
3539 </ Button >
3640 </ div >
3741 </ Footer >
Original file line number Diff line number Diff line change 8787 "actions" : " Actions" ,
8888 "language" : " Language" ,
8989 "liveCollaboration" : " Live collaboration..." ,
90+ "present" : " Present" ,
9091 "duplicateSelection" : " Duplicate" ,
9192 "duplicateSelectionIntoNextFrame" : " Duplicate into next frame" ,
9293 "untitled" : " Untitled" ,
You can’t perform that action at this time.
0 commit comments