mirror of
https://github.com/jeffvli/feishin.git
synced 2026-08-08 05:12:57 +02:00
Use proper casing for i18n locales (#1998)
This commit is contained in:
@@ -33,9 +33,8 @@ export const AutoDJSettings = memo(() => {
|
||||
),
|
||||
description: t('setting.autoDJ_itemCount', {
|
||||
context: 'description',
|
||||
postProcess: 'sentenceCase',
|
||||
}),
|
||||
title: t('setting.autoDJ_itemCount', { postProcess: 'sentenceCase' }),
|
||||
title: t('setting.autoDJ_itemCount'),
|
||||
},
|
||||
{
|
||||
control: (
|
||||
@@ -56,16 +55,10 @@ export const AutoDJSettings = memo(() => {
|
||||
),
|
||||
description: t('setting.autoDJ_timing', {
|
||||
context: 'description',
|
||||
postProcess: 'sentenceCase',
|
||||
}),
|
||||
title: t('setting.autoDJ_timing', { postProcess: 'sentenceCase' }),
|
||||
title: t('setting.autoDJ_timing'),
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<SettingsSection
|
||||
options={autoDJOptions}
|
||||
title={t('setting.autoDJ', { postProcess: 'titleCase' })}
|
||||
/>
|
||||
);
|
||||
return <SettingsSection options={autoDJOptions} title={t('setting.autoDJ')} />;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user