Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
1962996b
Unverified
Commit
1962996b
authored
Jan 24, 2023
by
Zachary Cushon
Committed by
GitHub
Jan 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed error message capitalization (#2048)
parent
a58d5adb
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
33 additions
and
33 deletions
+33
-33
i18n/data/ar.po
i18n/data/ar.po
+2
-2
i18n/data/de.po
i18n/data/de.po
+2
-2
i18n/data/en.po
i18n/data/en.po
+2
-2
i18n/data/es.po
i18n/data/es.po
+2
-2
i18n/data/fr.po
i18n/data/fr.po
+2
-2
i18n/data/he.po
i18n/data/he.po
+2
-2
i18n/data/it_IT.po
i18n/data/it_IT.po
+2
-2
i18n/data/ja.po
i18n/data/ja.po
+3
-3
i18n/data/ko.po
i18n/data/ko.po
+2
-2
i18n/data/mn.po
i18n/data/mn.po
+1
-1
i18n/data/my_MM.po
i18n/data/my_MM.po
+2
-2
i18n/data/pl.po
i18n/data/pl.po
+2
-2
i18n/data/pt.po
i18n/data/pt.po
+2
-2
i18n/data/ru.po
i18n/data/ru.po
+2
-2
i18n/data/zh.po
i18n/data/zh.po
+2
-2
internal/cli/lib/list.go
internal/cli/lib/list.go
+1
-1
internal/integrationtest/lib/lib_test.go
internal/integrationtest/lib/lib_test.go
+2
-2
No files found.
i18n/data/ar.po
View file @
1962996b
...
@@ -871,7 +871,7 @@ msgid "Error installing tool %s"
...
@@ -871,7 +871,7 @@ msgid "Error installing tool %s"
msgstr "خطأ اثناء تثبيت الاداة %s"
msgstr "خطأ اثناء تثبيت الاداة %s"
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr "خطا اثناء انشاء قائمة المكتبات : %v"
msgstr "خطا اثناء انشاء قائمة المكتبات : %v"
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
@@ -953,7 +953,7 @@ msgid "Error searching boards: %v"
...
@@ -953,7 +953,7 @@ msgid "Error searching boards: %v"
msgstr "خطا اثناء البحث عن اللوحات : %v"
msgstr "خطا اثناء البحث عن اللوحات : %v"
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
L
ibraries: %v"
msgid "Error searching for
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/core/search.go:87
#: cli/core/search.go:87
...
...
i18n/data/de.po
View file @
1962996b
...
@@ -863,7 +863,7 @@ msgid "Error installing tool %s"
...
@@ -863,7 +863,7 @@ msgid "Error installing tool %s"
msgstr "Fehler beim Installieren des Werkzeugs %s"
msgstr "Fehler beim Installieren des Werkzeugs %s"
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr "Fehler beim Auflisten von Bibliotheken: %v"
msgstr "Fehler beim Auflisten von Bibliotheken: %v"
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
@@ -944,7 +944,7 @@ msgid "Error searching boards: %v"
...
@@ -944,7 +944,7 @@ msgid "Error searching boards: %v"
msgstr "Fehler bei der Suche nach Platinen: %v"
msgstr "Fehler bei der Suche nach Platinen: %v"
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
L
ibraries: %v"
msgid "Error searching for
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/core/search.go:87
#: cli/core/search.go:87
...
...
i18n/data/en.po
View file @
1962996b
...
@@ -814,8 +814,8 @@ msgid "Error installing tool %s"
...
@@ -814,8 +814,8 @@ msgid "Error installing tool %s"
msgstr "Error installing tool %s"
msgstr "Error installing tool %s"
#: cli/lib/list.go:76
#: cli/lib/list.go:76
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr "Error listing
L
ibraries: %v"
msgstr "Error listing
l
ibraries: %v"
#: cli/board/listall.go:64
#: cli/board/listall.go:64
msgid "Error listing boards: %v"
msgid "Error listing boards: %v"
...
...
i18n/data/es.po
View file @
1962996b
...
@@ -869,7 +869,7 @@ msgid "Error installing tool %s"
...
@@ -869,7 +869,7 @@ msgid "Error installing tool %s"
msgstr "Error instalando la herramienta %s"
msgstr "Error instalando la herramienta %s"
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr "Error listando las librerías: %v"
msgstr "Error listando las librerías: %v"
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
@@ -950,7 +950,7 @@ msgid "Error searching boards: %v"
...
@@ -950,7 +950,7 @@ msgid "Error searching boards: %v"
msgstr "Error en la búsqueda de placas: %v"
msgstr "Error en la búsqueda de placas: %v"
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
L
ibraries: %v"
msgid "Error searching for
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/core/search.go:87
#: cli/core/search.go:87
...
...
i18n/data/fr.po
View file @
1962996b
...
@@ -849,7 +849,7 @@ msgid "Error installing tool %s"
...
@@ -849,7 +849,7 @@ msgid "Error installing tool %s"
msgstr "Erreur lors de l’installation de l'outil %s."
msgstr "Erreur lors de l’installation de l'outil %s."
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr "Erreur lors du listage des librairies : %v"
msgstr "Erreur lors du listage des librairies : %v"
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
@@ -930,7 +930,7 @@ msgid "Error searching boards: %v"
...
@@ -930,7 +930,7 @@ msgid "Error searching boards: %v"
msgstr ""
msgstr ""
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
L
ibraries: %v"
msgid "Error searching for
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/core/search.go:87
#: cli/core/search.go:87
...
...
i18n/data/he.po
View file @
1962996b
...
@@ -845,7 +845,7 @@ msgid "Error installing tool %s"
...
@@ -845,7 +845,7 @@ msgid "Error installing tool %s"
msgstr ""
msgstr ""
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
@@ -926,7 +926,7 @@ msgid "Error searching boards: %v"
...
@@ -926,7 +926,7 @@ msgid "Error searching boards: %v"
msgstr ""
msgstr ""
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
L
ibraries: %v"
msgid "Error searching for
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/core/search.go:87
#: cli/core/search.go:87
...
...
i18n/data/it_IT.po
View file @
1962996b
...
@@ -910,7 +910,7 @@ msgid "Error installing tool %s"
...
@@ -910,7 +910,7 @@ msgid "Error installing tool %s"
msgstr "Errore durante l'installazione del tool %s"
msgstr "Errore durante l'installazione del tool %s"
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr ""
msgstr ""
"Si è verificato un errore durante la visualizzazione dell'elenco delle "
"Si è verificato un errore durante la visualizzazione dell'elenco delle "
"librerie: %v"
"librerie: %v"
...
@@ -1010,7 +1010,7 @@ msgid "Error searching boards: %v"
...
@@ -1010,7 +1010,7 @@ msgid "Error searching boards: %v"
msgstr "Si è verificato un errore durante la ricerca delle schede: %v"
msgstr "Si è verificato un errore durante la ricerca delle schede: %v"
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
L
ibraries: %v"
msgid "Error searching for
l
ibraries: %v"
msgstr "Si è verificato un errore durante la ricerca delle librerie: %v"
msgstr "Si è verificato un errore durante la ricerca delle librerie: %v"
#: cli/core/search.go:87
#: cli/core/search.go:87
...
...
i18n/data/ja.po
View file @
1962996b
...
@@ -847,7 +847,7 @@ msgid "Error installing tool %s"
...
@@ -847,7 +847,7 @@ msgid "Error installing tool %s"
msgstr ""
msgstr ""
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
Libraries:
%v"
msgid "Error listing
libraries:
%v"
msgstr ""
msgstr ""
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
@@ -928,7 +928,7 @@ msgid "Error searching boards: %v"
...
@@ -928,7 +928,7 @@ msgid "Error searching boards: %v"
msgstr ""
msgstr ""
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
Libraries:
%v"
msgid "Error searching for
libraries:
%v"
msgstr ""
msgstr ""
#: cli/core/search.go:87
#: cli/core/search.go:87
...
@@ -1432,7 +1432,7 @@ msgid "Loading index file: %v"
...
@@ -1432,7 +1432,7 @@ msgid "Loading index file: %v"
msgstr ""
msgstr ""
#: commands/instances.go:442
#: commands/instances.go:442
msgid "Loading libraries: %v"
msgid "Loading libraries:
%v"
msgstr ""
msgstr ""
#: cli/lib/list.go:131
#: cli/lib/list.go:131
...
...
i18n/data/ko.po
View file @
1962996b
...
@@ -845,7 +845,7 @@ msgid "Error installing tool %s"
...
@@ -845,7 +845,7 @@ msgid "Error installing tool %s"
msgstr ""
msgstr ""
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
@@ -926,7 +926,7 @@ msgid "Error searching boards: %v"
...
@@ -926,7 +926,7 @@ msgid "Error searching boards: %v"
msgstr ""
msgstr ""
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
L
ibraries: %v"
msgid "Error searching for
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/core/search.go:87
#: cli/core/search.go:87
...
...
i18n/data/mn.po
View file @
1962996b
...
@@ -847,7 +847,7 @@ msgid "Error installing tool %s"
...
@@ -847,7 +847,7 @@ msgid "Error installing tool %s"
msgstr ""
msgstr ""
#: cli/lib/list.go:76
#: cli/lib/list.go:76
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
...
i18n/data/my_MM.po
View file @
1962996b
...
@@ -841,7 +841,7 @@ msgid "Error installing tool %s"
...
@@ -841,7 +841,7 @@ msgid "Error installing tool %s"
msgstr ""
msgstr ""
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
@@ -922,7 +922,7 @@ msgid "Error searching boards: %v"
...
@@ -922,7 +922,7 @@ msgid "Error searching boards: %v"
msgstr ""
msgstr ""
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
L
ibraries: %v"
msgid "Error searching for
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/core/search.go:87
#: cli/core/search.go:87
...
...
i18n/data/pl.po
View file @
1962996b
...
@@ -847,7 +847,7 @@ msgid "Error installing tool %s"
...
@@ -847,7 +847,7 @@ msgid "Error installing tool %s"
msgstr ""
msgstr ""
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
@@ -928,7 +928,7 @@ msgid "Error searching boards: %v"
...
@@ -928,7 +928,7 @@ msgid "Error searching boards: %v"
msgstr ""
msgstr ""
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
L
ibraries: %v"
msgid "Error searching for
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/core/search.go:87
#: cli/core/search.go:87
...
...
i18n/data/pt.po
View file @
1962996b
...
@@ -850,7 +850,7 @@ msgid "Error installing tool %s"
...
@@ -850,7 +850,7 @@ msgid "Error installing tool %s"
msgstr ""
msgstr ""
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
@@ -931,7 +931,7 @@ msgid "Error searching boards: %v"
...
@@ -931,7 +931,7 @@ msgid "Error searching boards: %v"
msgstr ""
msgstr ""
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
L
ibraries: %v"
msgid "Error searching for
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/core/search.go:87
#: cli/core/search.go:87
...
...
i18n/data/ru.po
View file @
1962996b
...
@@ -848,7 +848,7 @@ msgid "Error installing tool %s"
...
@@ -848,7 +848,7 @@ msgid "Error installing tool %s"
msgstr ""
msgstr ""
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
@@ -929,7 +929,7 @@ msgid "Error searching boards: %v"
...
@@ -929,7 +929,7 @@ msgid "Error searching boards: %v"
msgstr ""
msgstr ""
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
L
ibraries: %v"
msgid "Error searching for
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/core/search.go:87
#: cli/core/search.go:87
...
...
i18n/data/zh.po
View file @
1962996b
...
@@ -848,7 +848,7 @@ msgid "Error installing tool %s"
...
@@ -848,7 +848,7 @@ msgid "Error installing tool %s"
msgstr "安装 %s 工具时出错"
msgstr "安装 %s 工具时出错"
#: cli/lib/list.go:79
#: cli/lib/list.go:79
msgid "Error listing
L
ibraries: %v"
msgid "Error listing
l
ibraries: %v"
msgstr "列出库列表时出错:%v"
msgstr "列出库列表时出错:%v"
#: cli/board/listall.go:64
#: cli/board/listall.go:64
...
@@ -929,7 +929,7 @@ msgid "Error searching boards: %v"
...
@@ -929,7 +929,7 @@ msgid "Error searching boards: %v"
msgstr "搜索开发板时错误:%v"
msgstr "搜索开发板时错误:%v"
#: cli/lib/search.go:78
#: cli/lib/search.go:78
msgid "Error searching for
L
ibraries: %v"
msgid "Error searching for
l
ibraries: %v"
msgstr ""
msgstr ""
#: cli/core/search.go:87
#: cli/core/search.go:87
...
...
internal/cli/lib/list.go
View file @
1962996b
...
@@ -75,7 +75,7 @@ func List(instance *rpc.Instance, args []string, all bool, updatable bool) {
...
@@ -75,7 +75,7 @@ func List(instance *rpc.Instance, args []string, all bool, updatable bool) {
Fqbn
:
fqbn
.
String
(),
Fqbn
:
fqbn
.
String
(),
})
})
if
err
!=
nil
{
if
err
!=
nil
{
feedback
.
Fatal
(
tr
(
"Error listing
L
ibraries: %v"
,
err
),
feedback
.
ErrGeneric
)
feedback
.
Fatal
(
tr
(
"Error listing
l
ibraries: %v"
,
err
),
feedback
.
ErrGeneric
)
}
}
libs
:=
[]
*
rpc
.
InstalledLibrary
{}
libs
:=
[]
*
rpc
.
InstalledLibrary
{}
...
...
internal/integrationtest/lib/lib_test.go
View file @
1962996b
...
@@ -393,7 +393,7 @@ func TestListExitCode(t *testing.T) {
...
@@ -393,7 +393,7 @@ func TestListExitCode(t *testing.T) {
// Verify lib list command fails because specified platform is not installed
// Verify lib list command fails because specified platform is not installed
_
,
stderr
,
err
=
cli
.
Run
(
"lib"
,
"list"
,
"-b"
,
"arduino:samd:mkr1000"
)
_
,
stderr
,
err
=
cli
.
Run
(
"lib"
,
"list"
,
"-b"
,
"arduino:samd:mkr1000"
)
require
.
Error
(
t
,
err
)
require
.
Error
(
t
,
err
)
require
.
Contains
(
t
,
string
(
stderr
),
"Error listing
L
ibraries: Unknown FQBN: platform arduino:samd is not installed"
)
require
.
Contains
(
t
,
string
(
stderr
),
"Error listing
l
ibraries: Unknown FQBN: platform arduino:samd is not installed"
)
_
,
_
,
err
=
cli
.
Run
(
"lib"
,
"install"
,
"AllThingsTalk LoRaWAN SDK"
)
_
,
_
,
err
=
cli
.
Run
(
"lib"
,
"install"
,
"AllThingsTalk LoRaWAN SDK"
)
require
.
NoError
(
t
,
err
)
require
.
NoError
(
t
,
err
)
...
@@ -401,7 +401,7 @@ func TestListExitCode(t *testing.T) {
...
@@ -401,7 +401,7 @@ func TestListExitCode(t *testing.T) {
// Verifies lib list command keeps failing
// Verifies lib list command keeps failing
_
,
stderr
,
err
=
cli
.
Run
(
"lib"
,
"list"
,
"-b"
,
"arduino:samd:mkr1000"
)
_
,
stderr
,
err
=
cli
.
Run
(
"lib"
,
"list"
,
"-b"
,
"arduino:samd:mkr1000"
)
require
.
Error
(
t
,
err
)
require
.
Error
(
t
,
err
)
require
.
Contains
(
t
,
string
(
stderr
),
"Error listing
L
ibraries: Unknown FQBN: platform arduino:samd is not installed"
)
require
.
Contains
(
t
,
string
(
stderr
),
"Error listing
l
ibraries: Unknown FQBN: platform arduino:samd is not installed"
)
_
,
_
,
err
=
cli
.
Run
(
"core"
,
"install"
,
"arduino:samd"
)
_
,
_
,
err
=
cli
.
Run
(
"core"
,
"install"
,
"arduino:samd"
)
require
.
NoError
(
t
,
err
)
require
.
NoError
(
t
,
err
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment