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
@@ -1,4 +1,5 @@
import { SelectableValue } from '@grafana/data';
import { t } from '@grafana/i18n';
import { SQLQuery } from '../types';
@@ -20,7 +21,7 @@ export function getColumnsWithIndices(query: SQLQuery, fields: SelectableValue[]
return [
{
value: '',
label: 'Selected columns',
label: t('utils.get-columns-width-indices.label-selected-columns', 'Selected columns'),
options,
expanded: true,
},