diff --git a/assets/src/dashboard/components/dropdown/index.js b/assets/src/dashboard/components/dropdown/index.js index 691a0b68863d..ecdf113cf182 100644 --- a/assets/src/dashboard/components/dropdown/index.js +++ b/assets/src/dashboard/components/dropdown/index.js @@ -17,7 +17,7 @@ /** * WordPress dependencies */ -import { __, sprintf } from '@wordpress/i18n'; +import { _n, sprintf } from '@wordpress/i18n'; /** * External dependencies @@ -244,7 +244,12 @@ const Dropdown = ({ {selectedItems.length > 1 && sprintf( /* translators: %s: number selected */ - __(' + %s', 'web-stories'), + _n( + ' + %s', + ' + %s', + (selectedItems.length - 1).toString(10), + 'web-stories' + ), (selectedItems.length - 1).toString(10) )} diff --git a/assets/src/dashboard/components/templateNavBar/index.js b/assets/src/dashboard/components/templateNavBar/index.js index 25694261478b..141c58e99261 100644 --- a/assets/src/dashboard/components/templateNavBar/index.js +++ b/assets/src/dashboard/components/templateNavBar/index.js @@ -75,6 +75,9 @@ const CloseLink = styled.a` color: ${theme.colors.gray700}; `} `; +const CapitalizedButton = styled(Button)` + text-transform: uppercase; +`; export function TemplateNavBar({ handleCta }) { return ( @@ -84,9 +87,9 @@ export function TemplateNavBar({ handleCta }) { - + + {__('use template', 'web-stories')} + );