From cb0f786041e9ffa9e1107e411b984b7d9f77cb01 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Wed, 26 Feb 2020 16:45:48 +0100 Subject: [PATCH] Remove literal string interpolation from translation --- .../server/routes/reindex_indices/reindex_indices.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts b/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts index 286d893464005..09f801e8b0aac 100644 --- a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts +++ b/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts @@ -137,7 +137,8 @@ export function registerReindexIndicesRoutes( message: i18n.translate( 'xpack.upgradeAssistant.reindex.reindexPrivilegesErrorBatch', { - defaultMessage: `You do not have adequate privileges to reindex "${indexName}".`, + defaultMessage: `You do not have adequate privileges to reindex "{indexName}".`, + values: { indexName }, } ), indexName,