mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-20 11:03:06 +02:00
convert EN localization to use proper casing, remove postprocessing from renderer
This commit is contained in:
@@ -30,9 +30,7 @@ export const ShowInFileExplorerAction = ({ items }: ShowInFileExplorerActionProp
|
||||
} catch (error) {
|
||||
toast.error({
|
||||
message: (error as Error).message,
|
||||
title: t('error.openError', {
|
||||
postProcess: 'sentenceCase',
|
||||
}),
|
||||
title: t('error.openError'),
|
||||
});
|
||||
}
|
||||
}, [items, t]);
|
||||
@@ -47,7 +45,7 @@ export const ShowInFileExplorerAction = ({ items }: ShowInFileExplorerActionProp
|
||||
|
||||
return (
|
||||
<ContextMenu.Item disabled={isDisabled} leftIcon="folder" onSelect={onSelect}>
|
||||
{t('page.itemDetail.openFile', { postProcess: 'sentenceCase' })}
|
||||
{t('page.itemDetail.openFile')}
|
||||
</ContextMenu.Item>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user