Load missing i18n modules (#1494)

This commit is contained in:
Abdo 2021-11-17 00:28:48 +03:00 committed by GitHub
parent 72b08cb7d5
commit 98b527eb99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -20,7 +20,11 @@ export async function changeNotetypePage(
getChangeNotetypeInfo(oldNotetypeId, newNotetypeId),
getNotetypeNames(),
setupI18n({
modules: [ModuleName.ACTIONS, ModuleName.CHANGE_NOTETYPE],
modules: [
ModuleName.ACTIONS,
ModuleName.CHANGE_NOTETYPE,
ModuleName.KEYBOARD,
],
}),
]);

View file

@ -24,6 +24,7 @@ export async function deckOptions(
ModuleName.SCHEDULING,
ModuleName.ACTIONS,
ModuleName.DECK_CONFIG,
ModuleName.KEYBOARD,
],
}),
]);