Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/common/Util
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-06-03 22:38:31 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-06-03 22:38:31 (GMT)
commit470eb6ae2d64d25744d78116fc8865ea00f3c0ad (patch)
tree21bcf1e50b44555a739c3405ed2847411490714c /common/Util
parentf9e90e8225b828975350f1d528234b1df6b1238e (diff)
Tamtam Mini control bars get really small #924 #285
Diffstat (limited to 'common/Util')
-rw-r--r--common/Util/Instruments.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/Util/Instruments.py b/common/Util/Instruments.py
index 1bbf8b5..83def45 100644
--- a/common/Util/Instruments.py
+++ b/common/Util/Instruments.py
@@ -1,4 +1,6 @@
import os
+from gettext import gettext as _
+
import common.Config as Config
import common.Util.InstrumentDB as InstrumentDB
from sugar.activity.activity import get_bundle_name
@@ -295,3 +297,13 @@ _addInstrument( "drum3kit", 0, 0, "percussions", 0, 0, 0, 1, DRUM3KIT )
_addInstrument( "drum4kit", 0, 0, "percussions", 0, 0, 0, 1, DRUM4KIT )
_addInstrument( "drum5kit", 0, 0, "percussions", 0, 0, 0, 1, DRUM5KIT )
_addInstrument( "drum6kit", 0, 0, "percussions", 0, 0, 0, 1, DRUM6KIT )
+
+DRUMTIPS = [
+ _('Jazz / Rock Kit'),
+ _('African Kit'),
+ _('Arabic Kit'),
+ _('South American Kit'),
+ _('Electronic Kit'),
+ _('Nepali') ]
+
+DRUMCOUNT = 6