From 029d6a0cd6e66d60378c94a449aa424c32d5b2cb Mon Sep 17 00:00:00 2001 From: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com> Date: Wed, 4 Sep 2024 05:46:11 -0400 Subject: [PATCH] fix loc strings (#643) --- src/make.ts | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/make.ts b/src/make.ts index 4a36e82..d4e89d2 100644 --- a/src/make.ts +++ b/src/make.ts @@ -1052,7 +1052,7 @@ export async function postConfigure(triggeredBy: TriggeredBy): Promise { { configuringScript: localize( "make.postconfigure.title", - "Post-configuring: ${0}", + "Post-configuring: {0}", scriptFile ), cancelling: localize( @@ -1256,13 +1256,18 @@ export async function runPostConfigureScript( ? currentConfigPostConfigureArgs : configuration.getPostConfigureArgs(), { - success: "The post-configure succeeded.", - successWithSomeError: - "The post-configure script returned success code " + - "but somewhere during the postconfigure process there were errors reported. " + - "Double check the postconfigure output in the Makefile Tools channel.", - failure: - "The post-configure script failed. This project may not configure successfully.", + success: localize( + "postconfigure.succeeded", + "The post-configure succeeded." + ), + successWithSomeError: localize( + "postconfigure.succeeded.with.some.error", + "The post-configure script returned success code but somewhere during the postconfigure process there were errors reported. Double check the postconfigure output in the Makefile Tools channel." + ), + failure: localize( + "postconfigure.script.failed", + "The post-configure script failed. This project may not configure successfully." + ), } ); }