Skip to content

Commit

Permalink
fix cache settings not being sentence cased
Browse files Browse the repository at this point in the history
  • Loading branch information
iiPythonx committed Jul 2, 2024
1 parent b30fadd commit eeacc48
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const CacheSettings = () => {
{t(`common.areYouSure`, { postProcess: 'sentenceCase' })}
</ConfirmModal>
),
title: t(`setting.${key}`),
title: t(`setting.${key}`, { postProcess: 'sentenceCase' }),
});
};

Expand All @@ -67,8 +67,9 @@ export const CacheSettings = () => {
),
description: t('setting.clearQueryCache', {
context: 'description',
postProcess: 'sentenceCase',
}),
title: t('setting.clearQueryCache'),
title: t('setting.clearQueryCache', { postProcess: 'sentenceCase' }),
},
{
control: (
Expand All @@ -83,9 +84,10 @@ export const CacheSettings = () => {
),
description: t('setting.clearCache', {
context: 'description',
postProcess: 'sentenceCase',
}),
isHidden: !browser,
title: t('setting.clearCache'),
title: t('setting.clearCache', { postProcess: 'sentenceCase' }),
},
];

Expand Down

0 comments on commit eeacc48

Please sign in to comment.