Navigation: add dbo11y app under Infrastructure (#96763)

* add dbo11y app under Infrastructure

* add i18n for Databases nav item

* add Translation extraction results
This commit is contained in:
Miklós Tolnai 2024-11-25 15:34:47 +01:00 committed by GitHub
parent 74add52c2e
commit 517c6fdc9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 0 deletions

View File

@ -284,6 +284,7 @@ func (s *ServiceImpl) hasAccessToInclude(c *contextmodel.ReqContext, pluginID st
func (s *ServiceImpl) readNavigationSettings() {
s.navigationAppConfig = map[string]NavigationAppConfig{
"grafana-k8s-app": {SectionID: navtree.NavIDInfrastructure, SortWeight: 1, Text: "Kubernetes"},
"grafana-dbo11y-app": {SectionID: navtree.NavIDInfrastructure, SortWeight: 2, Text: "Databases"},
"grafana-app-observability-app": {SectionID: navtree.NavIDRoot, SortWeight: navtree.WeightApplication, Text: "Application", Icon: "graph-bar"},
"grafana-lokiexplore-app": {SectionID: navtree.NavIDExplore, SortWeight: 1, Text: "Logs"},
"grafana-exploretraces-app": {SectionID: navtree.NavIDExplore, SortWeight: 2, Text: "Traces"},

View File

@ -157,6 +157,8 @@ export function getNavTitle(navId: string | undefined) {
return t('nav.observability.title', 'Observability');
case 'plugin-page-grafana-k8s-app':
return t('nav.kubernetes.title', 'Kubernetes');
case 'plugin-page-grafana-dbo11y-app':
return t('nav.databases.title', 'Databases');
case 'plugin-page-grafana-app-observability-app':
return t('nav.application.title', 'Application');
case 'plugin-page-grafana-pyroscope-app':

View File

@ -2080,6 +2080,9 @@
"subtitle": "View and manage your connected data source connections",
"title": "Data sources"
},
"databases": {
"title": "Databases"
},
"datasources": {
"subtitle": "Add and configure data sources",
"title": "Data sources"

View File

@ -2080,6 +2080,9 @@
"subtitle": "Vįęŵ äʼnđ mäʼnäģę yőūř čőʼnʼnęčŧęđ đäŧä şőūřčę čőʼnʼnęčŧįőʼnş",
"title": "Đäŧä şőūřčęş"
},
"databases": {
"title": "Đäŧäþäşęş"
},
"datasources": {
"subtitle": "Åđđ äʼnđ čőʼnƒįģūřę đäŧä şőūřčęş",
"title": "Đäŧä şőūřčęş"