mirror of
https://github.com/grafana/grafana.git
synced 2026-02-03 20:49:50 -05:00
I18n: Ignore dist folder in packages when extracting translations (#116532)
Ignore dist folder in packages
This commit is contained in:
parent
7c7b5af639
commit
8c3cd1c596
1 changed files with 6 additions and 1 deletions
|
|
@ -3,7 +3,12 @@ import { defineConfig } from 'i18next-cli';
|
|||
export default defineConfig({
|
||||
locales: ['en-US'], // Only en-US is updated - Crowdin will PR with other languages
|
||||
extract: {
|
||||
ignore: ['public/lib/monaco/**/*', 'public/app/extensions/**/*', 'public/app/plugins/datasource/**/*'],
|
||||
ignore: [
|
||||
'public/lib/monaco/**/*',
|
||||
'public/app/extensions/**/*',
|
||||
'public/app/plugins/datasource/**/*',
|
||||
'packages/*/dist/**/*',
|
||||
],
|
||||
input: ['public/**/*.{tsx,ts}', 'packages/grafana-ui/**/*.{tsx,ts}', 'packages/grafana-data/**/*.{tsx,ts}'],
|
||||
output: 'public/locales/{{language}}/{{namespace}}.json',
|
||||
defaultNS: 'grafana',
|
||||
|
|
|
|||
Loading…
Reference in a new issue