Added the translation set for detach from container shortcut message

Fix the linting again
This commit is contained in:
glendsoza 2022-12-13 19:14:41 +05:30
parent 0859faa0fb
commit 6127e0df7d
7 changed files with 67 additions and 60 deletions

View file

@ -409,7 +409,7 @@ func (gui *Gui) handleContainerAttach(g *gocui.Gui, v *gocui.View) error {
return gui.createErrorPanel(err.Error()) return gui.createErrorPanel(err.Error())
} }
return gui.runSubprocessWithMessage(c, "By default, to detach from the container press ctrl-p then ctrl-q") return gui.runSubprocessWithMessage(c, gui.Tr.DetachFromContainerShortCut)
} }
func (gui *Gui) handlePruneContainers() error { func (gui *Gui) handlePruneContainers() error {

View file

@ -88,5 +88,6 @@ func dutchSet() TranslationSet {
StopService: "Weet je zeker dat je deze service zijn containers wil stoppen?", StopService: "Weet je zeker dat je deze service zijn containers wil stoppen?",
StopContainer: "Weet je zeker dat je deze container wil stoppen?", StopContainer: "Weet je zeker dat je deze container wil stoppen?",
PressEnterToReturn: "Druk op enter om terug te gaan naar lazydocker (Deze popup kan uit gezet worden door in de config dit neer te zetten `gui.returnImmediately: true`)", PressEnterToReturn: "Druk op enter om terug te gaan naar lazydocker (Deze popup kan uit gezet worden door in de config dit neer te zetten `gui.returnImmediately: true`)",
DetachFromContainerShortCut: "Als u wilt loskoppelen van de container, drukt u standaard op ctrl-p en vervolgens op ctrl-q",
} }
} }

View file

@ -94,6 +94,7 @@ type TranslationSet struct {
PruningStatus string PruningStatus string
StopService string StopService string
PressEnterToReturn string PressEnterToReturn string
DetachFromContainerShortCut string
StopAllContainers string StopAllContainers string
RemoveAllContainers string RemoveAllContainers string
ViewRestartOptions string ViewRestartOptions string
@ -244,6 +245,7 @@ func englishSet() TranslationSet {
StopService: "Are you sure you want to stop this service's containers?", StopService: "Are you sure you want to stop this service's containers?",
StopContainer: "Are you sure you want to stop this container?", StopContainer: "Are you sure you want to stop this container?",
PressEnterToReturn: "Press enter to return to lazydocker (this prompt can be disabled in your config by setting `gui.returnImmediately: true`)", PressEnterToReturn: "Press enter to return to lazydocker (this prompt can be disabled in your config by setting `gui.returnImmediately: true`)",
DetachFromContainerShortCut: "By default, to detach from the container press ctrl-p then ctrl-q",
No: "no", No: "no",
Yes: "yes", Yes: "yes",

View file

@ -107,6 +107,7 @@ func frenchSet() TranslationSet {
StopService: "Êtes-vous certain de vouloir arrêter le conteneur de ce service ?", StopService: "Êtes-vous certain de vouloir arrêter le conteneur de ce service ?",
StopContainer: "Êtes-vous certain de vouloir arrêter ce conteneur ?", StopContainer: "Êtes-vous certain de vouloir arrêter ce conteneur ?",
PressEnterToReturn: "Appuiez sur Enter pour revenir à lazydocker (ce message peut être désactivé dans vos configurations en appliquant `gui.returnImmediately: true`)", PressEnterToReturn: "Appuiez sur Enter pour revenir à lazydocker (ce message peut être désactivé dans vos configurations en appliquant `gui.returnImmediately: true`)",
DetachFromContainerShortCut: "Par défaut, pour se détacher du conteneur appuyez sur ctrl-p puis ctrl-q",
No: "non", No: "non",
Yes: "oui", Yes: "oui",

View file

@ -87,5 +87,6 @@ func germanSet() TranslationSet {
StopService: "Bist du dir sicher, dass du den Dienst dieses Containers anhalten möchtest?", StopService: "Bist du dir sicher, dass du den Dienst dieses Containers anhalten möchtest?",
StopContainer: "Bist du dir sicher, dass du den Container anhalten möchtest?", StopContainer: "Bist du dir sicher, dass du den Container anhalten möchtest?",
PressEnterToReturn: "Drücke Eingabe um zu lazydocker zurückzukehren. (Diese Nachfrage kann in Deiner Konfiguration deaktiviert werden, indem du folgenden Wert setzt: `gui.returnImmediately: true`)", PressEnterToReturn: "Drücke Eingabe um zu lazydocker zurückzukehren. (Diese Nachfrage kann in Deiner Konfiguration deaktiviert werden, indem du folgenden Wert setzt: `gui.returnImmediately: true`)",
DetachFromContainerShortCut: "Um sich vom Container zu trennen, drücken Sie standardmäßig ctrl-p und dann ctrl-q",
} }
} }

View file

@ -87,5 +87,6 @@ func polishSet() TranslationSet {
StopService: "Na pewno zatrzymać kontenery tego serwisu?", StopService: "Na pewno zatrzymać kontenery tego serwisu?",
StopContainer: "Na pewno zatrzymać ten kontener?", StopContainer: "Na pewno zatrzymać ten kontener?",
PressEnterToReturn: "Wciśnij enter aby powrócić do lazydockera (ten komunikat może być wyłączony w konfiguracji poprzez ustawienie `gui.returnImmediately: true`)", PressEnterToReturn: "Wciśnij enter aby powrócić do lazydockera (ten komunikat może być wyłączony w konfiguracji poprzez ustawienie `gui.returnImmediately: true`)",
DetachFromContainerShortCut: "Domyślnie, aby odłączyć się od kontenera, naciśnij ctrl-p, a następnie ctrl-q",
} }
} }

View file

@ -87,5 +87,6 @@ func turkishSet() TranslationSet {
StopService: "Bu servisin konteynerlerini durdurmak istediğinize emin misiniz?", StopService: "Bu servisin konteynerlerini durdurmak istediğinize emin misiniz?",
StopContainer: "Bu konteyneri durdurmak istediğinize emin misiniz?", StopContainer: "Bu konteyneri durdurmak istediğinize emin misiniz?",
PressEnterToReturn: "lazydocker' a geri dönmek için enter tuşuna basın ( Bu uyarı, `gui.return Immediately: true` ayarıyla devre dışı bırakılabilir)", PressEnterToReturn: "lazydocker' a geri dönmek için enter tuşuna basın ( Bu uyarı, `gui.return Immediately: true` ayarıyla devre dışı bırakılabilir)",
DetachFromContainerShortCut: "Varsayılan olarak, kaptan ayırmak için ctrl-p ve ardından ctrl-q tuşlarına basın",
} }
} }