mirror of
https://github.com/ankitects/anki.git
synced 2026-01-14 06:23:57 -05:00
parent
71b498e85e
commit
c36ca1a212
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ export function withoutUnicodeIsolation(s: string): string {
|
|||
|
||||
export async function setupI18n(args: { modules: ModuleName[] }): Promise<void> {
|
||||
const resources = await i18n.i18nResources(args);
|
||||
const json = JSON.parse(String.fromCharCode(...resources.json));
|
||||
const json = JSON.parse(new TextDecoder().decode(resources.json));
|
||||
|
||||
const newBundles: FluentBundle[] = [];
|
||||
for (const res in json.resources) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue