Fix error that's breaking the ConstL10n class (PR 17161 follow-up)

I forgot to include `web/l10n_utils.js` in PR 17161, which currently breaks `ConstL10n` since there's no longer a method called `setL10n`; sorry about that!
This commit is contained in:
Jonas Jenwald 2023-10-25 12:11:57 +02:00
parent f098121644
commit 846bd86520

View File

@ -26,7 +26,7 @@ import { shadow } from "pdfjs-lib";
class ConstL10n extends L10n {
constructor(lang) {
super({ lang });
this.setL10n(
this._setL10n(
new DOMLocalization([], ConstL10n.#generateBundles.bind(ConstL10n, lang))
);
}