From 2a23ac74c98427a77f641e286dfbc716c99ed53f Mon Sep 17 00:00:00 2001 From: Garrett Campbell Date: Tue, 3 Sep 2024 13:55:23 -0400 Subject: [PATCH] fix loc strings --- 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." + ), } ); }