Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arduino-ide-extension/src/common/nls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { nls } from '@theia/core/lib/common/nls';
export const Unknown = nls.localize('arduino/common/unknown', 'Unknown');
export const Later = nls.localize('arduino/common/later', 'Later');
export const Updatable = nls.localize('arduino/common/updateable', 'Updatable');
export const Installed = nls.localize('arduino/common/installed', 'Installed');
export const All = nls.localize('arduino/common/all', 'All');
export const Type = nls.localize('arduino/common/type', 'Type');
export const Partner = nls.localize('arduino/common/partner', 'Partner');
Expand Down
3 changes: 3 additions & 0 deletions arduino-ide-extension/src/common/protocol/boards-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
Partner,
Type as TypeLabel,
Updatable,
Installed
} from '../nls';
import type { Defined } from '../types';
import { naturalCompare } from './../utils';
Expand Down Expand Up @@ -113,6 +114,7 @@ export namespace BoardSearch {
export const TypeLiterals = [
'All',
'Updatable',
'Installed',
'Arduino',
'Contributed',
'Arduino Certified',
Expand All @@ -128,6 +130,7 @@ export namespace BoardSearch {
export const TypeLabels: Record<Type, string> = {
All: All,
Updatable: Updatable,
Installed: Installed,
Arduino: 'Arduino',
Contributed: Contributed,
'Arduino Certified': nls.localize(
Expand Down
2 changes: 2 additions & 0 deletions arduino-ide-extension/src/node/boards-service-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,8 @@ export class BoardsServiceImpl
switch (options.type) {
case 'Updatable':
return Installable.Updateable;
case 'Installed':
return Installable.Installed;
case 'Arduino':
case 'Partner':
case 'Arduino@Heart':
Expand Down
1 change: 1 addition & 0 deletions i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"all": "All",
"contributed": "Contributed",
"installManually": "Install Manually",
"installed": "Installed",
"later": "Later",
"noBoardSelected": "No board selected",
"noSketchOpened": "No sketch opened",
Expand Down
Loading