mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 02:09:28 +08:00

* i18n: everything should target @grafana/i18n * wip * chore: updates after PR feedback * Trigger build * Trigger build * Trigger build * chore: skip flaky tests * chore: skip flaky tests * chore: skip flaky tests * chore: skip flaky tests * chore: skip flaky tests * chore: skip flaky tests * chore: revert all flaky tests * chore: some incorrect usages of useTranslate
23 lines
591 B
TypeScript
23 lines
591 B
TypeScript
import { Trans } from '@grafana/i18n';
|
|
import { Page } from 'app/core/components/Page/Page';
|
|
|
|
export default function FeatureTogglePage() {
|
|
return (
|
|
<Page navId="correlations">
|
|
<Page.Contents>
|
|
<h1>
|
|
<Trans i18nKey="correlations.page-heading">Correlations are disabled</Trans>
|
|
</h1>
|
|
<Trans i18nKey="correlations.page-content">To enable Correlations, add it in the Grafana config:</Trans>
|
|
<div>
|
|
<pre>
|
|
{`[feature_toggles]
|
|
correlations = true
|
|
`}
|
|
</pre>
|
|
</div>
|
|
</Page.Contents>
|
|
</Page>
|
|
);
|
|
}
|