16
16
* specific language governing permissions and limitations
17
17
* under the License.
18
18
*/
19
- import { i18n } from '@kbn /i18n' ;
20
- import { CoreSetup , Plugin } from 'kibana /public' ;
19
+ import { i18n } from '@osd /i18n' ;
20
+ import { CoreSetup , Plugin } from 'opensearch-dashboards /public' ;
21
21
import { FeatureCatalogueCategory } from '../../home/public' ;
22
22
import { ComponentRegistry } from './component_registry' ;
23
23
import { AdvancedSettingsSetup , AdvancedSettingsStart , AdvancedSettingsPluginSetup } from './types' ;
@@ -31,9 +31,9 @@ const title = i18n.translate('advancedSettings.advancedSettingsLabel', {
31
31
export class AdvancedSettingsPlugin
32
32
implements Plugin < AdvancedSettingsSetup , AdvancedSettingsStart , AdvancedSettingsPluginSetup > {
33
33
public setup ( core : CoreSetup , { management, home } : AdvancedSettingsPluginSetup ) {
34
- const kibanaSection = management . sections . section . kibana ;
34
+ const opensearchDashboardsSection = management . sections . section . opensearchDashboards ;
35
35
36
- kibanaSection . registerApp ( {
36
+ opensearchDashboardsSection . registerApp ( {
37
37
id : 'settings' ,
38
38
title,
39
39
order : 3 ,
@@ -51,10 +51,10 @@ export class AdvancedSettingsPlugin
51
51
title,
52
52
description : i18n . translate ( 'advancedSettings.featureCatalogueTitle' , {
53
53
defaultMessage :
54
- 'Customize your Kibana experience — change the date format, turn on dark mode, and more.' ,
54
+ 'Customize your OpenSearch Dashboards experience — change the date format, turn on dark mode, and more.' ,
55
55
} ) ,
56
56
icon : 'gear' ,
57
- path : '/app/management/kibana /settings' ,
57
+ path : '/app/management/opensearch-dashboards /settings' ,
58
58
showOnHomePage : false ,
59
59
category : FeatureCatalogueCategory . ADMIN ,
60
60
} ) ;
0 commit comments