]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - music_sampler/music_sampler.kv
Make music_sampler multilingual
[perso/Immae/Projets/Python/MusicSampler.git] / music_sampler / music_sampler.kv
index ae5dbd7787251535b8cc907b167fd36e18e10acf..0432e1458aac09f9a92bd85e995fd2a5a93c2159 100644 (file)
@@ -90,7 +90,7 @@
   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]