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

MozReview-Commit-ID: 4q4CLb9VjcU

--HG--
extra : histedit_source : db594819a7ecf0ff51c922b872732689bd352441
This commit is contained in:
Gerald Squelart 2016-09-13 20:10:58 -07:00
Родитель 92c73aff5c
Коммит e6b2775ad6
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 "";
},
@ -241,6 +244,9 @@ let gDecoderDoctorHandler = {
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