feat(project-editor): add Languages tab with generic locale sync
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
@case ('widgets') { <app-project-editor-widgets-section /> }
|
||||
@case ('static-pages') { <app-static-pages-editor /> }
|
||||
@case ('features') { <app-project-editor-features-section /> }
|
||||
@case ('languages') { <app-project-editor-languages-section /> }
|
||||
@case ('preview') { <app-project-editor-preview-section /> }
|
||||
}
|
||||
</section>
|
||||
|
||||
@@ -12,13 +12,14 @@ import { ProjectEditorFooterSectionComponent } from '../sections/footer-section.
|
||||
import { ProjectEditorHomepageSectionComponent } from '../sections/homepage-section.component';
|
||||
import { ProjectEditorWidgetsSectionComponent } from '../sections/widgets-section.component';
|
||||
import { ProjectEditorFeaturesSectionComponent } from '../sections/features-section.component';
|
||||
import { ProjectEditorLanguagesSectionComponent } from '../sections/languages-section.component';
|
||||
import { ProjectEditorPreviewSectionComponent } from '../sections/preview-section.component';
|
||||
import { TranslatePipe } from '../../../i18n/translate.pipe';
|
||||
import { StaticPagesEditorComponent } from '../../content-management/components/static-pages-editor.component';
|
||||
import { ProjectEditorSectionId } from '../models/project-editor.model';
|
||||
|
||||
const KNOWN_SECTIONS: ProjectEditorSectionId[] = [
|
||||
'general', 'branding', 'theme', 'header', 'footer', 'homepage', 'widgets', 'static-pages', 'features', 'preview'
|
||||
'general', 'branding', 'theme', 'header', 'footer', 'homepage', 'widgets', 'static-pages', 'features', 'languages', 'preview'
|
||||
];
|
||||
|
||||
@Component({
|
||||
@@ -36,6 +37,7 @@ const KNOWN_SECTIONS: ProjectEditorSectionId[] = [
|
||||
ProjectEditorWidgetsSectionComponent,
|
||||
StaticPagesEditorComponent,
|
||||
ProjectEditorFeaturesSectionComponent,
|
||||
ProjectEditorLanguagesSectionComponent,
|
||||
ProjectEditorPreviewSectionComponent,
|
||||
],
|
||||
templateUrl: './project-editor-page.component.html',
|
||||
|
||||
Reference in New Issue
Block a user