File tree Expand file tree Collapse file tree 13 files changed +41
-31
lines changed Expand file tree Collapse file tree 13 files changed +41
-31
lines changed Original file line number Diff line number Diff line change 1
1
import { manifests as collectionManifests } from './collection/manifests.js' ;
2
2
import { manifests as dashboardManifests } from './dashboard/manifests.js' ;
3
3
import { manifests as entityActionManifests } from './entity-action/manifests.js' ;
4
- import { manifests as menuManifests } from './menu/manifests.js' ;
4
+ import { manifests as menuItemManifests } from './menu-item /manifests.js' ;
5
5
import { manifests as repositoryManifests } from './repository/manifests.js' ;
6
6
import { manifests as treeManifests } from './tree/manifests.js' ;
7
7
import { manifests as workspaceManifests } from './workspace/manifests.js' ;
@@ -10,7 +10,7 @@ export const manifests: Array<UmbExtensionManifest> = [
10
10
...collectionManifests ,
11
11
...dashboardManifests ,
12
12
...entityActionManifests ,
13
- ...menuManifests ,
13
+ ...menuItemManifests ,
14
14
...repositoryManifests ,
15
15
...treeManifests ,
16
16
...workspaceManifests ,
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import { UMB_DICTIONARY_ENTITY_TYPE } from '../entity.js' ;
2
2
import { UMB_DICTIONARY_TREE_ALIAS } from '../tree/index.js' ;
3
- import { UMB_DICTIONARY_MENU_ALIAS } from './constants.js ' ;
3
+ import { UMB_TRANSLATION_MENU_ALIAS } from '@umbraco-cms/backoffice/translation ' ;
4
4
5
5
export const manifests : Array < UmbExtensionManifest > = [
6
- {
7
- type : 'menu' ,
8
- alias : UMB_DICTIONARY_MENU_ALIAS ,
9
- name : 'Dictionary Menu' ,
10
- } ,
11
6
{
12
7
type : 'menuItem' ,
13
8
kind : 'tree' ,
@@ -18,7 +13,7 @@ export const manifests: Array<UmbExtensionManifest> = [
18
13
label : 'Dictionary' ,
19
14
icon : 'icon-book-alt' ,
20
15
entityType : UMB_DICTIONARY_ENTITY_TYPE ,
21
- menus : [ UMB_DICTIONARY_MENU_ALIAS ] ,
16
+ menus : [ UMB_TRANSLATION_MENU_ALIAS ] ,
22
17
treeAlias : UMB_DICTIONARY_TREE_ALIAS ,
23
18
hideTreeRoot : true ,
24
19
} ,
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- export * from './constants.js' ;
1
+ export * from './section/index.js' ;
2
+ export * from './menu/index.js' ;
Original file line number Diff line number Diff line change 1
- import { UMB_TRANSLATION_SECTION_ALIAS } from './constants.js' ;
1
+ import { manifests as sectionManifests } from './section/manifests.js' ;
2
+ import { manifests as menuManifests } from './menu/manifests.js' ;
2
3
3
- export const manifests : Array < UmbExtensionManifest > = [
4
- {
5
- type : 'section' ,
6
- alias : UMB_TRANSLATION_SECTION_ALIAS ,
7
- name : 'Translation Section' ,
8
- weight : 400 ,
9
- meta : {
10
- label : '#sections_translation' ,
11
- pathname : 'translation' ,
12
- } ,
13
- conditions : [
14
- {
15
- alias : 'Umb.Condition.SectionUserPermission' ,
16
- match : UMB_TRANSLATION_SECTION_ALIAS ,
17
- } ,
18
- ] ,
19
- } ,
20
- ] ;
4
+ export const manifests : Array < UmbExtensionManifest > = [ ...sectionManifests , ...menuManifests ] ;
Original file line number Diff line number Diff line change
1
+ export const UMB_TRANSLATION_MENU_ALIAS = 'Umb.Menu.Translation' ;
Original file line number Diff line number Diff line change
1
+ export * from './constants.js' ;
Original file line number Diff line number Diff line change
1
+ import { UMB_TRANSLATION_MENU_ALIAS } from './constants.js' ;
2
+
3
+ export const manifests : Array < UmbExtensionManifest > = [
4
+ {
5
+ type : 'menu' ,
6
+ alias : UMB_TRANSLATION_MENU_ALIAS ,
7
+ name : 'Translation Menu' ,
8
+ } ,
9
+ ] ;
You can’t perform that action at this time.
0 commit comments