From ac79da05f4c21ff1c2c6a5ade15c854a5ad6378a Mon Sep 17 00:00:00 2001 From: sonix-github <29783895+sonix-github@users.noreply.github.com> Date: Thu, 20 Oct 2022 19:35:09 +0200 Subject: [PATCH] [plugin] AutoStandby: Make "Update" string translatable (#9655) --- plugins/autostandby.koplugin/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/autostandby.koplugin/main.lua b/plugins/autostandby.koplugin/main.lua index b1a23288d..cd3422db8 100644 --- a/plugins/autostandby.koplugin/main.lua +++ b/plugins/autostandby.koplugin/main.lua @@ -145,7 +145,7 @@ function AutoStandby:genSpinMenuItem(text, cfg, min, max) value_min = min and min() or 0, value_max = max and max() or 9999, value_hold_step = 10, - ok_text = "Update", + ok_text = _("Update"), title_text = text, callback = function(spin) self.settings:saveSetting(cfg, spin.value):flush() end, }