font_name: "Ubuntu"
font_size: self.parent and 2 * self.parent.key_size or 42
text_size: self.size
- text: "Focus lost!"
+ text: _("Focus lost!")
<Screen>:
canvas:
font_name: "Ubuntu"
font_size: self.parent.font_size or 10
color: 0, 0, 0, 1
- text: "volume: {}%".format(self.parent.master_volume)
+ text: _("volume: {}%").format(self.parent.master_volume)
valign: "top"
size_hint: None, None
size: self.texture_size[0], self.texture_size[1]