]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - music_sampler/music_sampler.kv
Disable dead keys and enable capslock
[perso/Immae/Projets/Python/MusicSampler.git] / music_sampler / music_sampler.kv
index ae5dbd7787251535b8cc907b167fd36e18e10acf..839d2ce5d50cf30b692b1504b0b57b2347acfe53 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]
     key_sym: "^"
     row: 3
     col: 12.5
+    line_width: 1
+    enabled: False
   Key:
     id: Key_36
     key_code: 36
     row: 4
     col: 1
     key_width: 1.75
-    line_width: 1
-    enabled: False
 
   Key:
     id: Key_113