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

This commit is contained in:
sonix-github
2022-10-20 19:35:09 +02:00
committed by GitHub
parent cda419dd7a
commit ac79da05f4

View File

@@ -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,
}