diff -r 213e81430f7a -r 1b84c7b2aeee integration/js/mashupcore.js --- a/integration/js/mashupcore.js Tue Dec 04 13:31:01 2012 +0100 +++ b/integration/js/mashupcore.js Tue Dec 04 18:59:07 2012 +0100 @@ -185,14 +185,14 @@ var _soundCtl = $(".Ldt-Ctrl-Sound"); _soundCtl.removeClass("Ldt-Ctrl-Sound-Mute Ldt-Ctrl-Sound-Half Ldt-Ctrl-Sound-Full"); if (_muted) { - _soundCtl.attr("title", "Activer le son") + _soundCtl.attr("title", gettext("Unmute")) .addClass("Ldt-Ctrl-Sound-Mute"); } else { - _soundCtl.attr("title", "Couper le son") + _soundCtl.attr("title", gettext("mute")) .addClass(_vol < .5 ? "Ldt-Ctrl-Sound-Half" : "Ldt-Ctrl-Sound-Full" ) } volBar.slider("value", _muted ? 0 : 100 * _vol); - volBar.attr("title",'Volume : ' + Math.floor(100 * _vol) + '%'); + volBar.attr("title",gettext("Volume:") + Math.floor(100 * _vol) + '%'); } } @@ -218,14 +218,14 @@ function onCurrentMediaPlay() { $(".Ldt-Ctrl-Play") - .attr("title", "Pause") + .attr("title", gettext("Pause")) .removeClass("Ldt-Ctrl-Play-PlayState") .addClass("Ldt-Ctrl-Play-PauseState") } function onCurrentMediaPause() { $(".Ldt-Ctrl-Play") - .attr("title", "Lecture") + .attr("title", gettext("Play")) .removeClass("Ldt-Ctrl-Play-PauseState") .addClass("Ldt-Ctrl-Play-PlayState") }