From 29832ba8b89fd83d001349e0c90db5a904c4c1cd Mon Sep 17 00:00:00 2001 From: Jarred Wilson Date: Fri, 15 Nov 2024 13:15:04 +0000 Subject: [PATCH] fix:[#431] start/stop format with subsystem name - remove name from started/stopped message - updated en starting/stopping strings to include subsystem name --- cmd/runtime.go | 4 ++-- locales/en.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/runtime.go b/cmd/runtime.go index 70b88d2c..133fb058 100644 --- a/cmd/runtime.go +++ b/cmd/runtime.go @@ -323,7 +323,7 @@ func runPkgCmd(subSystem *core.SubSystem, command string, cmd *cobra.Command, ar return fmt.Errorf(apx.Trans("runtimeCommand.error.startingContainer"), err) } - cmdr.Info.Printfln(apx.Trans("runtimeCommand.info.startedContainer"), subSystem.Name) + cmdr.Info.Printfln(apx.Trans("runtimeCommand.info.startedContainer")) } if command == "stop" { @@ -333,7 +333,7 @@ func runPkgCmd(subSystem *core.SubSystem, command string, cmd *cobra.Command, ar return fmt.Errorf(apx.Trans("runtimeCommand.error.stoppingContainer"), err) } - cmdr.Info.Printfln(apx.Trans("runtimeCommand.info.stoppedContainer"), subSystem.Name) + cmdr.Info.Printfln(apx.Trans("runtimeCommand.info.stoppedContainer")) } return nil diff --git a/locales/en.yml b/locales/en.yml index 0f2aa5a3..a50b244b 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -48,10 +48,10 @@ runtimeCommand: exportedBin: "Exported binary %s" unexportedApp: "Unexported application %s" unexportedBin: "Unexported binary %s" - startingContainer: "Starting container…" - startedContainer: "Started container." - stoppingContainer: "Stopping container…" - stoppedContainer: "Stopped container." + startingContainer: "Starting subsystem %s…" + startedContainer: "Started subsystem." + stoppingContainer: "Stopping subsystem %s…" + stoppedContainer: "Stopped subsystem." autoremove: description: "Remove packages that are no longer required." clean: