From e603a71585acdfd36c9ff667f962ef4a3a6590b5 Mon Sep 17 00:00:00 2001 From: Ahmad Bamieh Date: Mon, 19 Oct 2020 17:06:13 +0300 Subject: [PATCH] [i18n] update glob to catch x-pack (#80963) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- src/legacy/server/i18n/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/legacy/server/i18n/index.ts b/src/legacy/server/i18n/index.ts index cb86c3220bec1..61caefb2fb599 100644 --- a/src/legacy/server/i18n/index.ts +++ b/src/legacy/server/i18n/index.ts @@ -33,7 +33,7 @@ export async function i18nMixin(kbnServer: KbnServer, server: Server, config: Ki const translationPaths = await Promise.all([ getTranslationPaths({ cwd: fromRoot('.'), - glob: I18N_RC, + glob: `*/${I18N_RC}`, }), ...(config.get('plugins.paths') as string[]).map((cwd) => getTranslationPaths({ cwd, glob: I18N_RC })