mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-12 07:12:58 +02:00
Use proper casing for i18n locales (#1998)
This commit is contained in:
@@ -56,7 +56,7 @@ export const FolderListHeaderFilters = () => {
|
||||
onClick: () => void;
|
||||
}> = [];
|
||||
|
||||
const homeLabel = t('common.home', { postProcess: 'titleCase' });
|
||||
const homeLabel = t('common.home');
|
||||
items.push({
|
||||
fullLabel: homeLabel,
|
||||
id: 'folder-root',
|
||||
|
||||
@@ -18,7 +18,7 @@ interface FolderListHeaderProps {
|
||||
export const FolderListHeader = ({ title }: FolderListHeaderProps) => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
const pageTitle = title || t('page.folderList.title', { postProcess: 'titleCase' });
|
||||
const pageTitle = title || t('page.folderList.title');
|
||||
|
||||
return (
|
||||
<Stack gap={0}>
|
||||
|
||||
Reference in New Issue
Block a user