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,