@@ -140,6 +140,26 @@ const messages = defineMessages({
140140 id : 'gui.soundEditor.mute' ,
141141 description : 'Title of the button to apply the mute effect' ,
142142 defaultMessage : 'Mute'
143+ } ,
144+ lowPass : {
145+ id : 'pm.soundEditor.lowPass' ,
146+ description : 'Title of the button to apply low pass on audio' ,
147+ defaultMessage : 'Low Pass'
148+ } ,
149+ highPass : {
150+ id : 'pm.soundEditor.highPass' ,
151+ description : 'Title of the button to apply high pass on audio' ,
152+ defaultMessage : 'High Pass'
153+ } ,
154+ format : {
155+ id : 'pm.soundEditor.format' ,
156+ description : 'Title of the button that opens the audio formatting menu' ,
157+ defaultMessage : 'Format'
158+ } ,
159+ modify : {
160+ id : 'pm.soundEditor.modify' ,
161+ description : 'Title of the button that opens the modify sound menu' ,
162+ defaultMessage : 'Modify'
143163 }
144164} ) ;
145165
@@ -299,7 +319,7 @@ const SoundEditor = props => (
299319 < IconButton
300320 className = { styles . effectButton }
301321 img = { modifyIcon }
302- title = { "Modify" }
322+ title = { < FormattedMessage { ... messages . modify } /> }
303323 onClick = { props . onModifySound }
304324 />
305325 < IconButton
@@ -366,19 +386,19 @@ const SoundEditor = props => (
366386 < IconButton
367387 className = { styles . effectButton }
368388 img = { lowpassIcon }
369- title = { "Low Pass" }
389+ title = { < FormattedMessage { ... messages . lowPass } /> }
370390 onClick = { props . onLowPass }
371391 />
372392 < IconButton
373393 className = { styles . effectButton }
374394 img = { highpassIcon }
375- title = { "High Pass" }
395+ title = { < FormattedMessage { ... messages . highPass } /> }
376396 onClick = { props . onHighPass }
377397 />
378398 < IconButton
379399 className = { styles . effectButton }
380400 img = { formatIcon }
381- title = { "Format" }
401+ title = { < FormattedMessage { ... messages . format } /> }
382402 onClick = { props . onFormatSound }
383403 />
384404 </ div >
0 commit comments