add translations for dropzone

This commit is contained in:
Manuel Ruwe
2022-08-24 18:38:28 +02:00
parent 2bf29172fc
commit 14924e4562
7 changed files with 65 additions and 18 deletions

View File

@@ -5,7 +5,7 @@ import { useConfig } from '../../tools/state';
export function OpacitySelector() {
const { config, setConfig } = useConfig();
const { t } = useTranslation('settings/customization/shade-selector');
const { t } = useTranslation('settings/customization/opacity-selector');
const MARKS = [
{ value: 10, label: '10' },

View File

@@ -16,7 +16,7 @@ import { useColorTheme } from '../../tools/color';
export function ShadeSelector() {
const { config, setConfig } = useConfig();
const [opened, setOpened] = useState(false);
const { t } = useTranslation('settings/general/shade-selector');
const { t } = useTranslation('settings/customization/shade-selector');
const { primaryColor, secondaryColor, primaryShade, setPrimaryShade } = useColorTheme();