fix: placeholders translations (#2020)

This commit is contained in:
samuel-cglg
2025-11-13 04:26:19 +01:00
committed by GitHub
parent 58bff33275
commit 74a03077b7
21 changed files with 93 additions and 112 deletions

View File

@ -1,6 +1,7 @@
import * as React from 'react';
import type { MessageDescriptor } from '@lingui/core';
import { t } from '@lingui/core/macro';
import { useLingui } from '@lingui/react';
import { Trans } from '@lingui/react/macro';
import { AnimatePresence } from 'framer-motion';
@ -43,7 +44,7 @@ type MultiSelectComboboxProps<T = OptionValue> = {
* - Clear all button
*/
export function MultiSelectCombobox<T = OptionValue>({
emptySelectionPlaceholder = 'Select values...',
emptySelectionPlaceholder = t`Select values...`,
enableClearAllButton,
enableSearch = true,
className,