mirror of
https://github.com/directus/directus.git
synced 2026-02-12 07:34:59 -05:00
Translate module link name in project settings (#18343)
* Translate module link name in project settings * Add changset
This commit is contained in:
@@ -69,6 +69,7 @@ import { nanoid } from 'nanoid';
|
||||
import { Field, DeepPartial } from '@directus/types';
|
||||
import { MODULE_BAR_DEFAULT } from '@/constants';
|
||||
import { useExtensions } from '@/extensions';
|
||||
import { translate } from '@/utils/translate-object-values';
|
||||
|
||||
type PreviewExtra = {
|
||||
to: string;
|
||||
@@ -200,7 +201,7 @@ export default defineComponent({
|
||||
...part,
|
||||
to: part.url,
|
||||
icon: part.icon,
|
||||
name: part.name,
|
||||
name: translate(part.name),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user