Enable language packs (#941)

* install language packs

* register localization contribution to backend module

* copy i18n folder to build

* fix chinese language iid
This commit is contained in:
Alberto Iannaccone
2022-04-08 14:59:11 +02:00
committed by GitHub
parent 46a3466bc5
commit 6176e50acf
7 changed files with 173 additions and 7 deletions

View File

@@ -39,10 +39,6 @@ export class AddZipLibrary extends SketchContribution {
...ArduinoMenus.SKETCH__UTILS_GROUP,
'0_include',
];
// TODO: do we need it? calling `registerSubmenu` multiple times is noop, so it does not hurt.
registry.registerSubmenu(includeLibMenuPath, 'Include Library', {
order: '1',
});
registry.registerMenuAction([...includeLibMenuPath, '1_install'], {
commandId: AddZipLibrary.Commands.ADD_ZIP_LIBRARY.id,
label: nls.localize('arduino/library/addZip', 'Add .ZIP Library...'),