From 4d0495221370f33b504c69dd510dc03ae9736ca0 Mon Sep 17 00:00:00 2001 From: ov Date: Wed, 26 Aug 2020 13:06:37 +0100 Subject: [PATCH] Adding Translation Keys in QuickAddList Component (fixes #1571) --- client/modules/IDE/components/QuickAddList/QuickAddList.jsx | 2 +- translations/locales/en-US/translations.json | 4 ++-- translations/locales/es-419/translations.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/modules/IDE/components/QuickAddList/QuickAddList.jsx b/client/modules/IDE/components/QuickAddList/QuickAddList.jsx index 32264230..b79e70fb 100644 --- a/client/modules/IDE/components/QuickAddList/QuickAddList.jsx +++ b/client/modules/IDE/components/QuickAddList/QuickAddList.jsx @@ -8,7 +8,7 @@ import Icons from './Icons'; const Item = ({ isAdded, onSelect, name, url, t }) => { - const buttonLabel = isAdded ? 'Remove from collection' : 'Add to collection'; + const buttonLabel = isAdded ? t('QuickAddList.ButtonRemoveARIA') : t('QuickAddList.ButtonAddToCollectionARIA'); return (
  • { /* eslint-disable-line */ }