Skip to content

Commit

Permalink
fix(ui): spandrel filter translations
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Sep 12, 2024
1 parent 6bea72a commit fd20025
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ export const FilterSpandrel = ({ onChange, config }: Props) => {
<FormControl w="full" orientation="vertical">
<Flex w="full" alignItems="center">
<FormLabel m={0} flexGrow={1}>
{t('controlLayers.filter.spandrel.paramAutoScale')}
{t('controlLayers.filter.spandrel_filter.autoScale')}
</FormLabel>
<Switch size="sm" isChecked={config.autoScale} onChange={onAutoscaleChanged} />
</Flex>
<FormHelperText>{t('controlLayers.filter.spandrel.paramAutoScaleDesc')}</FormHelperText>
<FormHelperText>{t('controlLayers.filter.spandrel_filter.autoScaleDesc')}</FormHelperText>
</FormControl>
<FormControl isDisabled={!config.autoScale}>
<FormLabel m={0}>{t('controlLayers.filter.spandrel.paramScale')}</FormLabel>
<FormLabel m={0}>{t('controlLayers.filter.spandrel_filter.scale')}</FormLabel>
<CompositeSlider
value={config.scale}
onChange={onScaleChanged}
Expand All @@ -105,7 +105,7 @@ export const FilterSpandrel = ({ onChange, config }: Props) => {
/>
</FormControl>
<FormControl>
<FormLabel m={0}>{t('controlLayers.filter.spandrel.paramModel')}</FormLabel>
<FormLabel m={0}>{t('controlLayers.filter.spandrel_filter.model')}</FormLabel>
<Tooltip label={tooltipLabel}>
<Box w="full">
<Combobox
Expand Down

0 comments on commit fd20025

Please sign in to comment.