diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8a27c575a0f59..e78b7fdcbf1e3 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -965,7 +965,7 @@ packages/kbn-timerange @elastic/obs-ux-logs-team packages/kbn-tinymath @elastic/kibana-visualizations packages/kbn-tooling-log @elastic/kibana-operations x-pack/platform/plugins/private/transform @elastic/ml-ui -x-pack/plugins/translations @elastic/kibana-localization +x-pack/platform/plugins/private/translations @elastic/kibana-localization packages/kbn-transpose-utils @elastic/kibana-visualizations x-pack/examples/triggers_actions_ui_example @elastic/response-ops x-pack/plugins/triggers_actions_ui @elastic/response-ops diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 982c9c969122c..7de266985c6d6 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -988,4 +988,4 @@ include::{kibana-root}/src/plugins/expressions/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/plugins/ui_actions/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/plugins/dashboard_enhanced/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/plugins/embeddable_enhanced/README.asciidoc[leveloffset=+1] -include::{kibana-root}/x-pack/plugins/translations/README.asciidoc[leveloffset=+1] +include::{kibana-root}/x-pack/platform/plugins/private/translations/README.asciidoc[leveloffset=+1] diff --git a/package.json b/package.json index e7bf73e405c33..02158822c8ebe 100644 --- a/package.json +++ b/package.json @@ -961,7 +961,7 @@ "@kbn/timerange": "link:packages/kbn-timerange", "@kbn/tinymath": "link:packages/kbn-tinymath", "@kbn/transform-plugin": "link:x-pack/platform/plugins/private/transform", - "@kbn/translations-plugin": "link:x-pack/plugins/translations", + "@kbn/translations-plugin": "link:x-pack/platform/plugins/private/translations", "@kbn/transpose-utils": "link:packages/kbn-transpose-utils", "@kbn/triggers-actions-ui-example-plugin": "link:x-pack/examples/triggers_actions_ui_example", "@kbn/triggers-actions-ui-plugin": "link:x-pack/plugins/triggers_actions_ui", diff --git a/src/dev/i18n_tools/README.md b/src/dev/i18n_tools/README.md index 6fc50a3a59b47..041d7215f00ef 100644 --- a/src/dev/i18n_tools/README.md +++ b/src/dev/i18n_tools/README.md @@ -134,7 +134,7 @@ The tool throws an exception if `formats` object is missing in locale file. ### Usage ```bash -node scripts/i18n_integrate --source path/to/locale.json --target x-pack/plugins/translations/translations/locale.json +node scripts/i18n_integrate --source path/to/locale.json --target x-pack/platform/plugins/private/translations/translations/locale.json ``` * `--source` path to the JSON file with translations that should be integrated. diff --git a/tsconfig.base.json b/tsconfig.base.json index 5a5081073b7b0..80fbce7bfb66c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1924,8 +1924,8 @@ "@kbn/tooling-log/*": ["packages/kbn-tooling-log/*"], "@kbn/transform-plugin": ["x-pack/platform/plugins/private/transform"], "@kbn/transform-plugin/*": ["x-pack/platform/plugins/private/transform/*"], - "@kbn/translations-plugin": ["x-pack/plugins/translations"], - "@kbn/translations-plugin/*": ["x-pack/plugins/translations/*"], + "@kbn/translations-plugin": ["x-pack/platform/plugins/private/translations"], + "@kbn/translations-plugin/*": ["x-pack/platform/plugins/private/translations/*"], "@kbn/transpose-utils": ["packages/kbn-transpose-utils"], "@kbn/transpose-utils/*": ["packages/kbn-transpose-utils/*"], "@kbn/triggers-actions-ui-example-plugin": ["x-pack/examples/triggers_actions_ui_example"], diff --git a/x-pack/plugins/translations/README.asciidoc b/x-pack/platform/plugins/private/translations/README.asciidoc similarity index 100% rename from x-pack/plugins/translations/README.asciidoc rename to x-pack/platform/plugins/private/translations/README.asciidoc diff --git a/x-pack/plugins/translations/kibana.jsonc b/x-pack/platform/plugins/private/translations/kibana.jsonc similarity index 100% rename from x-pack/plugins/translations/kibana.jsonc rename to x-pack/platform/plugins/private/translations/kibana.jsonc diff --git a/x-pack/plugins/translations/server/index.ts b/x-pack/platform/plugins/private/translations/server/index.ts similarity index 100% rename from x-pack/plugins/translations/server/index.ts rename to x-pack/platform/plugins/private/translations/server/index.ts diff --git a/x-pack/plugins/translations/translations/en.json b/x-pack/platform/plugins/private/translations/translations/en.json similarity index 100% rename from x-pack/plugins/translations/translations/en.json rename to x-pack/platform/plugins/private/translations/translations/en.json diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json similarity index 100% rename from x-pack/plugins/translations/translations/fr-FR.json rename to x-pack/platform/plugins/private/translations/translations/fr-FR.json diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json similarity index 100% rename from x-pack/plugins/translations/translations/ja-JP.json rename to x-pack/platform/plugins/private/translations/translations/ja-JP.json diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json similarity index 100% rename from x-pack/plugins/translations/translations/zh-CN.json rename to x-pack/platform/plugins/private/translations/translations/zh-CN.json diff --git a/x-pack/plugins/translations/tsconfig.json b/x-pack/platform/plugins/private/translations/tsconfig.json similarity index 80% rename from x-pack/plugins/translations/tsconfig.json rename to x-pack/platform/plugins/private/translations/tsconfig.json index e48f8b0627a1b..a9784e9415491 100644 --- a/x-pack/plugins/translations/tsconfig.json +++ b/x-pack/platform/plugins/private/translations/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/yarn.lock b/yarn.lock index 9a9c2193ab0a9..46758d5ac8986 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7655,7 +7655,7 @@ version "0.0.0" uid "" -"@kbn/translations-plugin@link:x-pack/plugins/translations": +"@kbn/translations-plugin@link:x-pack/platform/plugins/private/translations": version "0.0.0" uid ""