karma doesn't add sounds that aren't localized

Bug #426109 reported by bryanwb
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Karma
Fix Released
Medium
bryanwb

Bug Description

if u specify localized: false, it won't add the sound even if it is in the assets/generic directory

bryanwb (bryan-berry)
Changed in karma:
assignee: nobody → bryanwb (bryan-berry)
importance: Undecided → Medium
milestone: none → 0.1
felipelt (subzero)
Changed in karma:
status: New → Fix Released
Revision history for this message
felipelt (subzero) wrote :

bug fixed.

now this works:

if you have:
   sounds: [
     {id: "clip1", file: "correct.ogg", localized:false},
     {id: "clip2", file: "incorrect.ogg"},
 ],

andyour browser language is: es-MX

Karma will look for
clip1: as assets/generic/sounds/correct.ogg
clip2: as assets/es-MX/sounds/es-MX_correct.ogg

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.