@grafana/create-plugin 5.26.8 → 5.26.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v5.26.9 (Mon Sep 29 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Fix: Init i18n in scenes app template [#2166](https://github.com/grafana/plugin-tools/pull/2166) ([@sunker](https://github.com/sunker))
6
+
7
+ #### Authors: 1
8
+
9
+ - Erik Sundell ([@sunker](https://github.com/sunker))
10
+
11
+ ---
12
+
1
13
  # v5.26.8 (Thu Sep 25 2025)
2
14
 
3
15
  #### 🐛 Bug Fix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "5.26.8",
3
+ "version": "5.26.9",
4
4
  "repository": {
5
5
  "directory": "packages/create-plugin",
6
6
  "url": "https://github.com/grafana/plugin-tools"
@@ -61,5 +61,5 @@
61
61
  "engines": {
62
62
  "node": ">=20"
63
63
  },
64
- "gitHead": "bf8e8855f6e2905d18e2e251d89b08ec27a0f70b"
64
+ "gitHead": "7d9fdffc61f73ab3b29ac099b5c7c2b1e14ce111"
65
65
  }
@@ -1,7 +1,11 @@
1
1
  import React, { Suspense, lazy } from 'react';
2
+ import { initPluginTranslations } from '@grafana/i18n';
2
3
  import { AppPlugin, type AppRootProps } from '@grafana/data';
3
4
  import { LoadingPlaceholder } from '@grafana/ui';
4
5
  import type { AppConfigProps } from './components/AppConfig/AppConfig';
6
+ import pluginJson from 'plugin.json';
7
+
8
+ await initPluginTranslations(pluginJson.id);
5
9
 
6
10
  const LazyApp = lazy(() => import('./components/App/App'));
7
11
  const LazyAppConfig = lazy(() => import('./components/AppConfig/AppConfig'));