From 91bbfc4190f54181ac97a34ae5451da547a5431e Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sat, 10 Feb 2018 11:44:02 +0100 Subject: [PATCH] [i18n, fix] KoboLight plugin: fix up text issues (#3665) --- plugins/kobolight.koplugin/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/kobolight.koplugin/main.lua b/plugins/kobolight.koplugin/main.lua index 71bd36c58..1d27c355b 100644 --- a/plugins/kobolight.koplugin/main.lua +++ b/plugins/kobolight.koplugin/main.lua @@ -239,8 +239,8 @@ function KoboLight:addToMainMenu(menu_items) } UIManager:show(image) UIManager:show(ConfirmBox:new{ - text = T(_("Frontlight gesture controller can:\n- Turn on or off frontlight by tapping bottom left of the screen.\n- Change frontlight intensity by swiping up or down on the left of the screen." .. nl_text .. "\n\nDo you want to %1 it?"), - self:disabled() and _("enable") or _("disable")), + text = _("Frontlight gesture controller can:\n- Turn on or off frontlight by tapping bottom left of the screen.\n- Change frontlight intensity by swiping up or down on the left of the screen.") .. nl_text .. "\n\n" .. + self:disabled() and _("Do you want to enable the frontlight gesture controller?") or _("Do you want to disable the frontlight gesture controller?"), ok_text = self:disabled() and _("Enable") or _("Disable"), ok_callback = function() UIManager:close(image)