mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Add i18n feature flag (#50590)
This commit is contained in:
parent
5633648383
commit
9a62849dc3
@ -60,4 +60,5 @@ export interface FeatureToggles {
|
|||||||
cloudMonitoringExperimentalUI?: boolean;
|
cloudMonitoringExperimentalUI?: boolean;
|
||||||
logRequestsInstrumentedAsUnknown?: boolean;
|
logRequestsInstrumentedAsUnknown?: boolean;
|
||||||
dataConnectionsConsole?: boolean;
|
dataConnectionsConsole?: boolean;
|
||||||
|
internationalization?: boolean;
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// pkg/services/featuremgmt/registry.go
|
// pkg/services/featuremgmt/registry.go
|
||||||
// Then run tests in:
|
// Then run tests in:
|
||||||
// pkg/services/featuremgmt/toggles_gen_test.go
|
// pkg/services/featuremgmt/toggles_gen_test.go
|
||||||
|
// twice to generate and validate the feature flag files
|
||||||
|
|
||||||
package featuremgmt
|
package featuremgmt
|
||||||
|
|
||||||
@ -246,5 +247,10 @@ var (
|
|||||||
Description: "Enables a new top-level page called Data Connections. This page is an experiment for better grouping of installing / configuring data sources and other plugins.",
|
Description: "Enables a new top-level page called Data Connections. This page is an experiment for better grouping of installing / configuring data sources and other plugins.",
|
||||||
State: FeatureStateAlpha,
|
State: FeatureStateAlpha,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Name: "internationalization",
|
||||||
|
Description: "Enables work-in-progress internationalization",
|
||||||
|
State: FeatureStateAlpha,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
@ -182,4 +182,8 @@ const (
|
|||||||
// FlagDataConnectionsConsole
|
// FlagDataConnectionsConsole
|
||||||
// Enables a new top-level page called Data Connections. This page is an experiment for better grouping of installing / configuring data sources and other plugins.
|
// Enables a new top-level page called Data Connections. This page is an experiment for better grouping of installing / configuring data sources and other plugins.
|
||||||
FlagDataConnectionsConsole = "dataConnectionsConsole"
|
FlagDataConnectionsConsole = "dataConnectionsConsole"
|
||||||
|
|
||||||
|
// FlagInternationalization
|
||||||
|
// Enables work-in-progress internationalization
|
||||||
|
FlagInternationalization = "internationalization"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user