[AutoWarmth] Simplify translations (#9996)

reviewable/pr9998/r1
zwim 1 year ago committed by GitHub
parent 20ac8004d6
commit b3a7d32d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1042,7 +1042,7 @@ function AutoWarmth:getWarmthMenu()
text_func = function()
if Device:hasNaturalLight() then
return T(_("Control: %1%2%3"), self.control_warmth and _("warmth") or "",
self.control_warmth and self.control_nightmode and T(_(" %1 "), _("and")) or "",
self.control_warmth and self.control_nightmode and T(" %1 ", _("and")) or "",
self.control_nightmode and _("night mode") or "")
else
return _("Control: night mode")

Loading…
Cancel
Save