Skip to content

Commit

Permalink
tweak png copy button label (excalidraw#1062)
Browse files Browse the repository at this point in the history
* tweak png copy button label

* fix lint
  • Loading branch information
dwelle authored Mar 23, 2020
1 parent 722c498 commit cf4fa30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ExportDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ function ExportModal({
<ToolButton
type="button"
icon={clipboard}
title={t("buttons.copyToClipboard")}
aria-label={t("buttons.copyToClipboard")}
title={t("buttons.copyPngToClipboard")}
aria-label={t("buttons.copyPngToClipboard")}
onClick={() => onExportToClipboard(exportedElements, scale)}
/>
)}
Expand Down
1 change: 1 addition & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"exportToPng": "Export to PNG",
"exportToSvg": "Export to SVG",
"copyToClipboard": "Copy to clipboard",
"copyPngToClipboard": "Copy PNG to clipboard",
"save": "Save",
"load": "Load",
"getShareableLink": "Get shareable link",
Expand Down

0 comments on commit cf4fa30

Please sign in to comment.