[plugin] Terminal: fix @translators comments (#8829)

reviewable/pr8831/r1
Frans de Jonge 2 years ago committed by GitHub
parent c3332f355f
commit 4d6a789f6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -273,28 +273,31 @@ function Terminal:generateInputDialog()
end,
},
{
text = _("Esc"), -- @translators This is the ESC-key on the keyboard.
callback = function()
self:transmit("\027")
end,
-- @translators This is the ESC-key on the keyboard.
text = _("Esc"),
callback = function()
self:transmit("\027")
end,
},
{
text = _("Ctrl"), -- @translators This is the CTRL-key on the keyboard.
callback = function()
self.ctrl = true
end,
-- @translators This is the CTRL-key on the keyboard.
text = _("Ctrl"),
callback = function()
self.ctrl = true
end,
},
{
text = _("Ctrl-C"), -- @translators This is the CTRL-C key combination.
callback = function()
self:transmit("\003")
-- consume and drop everything
C.tcflush(self.ptmx, C.TCIFLUSH)
while self:receive() ~= "" do
-- @translators This is the CTRL-C key combination.
text = _("Ctrl-C"),
callback = function()
self:transmit("\003")
-- consume and drop everything
C.tcflush(self.ptmx, C.TCIFLUSH)
end
self.input_widget:addChars("\003", true) -- as we flush the queue
end,
while self:receive() ~= "" do
C.tcflush(self.ptmx, C.TCIFLUSH)
end
self.input_widget:addChars("\003", true) -- as we flush the queue
end,
},
{
text = "", --clear

Loading…
Cancel
Save