Bug 1969793 - Correct path to setDesktopBackground.ftl in nsWindowsShellService, a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D252151 Differential Revision: https://phabricator.services.mozilla.com/D252279
This commit is contained in:
committed by
rvandermeulen@mozilla.com
parent
b8213dc987
commit
3bd4b9b693
@@ -696,7 +696,7 @@ nsWindowsShellService::SetDesktopBackground(dom::Element* aElement,
|
|||||||
// get the file name from localized strings, e.g. "Desktop Background", then
|
// get the file name from localized strings, e.g. "Desktop Background", then
|
||||||
// append the extension (".bmp").
|
// append the extension (".bmp").
|
||||||
nsTArray<nsCString> resIds = {
|
nsTArray<nsCString> resIds = {
|
||||||
"browser/browser/setDesktopBackground.ftl"_ns,
|
"browser/setDesktopBackground.ftl"_ns,
|
||||||
};
|
};
|
||||||
RefPtr<Localization> l10n = Localization::Create(resIds, true);
|
RefPtr<Localization> l10n = Localization::Create(resIds, true);
|
||||||
nsAutoCString fileLeafNameUtf8;
|
nsAutoCString fileLeafNameUtf8;
|
||||||
|
|||||||
Reference in New Issue
Block a user