tweak png copy button label (#1062)

* tweak png copy button label

* fix lint
This commit is contained in:
David Luzar 2020-03-23 16:15:22 +01:00 committed by GitHub
parent 722c498abe
commit cf4fa30a57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -135,8 +135,8 @@ function ExportModal({
<ToolButton <ToolButton
type="button" type="button"
icon={clipboard} icon={clipboard}
title={t("buttons.copyToClipboard")} title={t("buttons.copyPngToClipboard")}
aria-label={t("buttons.copyToClipboard")} aria-label={t("buttons.copyPngToClipboard")}
onClick={() => onExportToClipboard(exportedElements, scale)} onClick={() => onExportToClipboard(exportedElements, scale)}
/> />
)} )}

View File

@ -52,6 +52,7 @@
"exportToPng": "Export to PNG", "exportToPng": "Export to PNG",
"exportToSvg": "Export to SVG", "exportToSvg": "Export to SVG",
"copyToClipboard": "Copy to clipboard", "copyToClipboard": "Copy to clipboard",
"copyPngToClipboard": "Copy PNG to clipboard",
"save": "Save", "save": "Save",
"load": "Load", "load": "Load",
"getShareableLink": "Get shareable link", "getShareableLink": "Get shareable link",