Skip to content

Commit

Permalink
Merge pull request HabitRPG#5407 from Alys/GSalvadi-audio-NOMINDTR-20…
Browse files Browse the repository at this point in the history
…15-06-15

new GSalvadi audio theme, created by NomindTR
  • Loading branch information
Alys committed Jun 17, 2015
2 parents 63e1bdf + 14983cb commit 910fc2f
Show file tree
Hide file tree
Showing 23 changed files with 3 additions and 2 deletions.
Binary file added common/audio/gokulTheme/Achievement_Unlocked.mp3
Binary file not shown.
Binary file added common/audio/gokulTheme/Achievement_Unlocked.ogg
Binary file not shown.
Binary file added common/audio/gokulTheme/Chat.mp3
Binary file not shown.
Binary file added common/audio/gokulTheme/Chat.ogg
Binary file not shown.
Binary file added common/audio/gokulTheme/Daily.mp3
Binary file not shown.
Binary file added common/audio/gokulTheme/Daily.ogg
Binary file not shown.
Binary file added common/audio/gokulTheme/Death.mp3
Binary file not shown.
Binary file added common/audio/gokulTheme/Death.ogg
Binary file not shown.
Binary file added common/audio/gokulTheme/Item_Drop.mp3
Binary file not shown.
Binary file added common/audio/gokulTheme/Item_Drop.ogg
Binary file not shown.
Binary file added common/audio/gokulTheme/Level_Up.mp3
Binary file not shown.
Binary file added common/audio/gokulTheme/Level_Up.ogg
Binary file not shown.
Binary file added common/audio/gokulTheme/Minus_Habit.mp3
Binary file not shown.
Binary file added common/audio/gokulTheme/Minus_Habit.ogg
Binary file not shown.
Binary file added common/audio/gokulTheme/Plus_Habit.mp3
Binary file not shown.
Binary file added common/audio/gokulTheme/Plus_Habit.ogg
Binary file not shown.
Binary file added common/audio/gokulTheme/Reward.mp3
Binary file not shown.
Binary file added common/audio/gokulTheme/Reward.ogg
Binary file not shown.
Binary file added common/audio/gokulTheme/ToDo.mp3
Binary file not shown.
Binary file added common/audio/gokulTheme/ToDo.ogg
Binary file not shown.
1 change: 1 addition & 0 deletions common/locales/en/generic.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"audioTheme_off": "Off",
"audioTheme_danielTheBard": "Daniel The Bard",
"audioTheme_wattsTheme": "Watts' Theme",
"audioTheme_gokulTheme": "Gokul Theme",
"askQuestion": "Ask a Question",
"reportBug": "Report a Bug",
"contributeToHRPG": "Contribute to HabitRPG",
Expand Down
2 changes: 1 addition & 1 deletion website/src/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ var UserSchema = new Schema({
skin: {type:String, 'default':'915533'},
shirt: {type: String, 'default': 'blue'},
timezoneOffset: Number,
sound: {type:String, 'default':'off', enum: ['off','danielTheBard', 'wattsTheme']},
sound: {type:String, 'default':'off', enum: ['off','danielTheBard', 'wattsTheme', 'gokulTheme']},
language: String,
automaticAllocation: Boolean,
allocationMode: {type:String, enum: ['flat','classbased','taskbased'], 'default': 'flat'},
Expand Down
2 changes: 1 addition & 1 deletion website/views/shared/header/menu.jade
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ nav.toolbar(ng-controller='AuthCtrl', ng-class='{active: isToolbarHidden}')
div
ul.toolbar-submenu(ng-click='expandMenu(null)')
// Using [{k,v}] instead of {k:v,k:v} to maintain order ('off' at top)
for theme in ['off','danielTheBard', 'wattsTheme']
for theme in ['off','danielTheBard', 'wattsTheme', 'gokulTheme']
li
a(ng-class="{'bg-primary':user.preferences.sound=='#{theme}'}", ng-click="set({'preferences.sound':'#{theme}'})")=env.t('audioTheme_'+theme)

Expand Down

0 comments on commit 910fc2f

Please sign in to comment.