Skip to content

Commit

Permalink
Refactor button label language
Browse files Browse the repository at this point in the history
Co-authored-by: aurooba <aurooba@auroobamakes.com
Co-authored-by: alexstine <alex.stine@yourtechadvisors.com>
  • Loading branch information
aurooba and alexstine committed Oct 8, 2023
1 parent 7e9043b commit 35e98e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -10,7 +10,7 @@ export default function ExportButton() {
return null;
}

const exportButtonAriaLabel = 'Download Playground export as ZIP file';
const exportButtonAriaLabel = 'Download configuration .zip file';

return (
<button
Expand Down
Expand Up @@ -8,7 +8,7 @@ export default function ImportButton() {
const [isOpen, setOpen] = useState(false);
const openModal = () => setOpen(true);
const closeModal = () => setOpen(false);
const importButtonAriaLabel = 'Open Playground import window';
const importButtonAriaLabel = 'Import configuration';
const { playground } = usePlaygroundContext();
function handleImported() {
// eslint-disable-next-line no-alert
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/website/src/components/modal/index.tsx
Expand Up @@ -29,7 +29,7 @@ export const defaultStyles: ReactModal.Styles = {
};

export default function Modal(props: ModalProps) {
const closeBtnAriaLabel = 'Close import window';
const closeBtnAriaLabel = 'Close';

return (
<ReactModal style={defaultStyles} {...props}>
Expand Down

0 comments on commit 35e98e0

Please sign in to comment.