Internationalisation: Mark up @grafana/sql package (#105842)

* scaffolding for package

* crowdin scaffolding

* markup

* add translations

* fix locale location

* fix tsconfig?

* undo bundler change

* object tranlsations, expose loadResources and call in mssql

* prettier

* remove useTranslate

* extract translations

* last couple of fixes

* remove deleted files
This commit is contained in:
Ashley Harrison
2025-06-12 10:52:04 +01:00
committed by GitHub
parent c42c89d5e4
commit 84eafb9a56
31 changed files with 405 additions and 89 deletions
+4 -1
View File
@@ -11,12 +11,14 @@
},
"main": "src/index.ts",
"scripts": {
"typecheck": "tsc --emitDeclarationOnly false --noEmit"
"typecheck": "tsc --emitDeclarationOnly false --noEmit",
"i18n-extract": "i18next --config src/locales/i18next-parser.config.cjs"
},
"dependencies": {
"@emotion/css": "11.13.5",
"@grafana/data": "12.1.0-pre",
"@grafana/e2e-selectors": "12.1.0-pre",
"@grafana/i18n": "12.1.0-pre",
"@grafana/plugin-ui": "0.10.6",
"@grafana/runtime": "12.1.0-pre",
"@grafana/ui": "12.1.0-pre",
@@ -47,6 +49,7 @@
"@types/react-virtualized-auto-sizer": "1.0.4",
"@types/systemjs": "6.15.1",
"@types/uuid": "10.0.0",
"i18next-parser": "9.3.0",
"jest": "^29.6.4",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",