mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
fix cache settings not being sentence cased (#657)
This commit is contained in:
@@ -49,7 +49,7 @@ export const CacheSettings = () => {
|
|||||||
{t(`common.areYouSure`, { postProcess: 'sentenceCase' })}
|
{t(`common.areYouSure`, { postProcess: 'sentenceCase' })}
|
||||||
</ConfirmModal>
|
</ConfirmModal>
|
||||||
),
|
),
|
||||||
title: t(`setting.${key}`),
|
title: t(`setting.${key}`, { postProcess: 'sentenceCase' }),
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -67,8 +67,9 @@ export const CacheSettings = () => {
|
|||||||
),
|
),
|
||||||
description: t('setting.clearQueryCache', {
|
description: t('setting.clearQueryCache', {
|
||||||
context: 'description',
|
context: 'description',
|
||||||
|
postProcess: 'sentenceCase',
|
||||||
}),
|
}),
|
||||||
title: t('setting.clearQueryCache'),
|
title: t('setting.clearQueryCache', { postProcess: 'sentenceCase' }),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
control: (
|
control: (
|
||||||
@@ -83,9 +84,10 @@ export const CacheSettings = () => {
|
|||||||
),
|
),
|
||||||
description: t('setting.clearCache', {
|
description: t('setting.clearCache', {
|
||||||
context: 'description',
|
context: 'description',
|
||||||
|
postProcess: 'sentenceCase',
|
||||||
}),
|
}),
|
||||||
isHidden: !browser,
|
isHidden: !browser,
|
||||||
title: t('setting.clearCache'),
|
title: t('setting.clearCache', { postProcess: 'sentenceCase' }),
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user