Fixes some string noticed on translation.

This commit is contained in:
mateuswetah 2020-05-06 17:08:47 -03:00
parent 871b2c322a
commit 8b589ff32e
1 changed files with 2 additions and 2 deletions

View File

@ -483,7 +483,7 @@ registerBlockType('tainacan/faceted-search', {
/> />
<ToggleControl <ToggleControl
label={__('Start with Filters hidden', 'tainacan')} label={__('Start with Filters hidden', 'tainacan')}
help={ startWithFiltersHidden ? __('Render the list with filters hidden at first" button', 'tainacan') : __('Toggle to render the list with filters visible at first', 'tainacan')} help={ startWithFiltersHidden ? __('Render the list with filters hidden at first', 'tainacan') : __('Toggle to render the list with filters visible at first', 'tainacan')}
checked={ startWithFiltersHidden } checked={ startWithFiltersHidden }
onChange={ ( isChecked ) => { onChange={ ( isChecked ) => {
startWithFiltersHidden = isChecked; startWithFiltersHidden = isChecked;
@ -493,7 +493,7 @@ registerBlockType('tainacan/faceted-search', {
/> />
<ToggleControl <ToggleControl
label={__('Filters as a Modal', 'tainacan')} label={__('Filters as a Modal', 'tainacan')}
help={ filtersAsModal ? __('Render the filters area as modal instead of a collapse" button', 'tainacan') : __('Toggle to show filters list as a collapse instead of a modal', 'tainacan')} help={ filtersAsModal ? __('Render the filters area as modal instead of a side panel" button', 'tainacan') : __('Toggle to show filters list as a side panel instead of a modal', 'tainacan')}
checked={ filtersAsModal } checked={ filtersAsModal }
onChange={ ( isChecked ) => { onChange={ ( isChecked ) => {
filtersAsModal = isChecked; filtersAsModal = isChecked;