✨ add translations for dropzone

This commit is contained in:
Manuel Ruwe committed 2022-08-24 21:01:29 +02:00
1 parent 2bf29172fc
commit 14924e4562
7 files changed
+65 -18

No files matched your search

+1 -1
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' },
+1 -1
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();