Skip to content

Commit

Permalink
fix:[#431] start/stop format with subsystem name
Browse files Browse the repository at this point in the history
- remove name from started/stopped message
- updated en starting/stopping strings to include subsystem name
  • Loading branch information
jardon committed Nov 15, 2024
1 parent ed83288 commit 29832ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cmd/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 29832ba

Please sign in to comment.