Skip to content

Commit

Permalink
Restore fix for Fluent references in advanced search options (#3520)
Browse files Browse the repository at this point in the history
  • Loading branch information
flodolo authored Jan 10, 2025
1 parent e429fe5 commit 158597c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion translate/src/modules/search/components/SearchPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ const SearchOption = ({
}}
>
<i className='fas'></i>
<Localized id={`search-SearchPanel--option-name-${slug}`}>
<Localized
id={`search-SearchPanel--option-name-${slug.replace(/_/g, '-')}`}
>
<span className='label'>{name}</span>
</Localized>
</li>
Expand Down

0 comments on commit 158597c

Please sign in to comment.