[plugin] AutoStandby: Make "Update" string translatable (#9655)

pull/9662/head
sonix-github 2 years ago committed by GitHub
parent cda419dd7a
commit ac79da05f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -145,7 +145,7 @@ function AutoStandby:genSpinMenuItem(text, cfg, min, max)
value_min = min and min() or 0, value_min = min and min() or 0,
value_max = max and max() or 9999, value_max = max and max() or 9999,
value_hold_step = 10, value_hold_step = 10,
ok_text = "Update", ok_text = _("Update"),
title_text = text, title_text = text,
callback = function(spin) self.settings:saveSetting(cfg, spin.value):flush() end, callback = function(spin) self.settings:saveSetting(cfg, spin.value):flush() end,
} }

Loading…
Cancel
Save