Unverified Commit 1962996b authored by Zachary Cushon's avatar Zachary Cushon Committed by GitHub

Fixed error message capitalization (#2048)

parent a58d5adb
...@@ -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 Libraries: %v" msgid "Error listing libraries: %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 Libraries: %v" msgid "Error searching for libraries: %v"
msgstr "" msgstr ""
#: cli/core/search.go:87 #: cli/core/search.go:87
......
...@@ -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 Libraries: %v" msgid "Error listing libraries: %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 Libraries: %v" msgid "Error searching for libraries: %v"
msgstr "" msgstr ""
#: cli/core/search.go:87 #: cli/core/search.go:87
......
...@@ -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 Libraries: %v" msgid "Error listing libraries: %v"
msgstr "Error listing Libraries: %v" msgstr "Error listing libraries: %v"
#: cli/board/listall.go:64 #: cli/board/listall.go:64
msgid "Error listing boards: %v" msgid "Error listing boards: %v"
......
...@@ -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 Libraries: %v" msgid "Error listing libraries: %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 Libraries: %v" msgid "Error searching for libraries: %v"
msgstr "" msgstr ""
#: cli/core/search.go:87 #: cli/core/search.go:87
......
...@@ -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 Libraries: %v" msgid "Error listing libraries: %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 Libraries: %v" msgid "Error searching for libraries: %v"
msgstr "" msgstr ""
#: cli/core/search.go:87 #: cli/core/search.go:87
......
...@@ -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 Libraries: %v" msgid "Error listing libraries: %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 Libraries: %v" msgid "Error searching for libraries: %v"
msgstr "" msgstr ""
#: cli/core/search.go:87 #: cli/core/search.go:87
......
...@@ -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 Libraries: %v" msgid "Error listing libraries: %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 Libraries: %v" msgid "Error searching for libraries: %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
......
...@@ -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
......
...@@ -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 Libraries: %v" msgid "Error listing libraries: %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 Libraries: %v" msgid "Error searching for libraries: %v"
msgstr "" msgstr ""
#: cli/core/search.go:87 #: cli/core/search.go:87
......
...@@ -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 Libraries: %v" msgid "Error listing libraries: %v"
msgstr "" msgstr ""
#: cli/board/listall.go:64 #: cli/board/listall.go:64
......
...@@ -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 Libraries: %v" msgid "Error listing libraries: %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 Libraries: %v" msgid "Error searching for libraries: %v"
msgstr "" msgstr ""
#: cli/core/search.go:87 #: cli/core/search.go:87
......
...@@ -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
......
...@@ -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 Libraries: %v" msgid "Error listing libraries: %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 Libraries: %v" msgid "Error searching for libraries: %v"
msgstr "" msgstr ""
#: cli/core/search.go:87 #: cli/core/search.go:87
......
...@@ -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 Libraries: %v" msgid "Error listing libraries: %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 Libraries: %v" msgid "Error searching for libraries: %v"
msgstr "" msgstr ""
#: cli/core/search.go:87 #: cli/core/search.go:87
......
...@@ -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 Libraries: %v" msgid "Error listing libraries: %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 Libraries: %v" msgid "Error searching for libraries: %v"
msgstr "" msgstr ""
#: cli/core/search.go:87 #: cli/core/search.go:87
......
...@@ -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 Libraries: %v", err), feedback.ErrGeneric) feedback.Fatal(tr("Error listing libraries: %v", err), feedback.ErrGeneric)
} }
libs := []*rpc.InstalledLibrary{} libs := []*rpc.InstalledLibrary{}
......
...@@ -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 Libraries: Unknown FQBN: platform arduino:samd is not installed") require.Contains(t, string(stderr), "Error listing libraries: 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 Libraries: Unknown FQBN: platform arduino:samd is not installed") require.Contains(t, string(stderr), "Error listing libraries: 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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment