Skip to content

Commit f6fd38a

Browse files
committed
fix i18n and lint warnings
1 parent d959ba2 commit f6fd38a

File tree

4 files changed

+21
-20
lines changed

4 files changed

+21
-20
lines changed

Diff for: arduino/cores/cores.go

+11-11
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ type PlatformRelease struct {
5252
ToolDependencies ToolDependencies
5353
DiscoveryDependencies DiscoveryDependencies
5454
MonitorDependencies MonitorDependencies
55-
Help PlatformReleaseHelp `json:"-"`
56-
Platform *Platform `json:"-"`
57-
Properties *properties.Map `json:"-"`
58-
Boards map[string]*Board `json:"-"`
59-
Programmers map[string]*Programmer `json:"-"`
60-
Menus *properties.Map `json:"-"`
61-
InstallDir *paths.Path `json:"-"`
62-
IsIDEBundled bool `json:"-"`
63-
IsTrusted bool `json:"-"`
64-
PluggableDiscoveryAware bool `json:"-"` // true if the Platform supports pluggable discovery (no compatibility layer required)
65-
Monitors map[string]*MonitorDependency
55+
Help PlatformReleaseHelp `json:"-"`
56+
Platform *Platform `json:"-"`
57+
Properties *properties.Map `json:"-"`
58+
Boards map[string]*Board `json:"-"`
59+
Programmers map[string]*Programmer `json:"-"`
60+
Menus *properties.Map `json:"-"`
61+
InstallDir *paths.Path `json:"-"`
62+
IsIDEBundled bool `json:"-"`
63+
IsTrusted bool `json:"-"`
64+
PluggableDiscoveryAware bool `json:"-"` // true if the Platform supports pluggable discovery (no compatibility layer required)
65+
Monitors map[string]*MonitorDependency `json:"-"`
6666
}
6767

6868
// BoardManifest contains information about a board. These metadata are usually

Diff for: arduino/monitor/monitor.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
// Arduino software without disclosing the source code of your own applications.
1414
// To purchase a commercial license, send an email to [email protected].
1515

16-
// Documentation about pluggable monitor is available here:
16+
// Package monitor provides a client for Pluggable Monitors.
17+
// Documentation is available here:
1718
// https://arduino.github.io/arduino-cli/latest/pluggable-monitor-specification/
1819
package monitor
1920

Diff for: i18n/data/en.po

+4-4
Original file line numberDiff line numberDiff line change
@@ -2503,7 +2503,7 @@ msgstr "cleaning build path"
25032503
msgid "command"
25042504
msgstr "command"
25052505

2506-
#: arduino/monitor/monitor.go:157
2506+
#: arduino/monitor/monitor.go:150
25072507
msgid "command '%[1]s' failed: %[2]s"
25082508
msgstr "command '%[1]s' failed: %[2]s"
25092509

@@ -2516,7 +2516,7 @@ msgstr "command '%[1]s' failed: %[2]s"
25162516
msgid "command failed: %s"
25172517
msgstr "command failed: %s"
25182518

2519-
#: arduino/monitor/monitor.go:154
2519+
#: arduino/monitor/monitor.go:147
25202520
msgid "communication out of sync, expected '%[1]s', received '%[2]s'"
25212521
msgstr "communication out of sync, expected '%[1]s', received '%[2]s'"
25222522

@@ -3110,7 +3110,7 @@ msgstr "port"
31103110
msgid "port not found: %[1]s %[2]s"
31113111
msgstr "port not found: %[1]s %[2]s"
31123112

3113-
#: arduino/monitor/monitor.go:246
3113+
#: arduino/monitor/monitor.go:239
31143114
msgid "protocol version not supported: requested %[1]d, got %[2]d"
31153115
msgstr "protocol version not supported: requested %[1]d, got %[2]d"
31163116

@@ -3300,7 +3300,7 @@ msgstr "the platform has no releases"
33003300
msgid "the server responded with status %s"
33013301
msgstr "the server responded with status %s"
33023302

3303-
#: arduino/monitor/monitor.go:147
3303+
#: arduino/monitor/monitor.go:140
33043304
msgid "timeout waiting for message"
33053305
msgstr "timeout waiting for message"
33063306

Diff for: i18n/rice-box.go

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)