mirror of https://github.com/grafana/grafana.git
13 lines
373 B
TypeScript
13 lines
373 B
TypeScript
import { defineConfig } from 'i18next-cli';
|
|
|
|
export default defineConfig({
|
|
locales: ['en-US'], // Only en-US is updated - Crowdin will PR with other languages
|
|
extract: {
|
|
input: ['src/**/*.{tsx,ts}'],
|
|
output: 'src/locales/{{language}}/{{namespace}}.json',
|
|
defaultNS: 'grafana-alerting',
|
|
functions: ['t', '*.t'],
|
|
transComponents: ['Trans'],
|
|
},
|
|
});
|