Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pkg/gui/containers_panel.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,14 @@ func (gui *Gui) handleContainersRemoveMenu(g *gocui.Gui, v *gocui.View) error {
LabelColumns: []string{gui.Tr.RemoveWithVolumes, "docker rm --volumes " + ctr.ID[1:10]},
OnPress: func() error { return handleMenuPress(container.RemoveOptions{RemoveVolumes: true}) },
},
{
LabelColumns: []string{gui.Tr.ForceRemove, "docker rm --force " + ctr.ID[1:10]},
OnPress: func() error { return handleMenuPress(container.RemoveOptions{Force: true}) },
},
{
LabelColumns: []string{gui.Tr.ForceRemoveWithVolumes, "docker rm --force --volumes " + ctr.ID[1:10]},
OnPress: func() error { return handleMenuPress(container.RemoveOptions{Force: true, RemoveVolumes: true}) },
},
}

return gui.Menu(CreateMenuOptions{
Expand Down
1 change: 1 addition & 0 deletions pkg/i18n/chinese.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func chineseSet() TranslationSet {
Remove: "移除",
HideStopped: "隐藏/显示已停止的容器",
ForceRemove: "强制移除",
ForceRemoveWithVolumes: "强制移除并删除卷",
RemoveWithVolumes: "移除并删除卷",
RemoveService: "移除容器",
UpService: "启动服务",
Expand Down
1 change: 1 addition & 0 deletions pkg/i18n/dutch.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func dutchSet() TranslationSet {
Remove: "verwijder",
HideStopped: "verberg gestopte containers",
ForceRemove: "geforceerd verwijderen",
ForceRemoveWithVolumes: "geforceerd verwijderen met volumes",
RemoveWithVolumes: "verwijder met volumes",
RemoveService: "verwijder containers",
Stop: "stop",
Expand Down
2 changes: 2 additions & 0 deletions pkg/i18n/english.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ type TranslationSet struct {
HideStopped string
ForceRemove string
RemoveWithVolumes string
ForceRemoveWithVolumes string
MustForceToRemoveContainer string
Confirm string
Return string
Expand Down Expand Up @@ -180,6 +181,7 @@ func englishSet() TranslationSet {
Remove: "remove",
HideStopped: "hide/show stopped containers",
ForceRemove: "force remove",
ForceRemoveWithVolumes: "force remove with volumes",
RemoveWithVolumes: "remove with volumes",
RemoveService: "remove containers",
UpService: "up service",
Expand Down
1 change: 1 addition & 0 deletions pkg/i18n/french.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func frenchSet() TranslationSet {
Remove: "supprimer",
HideStopped: "cacher/montrer les conteneurs arrêtés",
ForceRemove: "forcer la suppression",
ForceRemoveWithVolumes: "forcer la suppression avec les volumes",
RemoveWithVolumes: "supprimer avec les volumes",
RemoveService: "supprimer les conteneurs",
Stop: "arrêter",
Expand Down
1 change: 1 addition & 0 deletions pkg/i18n/german.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func germanSet() TranslationSet {
Cancel: "abbrechen",
Remove: "entfernen",
ForceRemove: "Entfernen erzwingen",
ForceRemoveWithVolumes: "Entfernen erzwingen mit Volumes",
RemoveWithVolumes: "entferne mit Volumes",
RemoveService: "entferne Container",
Stop: "anhalten",
Expand Down
1 change: 1 addition & 0 deletions pkg/i18n/polish.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func polishSet() TranslationSet {
Cancel: "anuluj",
Remove: "usuń",
ForceRemove: "usuń siłą",
ForceRemoveWithVolumes: "usuń siłą z wolumenami",
RemoveWithVolumes: "usuń z wolumenami",
RemoveService: "usuń kontenery",
Stop: "zatrzymaj",
Expand Down
1 change: 1 addition & 0 deletions pkg/i18n/portuguese.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func portugueseSet() TranslationSet {
Remove: "remover",
HideStopped: "ocultar/mostrar contêineres parados",
ForceRemove: "forçar remoção",
ForceRemoveWithVolumes: "forçar remoção com volumes",
RemoveWithVolumes: "remover com volumes",
RemoveService: "remover contêineres",
UpService: "subir serviço",
Expand Down
1 change: 1 addition & 0 deletions pkg/i18n/spanish.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func spanishSet() TranslationSet {
Remove: "borrar",
HideStopped: "esconder/mostrar contenedores parados",
ForceRemove: "borrar(forzado)",
ForceRemoveWithVolumes: "borrar(forzado) con volúmenes",
RemoveWithVolumes: "borrar con volúmenes",
RemoveService: "borrar contenedores",
UpService: "levantar servicio",
Expand Down