Bug 1247056 - Show notification when PulseAudio cannot be used - r=Gijs

MozReview-Commit-ID: 4q4CLb9VjcU

--HG--
extra : rebase_source : f0c3a0841fc829336d8670b608452ffe5f72ad6a
This commit is contained in:
Gerald Squelart 2016-09-13 20:10:58 -07:00
Родитель 4edacd7d3b
Коммит 4a25a0e109
2 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -231,6 +231,9 @@ let gDecoderDoctorHandler = {
return gNavigatorBundle.getString("decoder.noCodecsLinux.message");
}
}
if (type == "cannot-initialize-pulseaudio") {
return gNavigatorBundle.getString("decoder.noPulseAudio.message");
}
return "";
},
@ -238,6 +241,9 @@ let gDecoderDoctorHandler = {
if (AppConstants.platform == "win") {
return "fix-video-audio-problems-firefox-windows";
}
if (type == "cannot-initialize-pulseaudio") {
return "fix-common-audio-and-video-issues";
}
return "";
},

Просмотреть файл

@ -734,6 +734,7 @@ decoder.noCodecsXP.message = To play video, you may need to enable Adobes Pri
decoder.noCodecsLinux.message = To play video, you may need to install the required video codecs.
decoder.noHWAcceleration.message = To improve video quality, you may need to install Microsofts Media Feature Pack.
decoder.noHWAccelerationVista.message = To improve video quality, you may need to install Microsofts Platform Update Supplement for Windows Vista.
decoder.noPulseAudio.message = To play audio, you may need to install the required PulseAudio software.
permissions.remove.tooltip = Clear this permission and ask again