зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
4edacd7d3b
Коммит
4a25a0e109
|
@ -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 Adobe’s 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 Microsoft’s Media Feature Pack.
|
||||
decoder.noHWAccelerationVista.message = To improve video quality, you may need to install Microsoft’s 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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче