diff --git a/arduino/libraries/librariesmanager/install.go b/arduino/libraries/librariesmanager/install.go index 5baa17e3d94..5a3db0ff646 100644 --- a/arduino/libraries/librariesmanager/install.go +++ b/arduino/libraries/librariesmanager/install.go @@ -29,49 +29,49 @@ import ( "github.com/arduino/arduino-cli/arduino/utils" paths "github.com/arduino/go-paths-helper" "github.com/codeclysm/extract/v3" - "github.com/sirupsen/logrus" + semver "go.bug.st/relaxed-semver" "gopkg.in/src-d/go-git.v4" "gopkg.in/src-d/go-git.v4/plumbing" ) -type alreadyInstalledError struct{} +// LibraryInstallPlan contains the main information required to perform a library +// install, like the path where the library should be installed and the library +// that is going to be replaced by the new one. +// This is the result of a call to InstallPrerequisiteCheck. +type LibraryInstallPlan struct { + // Name of the library to install + Name string -func (e *alreadyInstalledError) Error() string { - return tr("library already installed") -} + // Version of the library to install + Version *semver.Version -var ( - // ErrAlreadyInstalled is returned when a library is already installed and task - // cannot proceed. - ErrAlreadyInstalled = &alreadyInstalledError{} -) + // TargetPath is the path where the library should be installed. + TargetPath *paths.Path + + // ReplacedLib is the library that is going to be replaced by the new one. + ReplacedLib *libraries.Library + + // UpToDate is true if the library to install has the same version of the library we are going to replace. + UpToDate bool +} // InstallPrerequisiteCheck performs prequisite checks to install a library. It returns the // install path, where the library should be installed and the possible library that is already // installed on the same folder and it's going to be replaced by the new one. -func (lm *LibrariesManager) InstallPrerequisiteCheck(indexLibrary *librariesindex.Release, installLocation libraries.LibraryLocation) (*paths.Path, *libraries.Library, error) { - installDir := lm.getLibrariesDir(installLocation) - if installDir == nil { - if installLocation == libraries.User { - return nil, nil, fmt.Errorf(tr("User directory not set")) - } - return nil, nil, fmt.Errorf(tr("Builtin libraries directory not set")) +func (lm *LibrariesManager) InstallPrerequisiteCheck(name string, version *semver.Version, installLocation libraries.LibraryLocation) (*LibraryInstallPlan, error) { + installDir, err := lm.getLibrariesDir(installLocation) + if err != nil { + return nil, err } - name := indexLibrary.Library.Name libs := lm.FindByReference(&librariesindex.Reference{Name: name}, installLocation) - for _, lib := range libs { - if lib.Version != nil && lib.Version.Equal(indexLibrary.Version) { - return lib.InstallDir, nil, ErrAlreadyInstalled - } - } if len(libs) > 1 { libsDir := paths.NewPathList() for _, lib := range libs { libsDir.Add(lib.InstallDir) } - return nil, nil, &arduino.MultipleLibraryInstallDetected{ + return nil, &arduino.MultipleLibraryInstallDetected{ LibName: name, LibsDir: libsDir, Message: tr("Automatic library install can't be performed in this case, please manually remove all duplicates and retry."), @@ -79,22 +79,71 @@ func (lm *LibrariesManager) InstallPrerequisiteCheck(indexLibrary *librariesinde } var replaced *libraries.Library + var upToDate bool if len(libs) == 1 { - replaced = libs[0] + lib := libs[0] + replaced = lib + upToDate = lib.Version != nil && lib.Version.Equal(version) } - libPath := installDir.Join(utils.SanitizeName(indexLibrary.Library.Name)) - if replaced != nil && replaced.InstallDir.EquivalentTo(libPath) { - return libPath, replaced, nil - } else if libPath.IsDir() { - return nil, nil, fmt.Errorf(tr("destination dir %s already exists, cannot install"), libPath) + libPath := installDir.Join(utils.SanitizeName(name)) + if libPath.IsDir() { + if replaced == nil || !replaced.InstallDir.EquivalentTo(libPath) { + return nil, fmt.Errorf(tr("destination dir %s already exists, cannot install"), libPath) + } } - return libPath, replaced, nil + + return &LibraryInstallPlan{ + Name: name, + Version: version, + TargetPath: libPath, + ReplacedLib: replaced, + UpToDate: upToDate, + }, nil } // Install installs a library on the specified path. -func (lm *LibrariesManager) Install(indexLibrary *librariesindex.Release, libPath *paths.Path) error { - return indexLibrary.Resource.Install(lm.DownloadsDir, libPath.Parent(), libPath) +func (lm *LibrariesManager) Install(indexLibrary *librariesindex.Release, installPath *paths.Path) error { + return indexLibrary.Resource.Install(lm.DownloadsDir, installPath.Parent(), installPath) +} + +// importLibraryFromDirectory installs a library by copying it from the given directory. +func (lm *LibrariesManager) importLibraryFromDirectory(libPath *paths.Path, overwrite bool) error { + // Check if the library is valid and load metatada + if err := validateLibrary(libPath); err != nil { + return err + } + library, err := libraries.Load(libPath, libraries.User) + if err != nil { + return err + } + + // Check if the library is already installed and determine install path + installPlan, err := lm.InstallPrerequisiteCheck(library.Name, library.Version, libraries.User) + if err != nil { + return err + } + + if installPlan.UpToDate { + if !overwrite { + return fmt.Errorf(tr("library %s already installed"), installPlan.Name) + } + } + if installPlan.ReplacedLib != nil { + if !overwrite { + return fmt.Errorf(tr("Library %[1]s is already installed, but with a different version: %[2]s", installPlan.Name, installPlan.ReplacedLib)) + } + if err := lm.Uninstall(installPlan.ReplacedLib); err != nil { + return err + } + } + if installPlan.TargetPath.Exist() { + return fmt.Errorf("%s: %s", tr("destination directory already exists"), installPlan.TargetPath) + } + if err := libPath.CopyDirTo(installPlan.TargetPath); err != nil { + return fmt.Errorf("%s: %w", tr("copying library to destination directory:"), err) + } + return nil } // Uninstall removes a Library @@ -103,7 +152,7 @@ func (lm *LibrariesManager) Uninstall(lib *libraries.Library) error { return fmt.Errorf(tr("install directory not set")) } if err := lib.InstallDir.RemoveAll(); err != nil { - return fmt.Errorf(tr("removing lib directory: %s"), err) + return fmt.Errorf(tr("removing library directory: %s"), err) } alternatives := lm.Libraries[lib.Name] @@ -113,20 +162,15 @@ func (lm *LibrariesManager) Uninstall(lib *libraries.Library) error { } // InstallZipLib installs a Zip library on the specified path. -func (lm *LibrariesManager) InstallZipLib(ctx context.Context, archivePath string, overwrite bool) error { - libsDir := lm.getLibrariesDir(libraries.User) - if libsDir == nil { - return fmt.Errorf(tr("User directory not set")) - } - - tmpDir, err := paths.MkTempDir(paths.TempDir().String(), "arduino-cli-lib-") +func (lm *LibrariesManager) InstallZipLib(ctx context.Context, archivePath *paths.Path, overwrite bool) error { + // Clone library in a temporary directory + tmpDir, err := paths.MkTempDir("", "") if err != nil { return err } - // Deletes temp dir used to extract archive when finished defer tmpDir.RemoveAll() - file, err := os.Open(archivePath) + file, err := archivePath.Open() if err != nil { return err } @@ -138,58 +182,21 @@ func (lm *LibrariesManager) InstallZipLib(ctx context.Context, archivePath strin return fmt.Errorf(tr("extracting archive: %w"), err) } - paths, err := tmpDir.ReadDir() + libRootFiles, err := tmpDir.ReadDir() if err != nil { return err } - - // Ignores metadata from Mac OS X - paths.FilterOutPrefix("__MACOSX") - - if len(paths) > 1 { + libRootFiles.FilterOutPrefix("__MACOSX") // Ignores metadata from Mac OS X + if len(libRootFiles) > 1 { return fmt.Errorf(tr("archive is not valid: multiple files found in zip file top level")) } - - extractionPath := paths[0] - libraryName := extractionPath.Base() - - if err := validateLibrary(extractionPath); err != nil { - return err - } - - installPath := libsDir.Join(libraryName) - - if err := libsDir.MkdirAll(); err != nil { - return err - } - defer func() { - // Clean up install dir if installation failed - files, err := installPath.ReadDir() - if err == nil && len(files) == 0 { - installPath.RemoveAll() - } - }() - - // Delete library folder if already installed - if installPath.IsDir() { - if !overwrite { - return fmt.Errorf(tr("library %s already installed"), libraryName) - } - logrus. - WithField("library name", libraryName). - WithField("install path", installPath). - Trace("Deleting library") - installPath.RemoveAll() + if len(libRootFiles) == 0 { + return fmt.Errorf(tr("archive is not valid: no files found in zip file top level")) } + tmpInstallPath := libRootFiles[0] - logrus. - WithField("library name", libraryName). - WithField("install path", installPath). - WithField("zip file", archivePath). - Trace("Installing library") - - // Copy extracted library in the destination directory - if err := extractionPath.CopyDirTo(installPath); err != nil { + // Install extracted library in the destination directory + if err := lm.importLibraryFromDirectory(tmpInstallPath, overwrite); err != nil { return fmt.Errorf(tr("moving extracted archive to destination dir: %s"), err) } @@ -198,84 +205,50 @@ func (lm *LibrariesManager) InstallZipLib(ctx context.Context, archivePath strin // InstallGitLib installs a library hosted on a git repository on the specified path. func (lm *LibrariesManager) InstallGitLib(gitURL string, overwrite bool) error { - installDir := lm.getLibrariesDir(libraries.User) - if installDir == nil { - return fmt.Errorf(tr("User directory not set")) - } - - libraryName, ref, err := parseGitURL(gitURL) + gitLibraryName, ref, err := parseGitURL(gitURL) if err != nil { - logrus. - WithError(err). - Warn("Parsing git URL") return err } - // Deletes libraries folder if already installed - installPath := installDir.Join(libraryName) - if installPath.IsDir() { - if !overwrite { - return fmt.Errorf(tr("library %s already installed"), libraryName) - } - logrus. - WithField("library name", libraryName). - WithField("install path", installPath). - Trace("Deleting library") - installPath.RemoveAll() - } - if installPath.Exist() { - return fmt.Errorf(tr("could not create directory %s: a file with the same name exists!", installPath)) + // Clone library in a temporary directory + tmp, err := paths.MkTempDir("", "") + if err != nil { + return err } - - logrus. - WithField("library name", libraryName). - WithField("install path", installPath). - WithField("git url", gitURL). - Trace("Installing library") + defer tmp.RemoveAll() + tmpInstallPath := tmp.Join(gitLibraryName) depth := 1 if ref != "" { depth = 0 } - repo, err := git.PlainClone(installPath.String(), false, &git.CloneOptions{ + repo, err := git.PlainClone(tmpInstallPath.String(), false, &git.CloneOptions{ URL: gitURL, Depth: depth, Progress: os.Stdout, }) if err != nil { - logrus. - WithError(err). - Warn("Cloning git repository") return err } if ref != "" { if h, err := repo.ResolveRevision(ref); err != nil { - logrus. - WithError(err). - Warnf("Resolving revision %s", ref) return err } else if w, err := repo.Worktree(); err != nil { - logrus. - WithError(err). - Warn("Finding worktree") return err } else if err := w.Checkout(&git.CheckoutOptions{Hash: plumbing.NewHash(h.String())}); err != nil { - logrus. - WithError(err). - Warnf("Checking out %s", h) return err } } - if err := validateLibrary(installPath); err != nil { - // Clean up installation directory since this is not a valid library - installPath.RemoveAll() - return err + // We don't want the installed library to be a git repository thus we delete this folder + tmpInstallPath.Join(".git").RemoveAll() + + // Install extracted library in the destination directory + if err := lm.importLibraryFromDirectory(tmpInstallPath, overwrite); err != nil { + return fmt.Errorf(tr("moving extracted archive to destination dir: %s"), err) } - // We don't want the installed library to be a git repository thus we delete this folder - installPath.Join(".git").RemoveAll() return nil } diff --git a/arduino/libraries/librariesmanager/librariesmanager.go b/arduino/libraries/librariesmanager/librariesmanager.go index 9291db64117..30dbf69d644 100644 --- a/arduino/libraries/librariesmanager/librariesmanager.go +++ b/arduino/libraries/librariesmanager/librariesmanager.go @@ -16,6 +16,7 @@ package librariesmanager import ( + "errors" "fmt" "os" @@ -140,13 +141,20 @@ func (lm *LibrariesManager) RescanLibraries() []*status.Status { return statuses } -func (lm *LibrariesManager) getLibrariesDir(installLocation libraries.LibraryLocation) *paths.Path { +func (lm *LibrariesManager) getLibrariesDir(installLocation libraries.LibraryLocation) (*paths.Path, error) { for _, dir := range lm.LibrariesDir { if dir.Location == installLocation { - return dir.Path + return dir.Path, nil } } - return nil + switch installLocation { + case libraries.User: + return nil, errors.New(tr("user directory not set")) + case libraries.IDEBuiltIn: + return nil, errors.New(tr("built-in libraries directory not set")) + default: + return nil, fmt.Errorf("libraries directory not set: %s", installLocation.String()) + } } // LoadLibrariesFromDir loads all libraries in the given directory. Returns diff --git a/cli/board/details.go b/cli/board/details.go index a51957ac917..9a4143bc8ff 100644 --- a/cli/board/details.go +++ b/cli/board/details.go @@ -109,6 +109,7 @@ func (dr detailsResult) String() string { // ATmega328P (Old Bootloader) cpu=atmega328old // ATmega168 cpu=atmega168 t := table.New() + tab := table.New() addIfNotEmpty := func(label, content string) { if content != "" { t.AddRow(label, content) @@ -157,32 +158,34 @@ func (dr detailsResult) String() string { addIfNotEmpty(tr("Platform checksum:"), details.Platform.Checksum) t.AddRow() // get some space from above + + tab.SetColumnWidthMode(1, table.Average) for _, tool := range details.ToolsDependencies { - t.AddRow(tr("Required tool:"), tool.Packager+":"+tool.Name, tool.Version) + tab.AddRow(tr("Required tool:"), tool.Packager+":"+tool.Name, tool.Version) if showFullDetails { for _, sys := range tool.Systems { - t.AddRow("", tr("OS:"), sys.Host) - t.AddRow("", tr("File:"), sys.ArchiveFilename) - t.AddRow("", tr("Size (bytes):"), fmt.Sprint(sys.Size)) - t.AddRow("", tr("Checksum:"), sys.Checksum) - t.AddRow("", tr("URL:"), sys.Url) - t.AddRow() // get some space from above + tab.AddRow("", tr("OS:"), sys.Host) + tab.AddRow("", tr("File:"), sys.ArchiveFilename) + tab.AddRow("", tr("Size (bytes):"), fmt.Sprint(sys.Size)) + tab.AddRow("", tr("Checksum:"), sys.Checksum) + tab.AddRow("", tr("URL:"), sys.Url) + tab.AddRow() // get some space from above } } - t.AddRow() // get some space from above } + tab.AddRow() // get some space from above for _, option := range details.ConfigOptions { - t.AddRow(tr("Option:"), option.OptionLabel, "", option.Option) + tab.AddRow(tr("Option:"), option.OptionLabel, "", option.Option) for _, value := range option.Values { green := color.New(color.FgGreen) if value.Selected { - t.AddRow("", + tab.AddRow("", table.NewCell(value.ValueLabel, green), table.NewCell("✔", green), table.NewCell(option.Option+"="+value.Value, green)) } else { - t.AddRow("", + tab.AddRow("", value.ValueLabel, "", option.Option+"="+value.Value) @@ -190,10 +193,10 @@ func (dr detailsResult) String() string { } } - t.AddRow(tr("Programmers:"), tr("Id"), tr("Name")) + tab.AddRow(tr("Programmers:"), tr("ID"), tr("Name")) for _, programmer := range details.Programmers { - t.AddRow("", programmer.GetId(), programmer.GetName()) + tab.AddRow("", programmer.GetId(), programmer.GetName()) } - return t.Render() + return t.Render() + tab.Render() } diff --git a/cli/sketch/archive.go b/cli/sketch/archive.go index 66bd9107275..7e1058584e8 100644 --- a/cli/sketch/archive.go +++ b/cli/sketch/archive.go @@ -30,10 +30,10 @@ import ( "github.com/spf13/cobra" ) -var includeBuildDir bool - // initArchiveCommand creates a new `archive` command func initArchiveCommand() *cobra.Command { + var includeBuildDir, overwrite bool + archiveCommand := &cobra.Command{ Use: fmt.Sprintf("archive <%s> <%s>", tr("sketchPath"), tr("archivePath")), Short: tr("Creates a zip file containing all sketch files."), @@ -45,15 +45,16 @@ func initArchiveCommand() *cobra.Command { " " + os.Args[0] + " archive /home/user/Arduino/MySketch\n" + " " + os.Args[0] + " archive /home/user/Arduino/MySketch /home/user/MySketchArchive.zip", Args: cobra.MaximumNArgs(2), - Run: runArchiveCommand, + Run: func(cmd *cobra.Command, args []string) { runArchiveCommand(args, includeBuildDir, overwrite) }, } archiveCommand.Flags().BoolVar(&includeBuildDir, "include-build-dir", false, tr("Includes %s directory in the archive.", "build")) + archiveCommand.Flags().BoolVarP(&overwrite, "overwrite", "f", false, tr("Overwrites an already existing archive")) return archiveCommand } -func runArchiveCommand(cmd *cobra.Command, args []string) { +func runArchiveCommand(args []string, includeBuildDir bool, overwrite bool) { logrus.Info("Executing `arduino-cli sketch archive`") sketchPath := paths.New(".") @@ -73,6 +74,7 @@ func runArchiveCommand(cmd *cobra.Command, args []string) { SketchPath: sketchPath.String(), ArchivePath: archivePath, IncludeBuildDir: includeBuildDir, + Overwrite: overwrite, }) if err != nil { diff --git a/cli/sketch/new.go b/cli/sketch/new.go index b3a131acf04..6726bb67fbe 100644 --- a/cli/sketch/new.go +++ b/cli/sketch/new.go @@ -31,18 +31,23 @@ import ( ) func initNewCommand() *cobra.Command { + var overwrite bool + newCommand := &cobra.Command{ Use: "new", Short: tr("Create a new Sketch"), Long: tr("Create a new Sketch"), Example: " " + os.Args[0] + " sketch new MultiBlinker", Args: cobra.ExactArgs(1), - Run: runNewCommand, + Run: func(cmd *cobra.Command, args []string) { runNewCommand(args, overwrite) }, } + + newCommand.Flags().BoolVarP(&overwrite, "overwrite", "f", false, tr("Overwrites an existing .ino sketch.")) + return newCommand } -func runNewCommand(cmd *cobra.Command, args []string) { +func runNewCommand(args []string, overwrite bool) { logrus.Info("Executing `arduino-cli sketch new`") // Trim to avoid issues if user creates a sketch adding the .ino extesion to the name sketchName := args[0] @@ -56,6 +61,7 @@ func runNewCommand(cmd *cobra.Command, args []string) { Instance: nil, SketchName: sketchDirPath.Base(), SketchDir: sketchDirPath.Parent().String(), + Overwrite: overwrite, }) if err != nil { feedback.Errorf(tr("Error creating sketch: %v"), err) diff --git a/commands/lib/install.go b/commands/lib/install.go index 0a82c9d074d..f76d77a06d4 100644 --- a/commands/lib/install.go +++ b/commands/lib/install.go @@ -26,6 +26,7 @@ import ( "github.com/arduino/arduino-cli/arduino/libraries/librariesmanager" "github.com/arduino/arduino-cli/commands" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" + "github.com/arduino/go-paths-helper" "github.com/sirupsen/logrus" ) @@ -67,7 +68,7 @@ func LibraryInstall(ctx context.Context, req *rpc.LibraryInstallRequest, downloa } // Find the libReleasesToInstall to install - libReleasesToInstall := []*librariesindex.Release{} + libReleasesToInstall := map[*librariesindex.Release]*librariesmanager.LibraryInstallPlan{} for _, lib := range toInstall { libRelease, err := findLibraryIndexRelease(lm, &rpc.LibraryInstallRequest{ Name: lib.Name, @@ -76,79 +77,55 @@ func LibraryInstall(ctx context.Context, req *rpc.LibraryInstallRequest, downloa if err != nil { return err } - libReleasesToInstall = append(libReleasesToInstall, libRelease) - } - // Check if any of the libraries to install is already installed and remove it from the list - j := 0 - for i, libRelease := range libReleasesToInstall { - _, libReplaced, err := lm.InstallPrerequisiteCheck(libRelease, installLocation) - if errors.Is(err, librariesmanager.ErrAlreadyInstalled) { - taskCB(&rpc.TaskProgress{Message: tr("Already installed %s", libRelease), Completed: true}) - } else if err != nil { + installTask, err := lm.InstallPrerequisiteCheck(libRelease.Library.Name, libRelease.Version, installLocation) + if err != nil { return err - } else { - libReleasesToInstall[j] = libReleasesToInstall[i] - j++ } + if installTask.UpToDate { + taskCB(&rpc.TaskProgress{Message: tr("Already installed %s", libRelease), Completed: true}) + continue + } + if req.GetNoOverwrite() { - if libReplaced != nil { - return fmt.Errorf(tr("Library %[1]s is already installed, but with a different version: %[2]s", libRelease, libReplaced)) + if installTask.ReplacedLib != nil { + return fmt.Errorf(tr("Library %[1]s is already installed, but with a different version: %[2]s", libRelease, installTask.ReplacedLib)) } } + libReleasesToInstall[libRelease] = installTask } - libReleasesToInstall = libReleasesToInstall[:j] - didInstall := false - for _, libRelease := range libReleasesToInstall { + for libRelease, installTask := range libReleasesToInstall { if err := downloadLibrary(lm, libRelease, downloadCB, taskCB); err != nil { return err } - - if err := installLibrary(lm, libRelease, installLocation, taskCB); err != nil { - if errors.Is(err, librariesmanager.ErrAlreadyInstalled) { - continue - } else { - return err - } + if err := installLibrary(lm, libRelease, installTask, taskCB); err != nil { + return err } - didInstall = true } - if didInstall { - if err := commands.Init(&rpc.InitRequest{Instance: req.Instance}, nil); err != nil { - return err - } + if err := commands.Init(&rpc.InitRequest{Instance: req.Instance}, nil); err != nil { + return err } return nil } -func installLibrary(lm *librariesmanager.LibrariesManager, libRelease *librariesindex.Release, installLocation libraries.LibraryLocation, taskCB rpc.TaskProgressCB) error { +func installLibrary(lm *librariesmanager.LibrariesManager, libRelease *librariesindex.Release, installTask *librariesmanager.LibraryInstallPlan, taskCB rpc.TaskProgressCB) error { taskCB(&rpc.TaskProgress{Name: tr("Installing %s", libRelease)}) logrus.WithField("library", libRelease).Info("Installing library") - libPath, libReplaced, err := lm.InstallPrerequisiteCheck(libRelease, installLocation) - if errors.Is(err, librariesmanager.ErrAlreadyInstalled) { - taskCB(&rpc.TaskProgress{Message: tr("Already installed %s", libRelease), Completed: true}) - return err - } - - if err != nil { - return &arduino.FailedInstallError{Message: tr("Checking lib install prerequisites"), Cause: err} - } - if libReplaced != nil { + if libReplaced := installTask.ReplacedLib; libReplaced != nil { taskCB(&rpc.TaskProgress{Message: tr("Replacing %[1]s with %[2]s", libReplaced, libRelease)}) - } - - if err := lm.Install(libRelease, libPath); err != nil { - return &arduino.FailedLibraryInstallError{Cause: err} - } - if libReplaced != nil && !libReplaced.InstallDir.EquivalentTo(libPath) { if err := lm.Uninstall(libReplaced); err != nil { - return fmt.Errorf("%s: %s", tr("could not remove old library"), err) + return &arduino.FailedLibraryInstallError{ + Cause: fmt.Errorf("%s: %s", tr("could not remove old library"), err)} } } + if err := lm.Install(libRelease, installTask.TargetPath); err != nil { + return &arduino.FailedLibraryInstallError{Cause: err} + } + taskCB(&rpc.TaskProgress{Message: tr("Installed %s", libRelease), Completed: true}) return nil } @@ -156,7 +133,7 @@ func installLibrary(lm *librariesmanager.LibrariesManager, libRelease *libraries // ZipLibraryInstall FIXMEDOC func ZipLibraryInstall(ctx context.Context, req *rpc.ZipLibraryInstallRequest, taskCB rpc.TaskProgressCB) error { lm := commands.GetLibraryManager(req) - if err := lm.InstallZipLib(ctx, req.Path, req.Overwrite); err != nil { + if err := lm.InstallZipLib(ctx, paths.New(req.Path), req.Overwrite); err != nil { return &arduino.FailedLibraryInstallError{Cause: err} } taskCB(&rpc.TaskProgress{Message: tr("Library installed"), Completed: true}) diff --git a/commands/sketch/archive.go b/commands/sketch/archive.go index c353c670328..583ead6225a 100644 --- a/commands/sketch/archive.go +++ b/commands/sketch/archive.go @@ -66,8 +66,10 @@ func ArchiveSketch(ctx context.Context, req *rpc.ArchiveSketchRequest) (*rpc.Arc archivePath = paths.New(archivePath.String() + ".zip") } - if archivePath.Exist() { - return nil, &arduino.InvalidArgumentError{Message: tr("Archive already exists")} + if !req.Overwrite { + if archivePath.Exist() { + return nil, &arduino.InvalidArgumentError{Message: tr("Archive already exists")} + } } filesToZip, err := sketchPath.ReadDirRecursive() diff --git a/commands/sketch/new.go b/commands/sketch/new.go index 1aa97060363..b2871c48d95 100644 --- a/commands/sketch/new.go +++ b/commands/sketch/new.go @@ -17,6 +17,7 @@ package sketch import ( "context" + "errors" "github.com/arduino/arduino-cli/arduino" "github.com/arduino/arduino-cli/arduino/globals" @@ -47,6 +48,11 @@ func NewSketch(ctx context.Context, req *rpc.NewSketchRequest) (*rpc.NewSketchRe } sketchName := sketchDirPath.Base() sketchMainFilePath := sketchDirPath.Join(sketchName + globals.MainFileValidExtension) + if !req.Overwrite { + if sketchMainFilePath.Exist() { + return nil, &arduino.CantCreateSketchError{Cause: errors.New(tr(".ino file already exists"))} + } + } if err := sketchMainFilePath.WriteFile(emptySketch); err != nil { return nil, &arduino.CantCreateSketchError{Cause: err} } diff --git a/docs/UPGRADING.md b/docs/UPGRADING.md index cd8bb72d709..3ab8b55d26a 100644 --- a/docs/UPGRADING.md +++ b/docs/UPGRADING.md @@ -16,6 +16,29 @@ The `sketch.json` file is now completely ignored. The `cc.arduino.cli.commands.v1.BoardAttach` gRPC command has been removed. This feature is no longer available through gRPC. +### golang API change in `github.com/arduino/arduino-cli/arduino/libraries/librariesmanager.LibrariesManager` + +The following `LibrariesManager.InstallPrerequisiteCheck` methods have changed prototype, from: + +```go +func (lm *LibrariesManager) InstallPrerequisiteCheck(indexLibrary *librariesindex.Release, installLocation libraries.LibraryLocation) (*paths.Path, *libraries.Library, error) { ... } +func (lm *LibrariesManager) InstallZipLib(ctx context.Context, archivePath string, overwrite bool) error { ... } +``` + +to + +```go +func (lm *LibrariesManager) InstallPrerequisiteCheck(indexLibrary *librariesindex.Release, installLocation libraries.LibraryLocation) (*paths.Path, *libraries.Library, error) { ... } +func (lm *LibrariesManager) InstallZipLib(ctx context.Context, archivePath *paths.Path, overwrite bool) error { ... } +``` + +`InstallPrerequisiteCheck` now requires an explicit `name` and `version` instead of a `librariesindex.Release`, because +it can now be used to check any library, not only the libraries available in the index. Also the return value has +changed to a `LibraryInstallPlan` structure, it contains the same information as before (`TargetPath` and `ReplacedLib`) +plus `Name`, `Version`, and an `UpToDate` boolean flag. + +`InstallZipLib` method `archivePath` is now a `paths.Path` instead of a `string`. + ## 0.29.0 ### Removed gRPC API: `cc.arduino.cli.commands.v1.UpdateCoreLibrariesIndex`, `Outdated`, and `Upgrade` diff --git a/i18n/data/ar.po b/i18n/data/ar.po index 068a27ba067..ee02d260151 100644 --- a/i18n/data/ar.po +++ b/i18n/data/ar.po @@ -108,6 +108,10 @@ msgstr "" "flags الخاصة ب --git-url و --zip-path تسمح بتثبيت ملفات غير موثوقة , " "استخدمها على مسؤوليتك الخاصة" +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "نسخة جديدة من CLI متوافرة " @@ -141,7 +145,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "كل الانوية محدثة باخر اصدار مسبقا" -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "%s مثبت مسبقا" @@ -167,7 +171,7 @@ msgstr "" msgid "Architecture: %s" msgstr "المعمارية : %s" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "الارشيف موجود مسبقا" @@ -211,11 +215,7 @@ msgstr "عمليات نواة الاردوينو (Arduino core operations)" msgid "Arguments error: %v" msgstr "" -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "" @@ -252,15 +252,11 @@ msgstr "الملف الثنائي (Binary file) الذي تريد رفعه" msgid "Board Name" msgstr "اسم اللوحة" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "تم ايجاد اللوحة : %s" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "اسم اللوحة" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "نسخة اللوحة :" @@ -274,10 +270,6 @@ msgstr "" "Builds الخاصة ب 'core.a' تحفظ في هذا المسار و سيتم وضعها في الكاش و سيعاد " "استخدامها" -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "تعذر انشاء مسار البيانات %s" @@ -339,10 +331,6 @@ msgstr "تعذر انشاء ملف temp" msgid "Cannot execute debug tool" msgstr "تعذر تشغيل اداة debug" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "تعذر تصدير البيانات الوصفية -metadata- للمشروع " - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "تعذر ايجاد المسار المطلق : %v" @@ -371,17 +359,13 @@ msgstr "الفئة : %s" msgid "Check dependencies status for the specified library." msgstr "التحقق من حالة التبعيات (dependencies) للمكتبة المختارة" -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "جار التحقق من المتطلبات الاساسية لتثبيت المكتبات" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "" "المجموع الاختباري (Checksum) لا يتطابق مع المجموع الاختباري (checksum) " "الموجود في package.json " -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "المجموع الاختباري (Checksum) :" @@ -478,7 +462,7 @@ msgstr "تعذر معرفة حجم البرنامج" msgid "Couldn't get current working directory: %v" msgstr "تعذر ايجاد المسار الحالي %v" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "انشاء مشروع جديد" @@ -531,7 +515,7 @@ msgstr "مترجم التصحيح على سبيل المثال : %s" msgid "Debugging not supported for board %s" msgstr "تصحيح الاخطاء (Debugging) غير مدعوم للوحة %s" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "تصحيح الاخطاء (Debugging) مدعوم :" @@ -539,6 +523,14 @@ msgstr "تصحيح الاخطاء (Debugging) مدعوم :" msgid "Default" msgstr "إفتراضي" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "حذف كاش التحميلات (download cache) الخاص بمدير اللوحات/المكتبات" @@ -672,7 +664,7 @@ msgid "Enter git url for libraries hosted on repositories" msgstr "" "ادخل عنوان git URL الخاص بالمكتبات المستضافة على المستودعات (repositories)" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "" "خطأ اثناء اضافة الملف لارشيف المشروع (Error adding file to sketch archive)" @@ -681,11 +673,11 @@ msgstr "" msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "خطا اثناء ارشفة built core (caching) في %[1]s : %[2]s" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "خطا اثناء ارشفة :%v" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "" "خطا اثناء حساب مسار الملف النسبي (Error calculating relative file path)" @@ -707,11 +699,11 @@ msgstr "خطا اثناء انشاء النسخة %v" msgid "Error creating output dir" msgstr "خطا اثناء انشاء مسار الخرج" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "خطا اثناء انشاء ارشيف المشروع" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "خطأ اثناء انشاء المشروع : %v" @@ -756,7 +748,7 @@ msgstr "خطا اثناء تنزيل الاداة %s" msgid "Error during Debug: %v" msgstr "خطا اثناء التصحيح : %v" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "خطا اثناء اكتشاف FBQN : %v" @@ -813,10 +805,6 @@ msgstr "" msgid "Error getting board details: %v" msgstr "خطأ اثناء الحصول على معلومات اللوحة %v" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "خطأ اثناء الحصول من Arduino CLOUD" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "خطأ اثناء الحصول على المسار الحالي من اجل قاعدة بيانات الترجمة %s" @@ -829,7 +817,7 @@ msgstr "خطأ اثناء الحصول على المعلومات للمكتبة msgid "Error getting libraries info: %v" msgstr "خطا اثناء جلب بيانات المكتبة : %v" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "خطأ اثناء جلب البيانات الوصفية (metadata) للمنفذ : %v" @@ -919,7 +907,7 @@ msgstr "خطا اثناء قراءة مسار البناء" msgid "Error reading config file: %v" msgstr "خطا اثناء قراءة ملف التهيئة : %v" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "خطا اثناء قراءة ملفات المشروع" @@ -948,6 +936,10 @@ msgid "Error saving downloaded index signature" msgstr "" "خطأ اثناء حفظ توقيع الفهرس الذي تم تحميله (downloaded index signature)" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "خطا اثناء البحث عن اللوحات : %v" @@ -1036,12 +1028,12 @@ msgstr "الملف التنفيذي الذي سيتم تصحيحه (Executable t msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "توقعت وجود المشروع المترجم في المسار %s . لكنني وجدت ملفا بدلا عن ذلك" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "FQBN" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "FQBN:" @@ -1089,7 +1081,7 @@ msgstr "تعذر الاستماع على منفذ TCP : %s . العناوين ق msgid "Failed uploading" msgstr "تعذر الرفع" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "الملف : " @@ -1173,15 +1165,16 @@ msgstr "" msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "المتغيرات العامة تستخدم %[1]s بايت من الذاكرة المتغيرة." -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "" @@ -1207,12 +1200,12 @@ msgstr "" msgid "Installed" msgstr "تم التنصيب" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "تم تثبيت %s" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "جار تثبيت %s" @@ -1252,10 +1245,6 @@ msgid "" "Invalid Call : should show Help, but it is available only in TEXT mode." msgstr "" -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "FBQN غير صالح" @@ -1281,10 +1270,6 @@ msgstr "" msgid "Invalid data size regexp: %s" msgstr "" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "" @@ -1321,7 +1306,7 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "" @@ -1345,7 +1330,7 @@ msgstr "مهلة غير صالحة" msgid "Invalid version" msgstr "نسخة غير صالحة" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "" @@ -1376,7 +1361,8 @@ msgstr "الأخير" msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1408,7 +1394,7 @@ msgstr "" msgid "Library install failed" msgstr "فشل تثبيت المكتبة" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "المكتبة مثبتة" @@ -1537,7 +1523,7 @@ msgstr "اعدادات منفذ المراقبة " msgid "Multiple libraries were found for \"%[1]s\"" msgstr "العثور على عدة مكتبات لـ\"%[1]s\"" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "الاسم" @@ -1550,6 +1536,10 @@ msgstr "الاسم\"%s\"" msgid "No boards found." msgstr "لا يوجد اية لوحات" +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "لا توجد اية مكتبات" @@ -1582,10 +1572,6 @@ msgstr "لا يوجد مراقب متاح لبرتوكول المنفذ %s" msgid "No platforms matching your search." msgstr "ﻻ يوجد منصات تطابق بحثك" -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "لم يتم ايجاد مكتبات في %s" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "" @@ -1602,11 +1588,11 @@ msgstr "الذاكرة غير كافية؛ راجع %[1]s لنصائح حول ا msgid "Not used: %[1]s" msgstr "غير مستخدم : %[1]s" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "نظام التشغيل:" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "لوحة أردوينو الرسمية:" @@ -1614,7 +1600,7 @@ msgstr "لوحة أردوينو الرسمية:" msgid "Open a communication port with a board." msgstr "" -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "اختيار:" @@ -1658,28 +1644,36 @@ msgstr "" msgid "Overwrite existing config file." msgstr "" +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "" -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "" @@ -1751,31 +1745,31 @@ msgstr "" msgid "Platform ID is not correct" msgstr "" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "اسم ملف المنصة:" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "اسم المنصة:" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "" @@ -1844,7 +1838,7 @@ msgstr "" msgid "Programmer to use, e.g: atmel_ice" msgstr "" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "" @@ -1864,7 +1858,7 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "تبديل %[1]s ب %[2]s" @@ -1872,7 +1866,7 @@ msgstr "تبديل %[1]s ب %[2]s" msgid "Replacing platform %[1]s with %[2]s" msgstr "" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "" @@ -1914,10 +1908,6 @@ msgstr "" msgid "Searches for one or more libraries data." msgstr "" -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "" @@ -1930,6 +1920,12 @@ msgstr "" msgid "Sets a setting value." msgstr "" +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "" @@ -2021,7 +2017,7 @@ msgstr "" msgid "Shows version number of Arduino CLI." msgstr "" -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "" @@ -2031,7 +2027,7 @@ msgid "" "path" msgstr "" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "" @@ -2212,7 +2208,7 @@ msgstr "نوع" msgid "Types: %s" msgstr "الأنواع: %s" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "" @@ -2322,7 +2318,7 @@ msgid "" "Upload Arduino sketches. This does NOT compile the sketch prior to upload." msgstr "" -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" @@ -2330,7 +2326,7 @@ msgstr "" msgid "Upload port found on %s" msgstr "" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "" @@ -2371,12 +2367,6 @@ msgstr "" msgid "Used: %[1]s" msgstr "مستخدم : %[1]s" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2526,10 +2516,14 @@ msgstr "" "تشفير الارشيف يختلف عن تشفير الفهرس (archive hash differs from hash in " "index)" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "مسار الارشيف" @@ -2550,14 +2544,14 @@ msgstr "تعذر ايجاد الملف الثنائي (Binary file) داخل %s" msgid "board %s not found" msgstr "اللوحة %s غير موجودة" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "تعذر ايجاد اللوحة" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "اسم اللوحة" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2572,7 +2566,7 @@ msgstr "تعذر العثور على اخر اصدار من %s" msgid "can't find latest release of tool %s" msgstr "تعذر العثور على اخر اصدار من الاداة %s" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "تعذر ايحاد ملف المشروع الرئيسي داخل %s" @@ -2634,8 +2628,8 @@ msgstr "" msgid "computing hash: %s" msgstr "جار معالجة التشفير (computing hash) : %s" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" #: commands/upload/upload.go:623 @@ -2646,10 +2640,15 @@ msgstr "تعذر ايجاد ادوات صالحة للبناء (valid build arti msgid "could not overwrite" msgstr "" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "جار انشاء installed.json داخل %[1]s : %[2]s" @@ -2664,10 +2663,6 @@ msgstr "" "قسم البيانات تخطى الحجم المتوفر في اللوحة (data section exceeds available " "space in board)" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "جار فك تشفير البيانات الوصفية للمشروع (decoding sketch metadata) : %s" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "التبعية (dependency) '%s' غير متوفرة" @@ -2676,11 +2671,15 @@ msgstr "التبعية (dependency) '%s' غير متوفرة" msgid "destination already exists" msgstr "" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "المجلد غير موجود : %s" @@ -2708,7 +2707,7 @@ msgstr "تنزيل نسخة محددة (في هذه الحالة ستكون ال msgid "download the latest version of Arduino SAMD core." msgstr "تنزيل اخر نسخة من Arduino SAMD core" -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "" @@ -2720,11 +2719,7 @@ msgstr "جار تنزيل الاداة %[1]s : %[2]s" msgid "empty board identifier" msgstr "معرف اللوحة خالي (empty board identifier)" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "جار تشفير البيانات الوصفية للمشروع (encoding sketch metadata) : %s" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "خطا اثناء تحميل ملفات المشروع :" @@ -2736,16 +2731,16 @@ msgstr "تعذر فتح %s" msgid "error parsing value: %v" msgstr "" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "" "خطأ اثناء معالجة الرد من السيرفر (error processing response from server)" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "" @@ -2753,7 +2748,7 @@ msgstr "" msgid "extracting archive: %s" msgstr "جار استخراج الارشيف : %s" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "جار استخراج الارشيف : %w" @@ -2761,7 +2756,7 @@ msgstr "جار استخراج الارشيف : %w" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "تعذر تهيئة http client" @@ -2797,11 +2792,11 @@ msgstr "" msgid "for the specific version." msgstr "" -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "" @@ -2839,11 +2834,7 @@ msgstr "" msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "" @@ -2855,7 +2846,7 @@ msgstr "" msgid "installing platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "" @@ -2907,7 +2898,7 @@ msgstr "" msgid "invalid empty option found" msgstr "" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "" @@ -2919,7 +2910,7 @@ msgstr "" msgid "invalid item %s" msgstr "" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "" @@ -2935,11 +2926,11 @@ msgstr "" msgid "invalid option '%s'" msgstr "" -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "" @@ -2947,11 +2938,11 @@ msgstr "" msgid "invalid platform archive size: %s" msgstr "" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "" @@ -2979,7 +2970,7 @@ msgstr "" msgid "invalid version directory %s" msgstr "" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "" @@ -2991,20 +2982,15 @@ msgstr "" msgid "keywords" msgstr "" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "" @@ -3031,8 +3017,8 @@ msgstr "جار تحميل حزمة الادوات من %s" msgid "loading json index file %[1]s: %[2]s" msgstr "جار تحميل ملف json index %[1]s : %[2]s" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "جار تحميل المكتبة من %[1]s : %[2]s" @@ -3065,11 +3051,11 @@ msgstr "جار تحميل اصدار الاداة (tool release) في %s" msgid "looking for boards.txt in %s" msgstr "جار البحث عن boards.txt داخل %s" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "'%s' directive مفقود" @@ -3096,7 +3082,8 @@ msgstr "" msgid "monitor release not found: %s" msgstr "تعذر ايجاد اصدار المراقب : %s" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "جار نقل الارشيف الذي تم استخراجه الى مجلد الوجهة : %s" @@ -3105,7 +3092,7 @@ msgstr "جار نقل الارشيف الذي تم استخراجه الى مج msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "تم ايجاد اكثر من build artifacts : '%[1]s' و '%[2]s'" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "تم العثور على اكثر من ملف مشروع رئيسي main sketch file (%[1]v,%[2]v)" @@ -3125,7 +3112,7 @@ msgstr "" msgid "no sketch or build directory/file specified" msgstr "" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "" @@ -3137,7 +3124,7 @@ msgstr "" msgid "no upload port provided" msgstr "لم يتم تحديد اي منفذ للرفع" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "تعذر ايجاد اي مشروع صالح في %[2]s : %[1]sمفقود" @@ -3217,11 +3204,11 @@ msgstr "" msgid "pluggable discovery already added: %s" msgstr "" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "" @@ -3237,7 +3224,7 @@ msgstr "" msgid "reading %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "" @@ -3248,7 +3235,7 @@ msgstr "" msgid "reading directory %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "" @@ -3256,11 +3243,11 @@ msgstr "" msgid "reading file %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "" @@ -3284,10 +3271,6 @@ msgstr "" msgid "reading package root dir: %s" msgstr "" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "" @@ -3305,8 +3288,8 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 @@ -3337,11 +3320,11 @@ msgstr "" msgid "setting DTR to OFF" msgstr "" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "" @@ -3382,7 +3365,7 @@ msgstr "" msgid "the platform has no releases" msgstr "" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "" @@ -3420,7 +3403,7 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" @@ -3469,7 +3452,7 @@ msgstr "" msgid "unknown platform %s:%s" msgstr "" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "" @@ -3489,6 +3472,10 @@ msgstr "" msgid "uploading error: %s" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "" @@ -3497,10 +3484,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "" diff --git a/i18n/data/de.po b/i18n/data/de.po index e4d610c00ed..36434677a73 100644 --- a/i18n/data/de.po +++ b/i18n/data/de.po @@ -110,6 +110,10 @@ msgid "" "your own risk." msgstr "" +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "Eine neue Version von Arduino CLI ist verfügbar:" @@ -143,7 +147,7 @@ msgstr "Decknamen:" msgid "All the cores are already at the latest version" msgstr "Alle Kerne sind bereits auf der neuesten Version" -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "Bereits installiert %s" @@ -167,7 +171,7 @@ msgstr "Debug-Protokollierung an die angegebene Datei anhängen" msgid "Architecture: %s" msgstr "Architektur: %s" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "Archiv existiert bereits" @@ -211,11 +215,7 @@ msgstr "Arduino-Kern-Operationen." msgid "Arguments error: %v" msgstr "Argumentefehler: %v" -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "" @@ -252,15 +252,11 @@ msgstr "Binärdatei zum Hochladen." msgid "Board Name" msgstr "Platinenname" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "Platine gefunden: %s" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "Platinenname:" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "Platinenversion:" @@ -272,10 +268,6 @@ msgstr "Bootloader-Datei angegeben, aber nicht vorhanden: %[1]s" msgid "Builds of 'core.a' are saved into this path to be cached and reused." msgstr "" -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "Datenverzeichnis %s kann nicht erstellt werden" @@ -337,10 +329,6 @@ msgstr "Temporäre Datei kann nicht erstellt werden" msgid "Cannot execute debug tool" msgstr "" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "Sketch-Metadaten können nicht exportiert werden" - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "" @@ -369,15 +357,11 @@ msgstr "Kategorie: %s" msgid "Check dependencies status for the specified library." msgstr "" -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "Prüfsumme unterscheidet sich von der Prüfsumme in package.json" -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "Prüfsumme:" @@ -474,7 +458,7 @@ msgstr "Programmgröße konnte nicht ermittelt werden" msgid "Couldn't get current working directory: %v" msgstr "" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "Einen neuen Sketch erstellen" @@ -523,7 +507,7 @@ msgstr "Debug-Interpreter z.B.: %s" msgid "Debugging not supported for board %s" msgstr "" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "" @@ -531,6 +515,14 @@ msgstr "" msgid "Default" msgstr "Standard" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "" @@ -669,7 +661,7 @@ msgstr "Geben Sie einen Pfad zur ZIP-Datei an" msgid "Enter git url for libraries hosted on repositories" msgstr "" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "Fehler beim Hinzufügen einer Datei zum Sketch-Archiv" @@ -677,11 +669,11 @@ msgstr "Fehler beim Hinzufügen einer Datei zum Sketch-Archiv" msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "Fehler beim Archivieren: %v" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "Fehler beim Berechnen des relativen Dateipfads" @@ -702,11 +694,11 @@ msgstr "Fehler beim Erstellen der Instanz: %v" msgid "Error creating output dir" msgstr "Fehler beim Erstellen des Ausgabeverzeichnisses" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "Fehler beim Erstellen des Sketch-Archivs" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "Fehler beim Erstellen des Sketches: %v" @@ -751,7 +743,7 @@ msgstr "Fehler beim Herunterladen des Werkzeugs %s" msgid "Error during Debug: %v" msgstr "" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "" @@ -806,10 +798,6 @@ msgstr "Fehler beim Abrufen des absoluten Pfads des Sketch-Archivs" msgid "Error getting board details: %v" msgstr "Fehler beim Abrufen von Platinendetails: %v" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "Fehler beim Abrufen von Platineninformationen aus der Arduino Cloud" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "" @@ -822,7 +810,7 @@ msgstr "Fehler beim Abrufen von Informationen für die Bibliothek %s" msgid "Error getting libraries info: %v" msgstr "Fehler beim Abrufen von Bibliotheksinformationen: %v" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "Fehler beim Abrufen von Port-Metadaten: %v" @@ -911,7 +899,7 @@ msgstr "" msgid "Error reading config file: %v" msgstr "Fehler beim Lesen der Konfigurationsdatei: %v" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "Fehler beim Lesen von Sketch-Dateien" @@ -939,6 +927,10 @@ msgstr "Fehler beim Speichern des heruntergeladenen Index" msgid "Error saving downloaded index signature" msgstr "Fehler beim Speichern der heruntergeladenen Indexsignatur" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "Fehler bei der Suche nach Platinen: %v" @@ -1025,12 +1017,12 @@ msgstr "" msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "" @@ -1078,7 +1070,7 @@ msgstr "" msgid "Failed uploading" msgstr "Fehlgeschlagenes Hochladen" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "Datei:" @@ -1158,15 +1150,16 @@ msgstr "" msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Globale Variablen verwenden %[1]s Bytes des dynamischen Speichers." -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "Identifikationseigenschaften:" @@ -1194,12 +1187,12 @@ msgstr "" msgid "Installed" msgstr "Installiert" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "%s installiert" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "%s wird installiert" @@ -1239,10 +1232,6 @@ msgid "" "Invalid Call : should show Help, but it is available only in TEXT mode." msgstr "" -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "Ungültiges Geräte-URL-Format" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "" @@ -1268,10 +1257,6 @@ msgstr "Ungültiges Argument übergeben: %v" msgid "Invalid data size regexp: %s" msgstr "" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "Ungültiger Geräte-Port-Typ angegeben" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "" @@ -1308,7 +1293,7 @@ msgstr "Ungültiger Paketindex in %s" msgid "Invalid parameter %s: version not allowed" msgstr "Ungültiger Parameter %s: Version nicht erlaubt" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "" @@ -1332,7 +1317,7 @@ msgstr "Ungültige Zeitbeschränkung: %s" msgid "Invalid version" msgstr "Ungültige Version" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "" @@ -1363,7 +1348,8 @@ msgstr "Neueste" msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1395,7 +1381,7 @@ msgstr "" msgid "Library install failed" msgstr "" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "Bibliothek installiert" @@ -1520,7 +1506,7 @@ msgstr "" msgid "Multiple libraries were found for \"%[1]s\"" msgstr "Mehrere Bibliotheken wurden für \"%[1]s\" gefunden" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "Name" @@ -1533,6 +1519,10 @@ msgstr "" msgid "No boards found." msgstr "Keine Platinen gefunden." +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "Keine Bibliotheken gefunden." @@ -1565,10 +1555,6 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "" @@ -1587,11 +1573,11 @@ msgstr "" msgid "Not used: %[1]s" msgstr "Nicht benutzt: %[1]s" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "BS:" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "" @@ -1599,7 +1585,7 @@ msgstr "" msgid "Open a communication port with a board." msgstr "Einen Kommunikations-Port mit einer Platine öffnen." -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "Option:" @@ -1641,28 +1627,36 @@ msgstr "" msgid "Overwrite existing config file." msgstr "" +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "PAKETIERER" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "Paket-URL:" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "" -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "Paketname:" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "" @@ -1734,31 +1728,31 @@ msgstr "" msgid "Platform ID is not correct" msgstr "" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "Plattform-URL:" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "Plattformarchitektur:" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "Plattformkategorie:" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "Plattformdateiname:" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "Plattformname:" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "Plattformgröße (Bytes):" @@ -1827,7 +1821,7 @@ msgstr "" msgid "Programmer to use, e.g: atmel_ice" msgstr "" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "" @@ -1847,7 +1841,7 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "" @@ -1855,7 +1849,7 @@ msgstr "" msgid "Replacing platform %[1]s with %[2]s" msgstr "" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "Erforderliches Werkzeug:" @@ -1897,10 +1891,6 @@ msgstr "" msgid "Searches for one or more libraries data." msgstr "" -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "" @@ -1913,6 +1903,12 @@ msgstr "" msgid "Sets a setting value." msgstr "" +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "" @@ -2004,7 +2000,7 @@ msgstr "" msgid "Shows version number of Arduino CLI." msgstr "" -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "Größe (Bytes):" @@ -2014,7 +2010,7 @@ msgid "" "path" msgstr "" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "Sketch erstellt in: %s" @@ -2195,7 +2191,7 @@ msgstr "Typ" msgid "Types: %s" msgstr "Typen: %s" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "URL:" @@ -2305,7 +2301,7 @@ msgid "" "Upload Arduino sketches. This does NOT compile the sketch prior to upload." msgstr "" -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" @@ -2313,7 +2309,7 @@ msgstr "" msgid "Upload port found on %s" msgstr "" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "" @@ -2354,12 +2350,6 @@ msgstr "" msgid "Used: %[1]s" msgstr "Benutzt: %[1]s" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2501,10 +2491,14 @@ msgstr "und" msgid "archive hash differs from hash in index" msgstr "" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "" @@ -2525,14 +2519,14 @@ msgstr "" msgid "board %s not found" msgstr "Platine %s nicht gefunden" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "Platine nicht gefunden" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "Platinenname" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2547,7 +2541,7 @@ msgstr "" msgid "can't find latest release of tool %s" msgstr "" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "" @@ -2607,8 +2601,8 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" #: commands/upload/upload.go:623 @@ -2619,10 +2613,15 @@ msgstr "" msgid "could not overwrite" msgstr "" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" @@ -2635,10 +2634,6 @@ msgstr "" msgid "data section exceeds available space in board" msgstr "Datenbereich überschreitet den verfügbaren Platz auf der Platine" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "" @@ -2647,11 +2642,15 @@ msgstr "" msgid "destination already exists" msgstr "" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "Verzeichnis existiert nicht: %s" @@ -2679,7 +2678,7 @@ msgstr "eine bestimmte Version herunterladen (in diesem Fall 1.6.9)." msgid "download the latest version of Arduino SAMD core." msgstr "" -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "heruntergeladen" @@ -2691,11 +2690,7 @@ msgstr "Werkzeug %[1]s wird heruntergeladen: %[2]s" msgid "empty board identifier" msgstr "leerer Platinenidentifikator" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "Sketch-Metadaten werden kodiert: %s" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "Fehler beim Laden der Sketch-Projektdatei:" @@ -2707,15 +2702,15 @@ msgstr "Fehler beim Öffnen von %s" msgid "error parsing value: %v" msgstr "" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "" @@ -2723,7 +2718,7 @@ msgstr "" msgid "extracting archive: %s" msgstr "Archiv wird extrahiert: %s" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "Archiv wird extrahiert: %w" @@ -2731,7 +2726,7 @@ msgstr "Archiv wird extrahiert: %w" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "" @@ -2767,11 +2762,11 @@ msgstr "für die neueste Version." msgid "for the specific version." msgstr "für die jeweilige Version." -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "" @@ -2809,11 +2804,7 @@ msgstr "" msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "Installationsverzeichnis nicht festgelegt" @@ -2825,7 +2816,7 @@ msgstr "Werkzeug %[1]s wird installiert: %[2]s" msgid "installing platform %[1]s: %[2]s" msgstr "Plattform %[1]s wird installiert: %[2]s" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "" @@ -2877,7 +2868,7 @@ msgstr "" msgid "invalid empty option found" msgstr "" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "" @@ -2889,7 +2880,7 @@ msgstr "" msgid "invalid item %s" msgstr "ungültiges Element %s" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "" @@ -2905,11 +2896,11 @@ msgstr "" msgid "invalid option '%s'" msgstr "" -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "" @@ -2917,11 +2908,11 @@ msgstr "" msgid "invalid platform archive size: %s" msgstr "ungültige Plattformarchivgröße: %s" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "ungültiger Plattformidentifikator" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "" @@ -2949,7 +2940,7 @@ msgstr "" msgid "invalid version directory %s" msgstr "" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "ungültige Version:" @@ -2961,20 +2952,15 @@ msgstr "" msgid "keywords" msgstr "Schlüsselwörter" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "Bibliothek %s bereits installiert" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "Bibliothek bereits installiert" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "Bibliothek nicht gültig" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "" @@ -3001,8 +2987,8 @@ msgstr "" msgid "loading json index file %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "" @@ -3035,11 +3021,11 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "" @@ -3063,7 +3049,8 @@ msgstr "" msgid "monitor release not found: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "" @@ -3072,7 +3059,7 @@ msgstr "" msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" @@ -3092,7 +3079,7 @@ msgstr "" msgid "no sketch or build directory/file specified" msgstr "" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "" @@ -3104,7 +3091,7 @@ msgstr "" msgid "no upload port provided" msgstr "" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" @@ -3184,11 +3171,11 @@ msgstr "" msgid "pluggable discovery already added: %s" msgstr "" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "Port" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "Port nicht gefunden: %[1]s %[2]s" @@ -3204,7 +3191,7 @@ msgstr "" msgid "reading %[1]s: %[2]s" msgstr "%[1]s wird gelesen: %[2]s" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "Verzeichnis %[1]s wird gelesen: %[2]s" @@ -3215,7 +3202,7 @@ msgstr "Verzeichnis %[1]s wird gelesen: %[2]s" msgid "reading directory %s" msgstr "Verzeichnis %s wird gelesen" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "" @@ -3223,11 +3210,11 @@ msgstr "" msgid "reading file %[1]s: %[2]s" msgstr "Datei %[1]s wird gelesen: %[2]s" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "Dateien werden gelesen: %v" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "" @@ -3251,10 +3238,6 @@ msgstr "" msgid "reading package root dir: %s" msgstr "" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "" @@ -3272,8 +3255,8 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 @@ -3304,11 +3287,11 @@ msgstr "" msgid "setting DTR to OFF" msgstr "" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "" @@ -3349,7 +3332,7 @@ msgstr "" msgid "the platform has no releases" msgstr "" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "" @@ -3387,7 +3370,7 @@ msgstr "" msgid "tool version %s not found" msgstr "Werkzeugversion %s nicht gefunden" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" @@ -3436,7 +3419,7 @@ msgstr "unbekanntes Paket %s" msgid "unknown platform %s:%s" msgstr "unbekannte Plattform %s:%s" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "" @@ -3456,6 +3439,10 @@ msgstr "" msgid "uploading error: %s" msgstr "Hochladefehler: %s" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "Version %s ist für dieses Betriebssystem nicht verfügbar" @@ -3464,10 +3451,6 @@ msgstr "Version %s ist für dieses Betriebssystem nicht verfügbar" msgid "version %s not found" msgstr "Version %s nicht gefunden" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "Sketch-Metadaten %[1]s werden geschrieben: %[2]s" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "falsches Format in der Serverantwort" diff --git a/i18n/data/es.po b/i18n/data/es.po index 101cc0c4e39..7d51f7e733e 100644 --- a/i18n/data/es.po +++ b/i18n/data/es.po @@ -111,6 +111,10 @@ msgstr "" "las banderas --git-url y --zip-path permiten instalar archivos no " "verificados, úsalo bajo tu propio riesgo." +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "Una nueva versión de Arduino CLI está disponible:" @@ -144,7 +148,7 @@ msgstr "Alias:" msgid "All the cores are already at the latest version" msgstr "Todos los núcleos están en su última versión" -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "Ya está instalado %s" @@ -168,7 +172,7 @@ msgstr "Registro de depuración añadido al archivo especificado" msgid "Architecture: %s" msgstr "Arquitectura: %s" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "El archivo ya existe" @@ -212,11 +216,7 @@ msgstr "Operaciones del núcleo Arduino" msgid "Arguments error: %v" msgstr "Errores en los argumentos: %v " -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "Error en la tarjeta conectada: %v" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "Conecta una tabla al diseño." @@ -253,15 +253,11 @@ msgstr "Archivo binario para cargar." msgid "Board Name" msgstr "Nombre de la placa" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "Placa encontrada: %s" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "Nombre de la placa:" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "Versión de la placa:" @@ -275,10 +271,6 @@ msgstr "" "La compilaciones de 'core.a' e guardan en esta ruta para ser cacheadas y " "reusadas" -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "No se puede crear el directorio de datos %s" @@ -340,10 +332,6 @@ msgstr "No se puede crear un archivo temporal" msgid "Cannot execute debug tool" msgstr "No se puede ejecutar la herramienta de depuración" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "No se puede exportar los metadatas del diseño" - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "No se puede encontrar la ruta absoluta: %v" @@ -372,15 +360,11 @@ msgstr "Categoría: %s" msgid "Check dependencies status for the specified library." msgstr "Comprueba el estado de las dependencias de la librería especificada." -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "Revisando los pre requisitos de instalación de la librería" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "El checksum difiere del checksum en package.json" -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "Checksum:" @@ -480,7 +464,7 @@ msgstr "No se pudo determinar el tamaño del programa" msgid "Couldn't get current working directory: %v" msgstr "No se ha podido obtener el directorio de trabajo actual: %v" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "Crear un nuevo Sketch" @@ -531,7 +515,7 @@ msgstr "Intérprete de depuración e.j.: %s" msgid "Debugging not supported for board %s" msgstr "Depuración no soportada para la tarjeta: %s" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "Debugging soportado:" @@ -539,6 +523,14 @@ msgstr "Debugging soportado:" msgid "Default" msgstr "Por defecto" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "" @@ -674,7 +666,7 @@ msgstr "Introduzca una ruta para el archivo zip" msgid "Enter git url for libraries hosted on repositories" msgstr "Introducir la url de git para librerías alojadas en repositorios" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "Error añadiendo sketch al archivo de sketch" @@ -682,11 +674,11 @@ msgstr "Error añadiendo sketch al archivo de sketch" msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "Error calculando la ruta de archivo relativa" @@ -707,11 +699,11 @@ msgstr "Error creando la instancia: %v" msgid "Error creating output dir" msgstr "Error al crear el directorio de salida" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "Error creando el archivo de sketch" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "Error creando el sketch: %v" @@ -756,7 +748,7 @@ msgstr "Error descargando la herramienta %s" msgid "Error during Debug: %v" msgstr "" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "" @@ -811,10 +803,6 @@ msgstr "Error obteniendo la ruta absoluta del archivo de sketch" msgid "Error getting board details: %v" msgstr "Error obteniendo los detalles de la placa: %v" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "Error obteniendo la información de la placa desde Arduino Cloud" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "" @@ -828,7 +816,7 @@ msgstr "Error obteniendo información para la librería %s" msgid "Error getting libraries info: %v" msgstr "Error obteniendo información de las librerías: %v" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "" @@ -917,7 +905,7 @@ msgstr "" msgid "Error reading config file: %v" msgstr "Error al leer el archivo de configuración: %v" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "Error leyendo los archivos del sketch" @@ -945,6 +933,10 @@ msgstr "" msgid "Error saving downloaded index signature" msgstr "" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "Error en la búsqueda de placas: %v" @@ -1031,12 +1023,12 @@ msgstr "" msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "FQBN" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "FQBN:" @@ -1084,7 +1076,7 @@ msgstr "" msgid "Failed uploading" msgstr "" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "Archivo:" @@ -1164,15 +1156,16 @@ msgstr "" msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Variables globales usan %[1]s bytes de memoria dinamica." -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "ID" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "Id" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "Propiedades de identificación:" @@ -1198,12 +1191,12 @@ msgstr "" msgid "Installed" msgstr "Instalado" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "Instalado %s" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "Instalando %s" @@ -1241,10 +1234,6 @@ msgid "" "Invalid Call : should show Help, but it is available only in TEXT mode." msgstr "" -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "FQBN inválido" @@ -1270,10 +1259,6 @@ msgstr "" msgid "Invalid data size regexp: %s" msgstr "" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "" @@ -1310,7 +1295,7 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "" @@ -1334,7 +1319,7 @@ msgstr "" msgid "Invalid version" msgstr "Versión inválida" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "" @@ -1365,7 +1350,8 @@ msgstr "Última" msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1395,7 +1381,7 @@ msgstr "" msgid "Library install failed" msgstr "" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "Librería instalada" @@ -1520,7 +1506,7 @@ msgstr "" msgid "Multiple libraries were found for \"%[1]s\"" msgstr "Se encontraron varias bibliotecas para \"%[1]s\"" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "Nombre" @@ -1533,6 +1519,10 @@ msgstr "Nombre: \"%s\"" msgid "No boards found." msgstr "No se encontraron placas." +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "No se encontraron las librerías." @@ -1565,10 +1555,6 @@ msgstr "" msgid "No platforms matching your search." msgstr "No hay plataformas que coincidan con su búsqueda." -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "No se ha encontrado ninguna placa compatible en %s" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "" @@ -1587,11 +1573,11 @@ msgstr "" msgid "Not used: %[1]s" msgstr "No utilizado: %[1]s" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "OS:" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "Placa oficial de Arduino:" @@ -1599,7 +1585,7 @@ msgstr "Placa oficial de Arduino:" msgid "Open a communication port with a board." msgstr "" -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "Opción:" @@ -1641,28 +1627,36 @@ msgstr "" msgid "Overwrite existing config file." msgstr "" +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "" -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "" @@ -1734,31 +1728,31 @@ msgstr "" msgid "Platform ID is not correct" msgstr "" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "" @@ -1827,7 +1821,7 @@ msgstr "" msgid "Programmer to use, e.g: atmel_ice" msgstr "" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "Programadores:" @@ -1847,7 +1841,7 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "" @@ -1855,7 +1849,7 @@ msgstr "" msgid "Replacing platform %[1]s with %[2]s" msgstr "" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "Herramienta requerida:" @@ -1899,10 +1893,6 @@ msgstr "" msgid "Searches for one or more libraries data." msgstr "" -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "FQBN seleccionado: %s" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "Sentencia: %s" @@ -1915,6 +1905,12 @@ msgstr "El servidor respondió con: %s" msgid "Sets a setting value." msgstr "" +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "" @@ -2008,7 +2004,7 @@ msgstr "" msgid "Shows version number of Arduino CLI." msgstr "" -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "Tamaño (bytes):" @@ -2018,7 +2014,7 @@ msgid "" "path" msgstr "" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "" @@ -2199,7 +2195,7 @@ msgstr "Tipo" msgid "Types: %s" msgstr "Tipos: %s" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "URL:" @@ -2311,7 +2307,7 @@ msgid "" "Upload Arduino sketches. This does NOT compile the sketch prior to upload." msgstr "" -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" @@ -2319,7 +2315,7 @@ msgstr "" msgid "Upload port found on %s" msgstr "" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "" @@ -2360,12 +2356,6 @@ msgstr "" msgid "Used: %[1]s" msgstr "Usado: %[1]s" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2505,10 +2495,14 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "" @@ -2529,14 +2523,14 @@ msgstr "" msgid "board %s not found" msgstr "" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "Placa no encontrada" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2551,7 +2545,7 @@ msgstr "" msgid "can't find latest release of tool %s" msgstr "" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "" @@ -2611,8 +2605,8 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" #: commands/upload/upload.go:623 @@ -2623,10 +2617,15 @@ msgstr "" msgid "could not overwrite" msgstr "" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" @@ -2639,10 +2638,6 @@ msgstr "" msgid "data section exceeds available space in board" msgstr "" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "" @@ -2651,11 +2646,15 @@ msgstr "" msgid "destination already exists" msgstr "" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "" @@ -2683,7 +2682,7 @@ msgstr "" msgid "download the latest version of Arduino SAMD core." msgstr "" -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "" @@ -2695,11 +2694,7 @@ msgstr "" msgid "empty board identifier" msgstr "identificador de placa vacío" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "" @@ -2711,15 +2706,15 @@ msgstr "" msgid "error parsing value: %v" msgstr "" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "" @@ -2727,7 +2722,7 @@ msgstr "" msgid "extracting archive: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "" @@ -2735,7 +2730,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "" @@ -2771,11 +2766,11 @@ msgstr "" msgid "for the specific version." msgstr "" -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "" @@ -2813,11 +2808,7 @@ msgstr "" msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "" @@ -2829,7 +2820,7 @@ msgstr "" msgid "installing platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "" @@ -2881,7 +2872,7 @@ msgstr "" msgid "invalid empty option found" msgstr "" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "" @@ -2893,7 +2884,7 @@ msgstr "" msgid "invalid item %s" msgstr "ítem inválido %s" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "" @@ -2909,11 +2900,11 @@ msgstr "" msgid "invalid option '%s'" msgstr "" -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "" @@ -2921,11 +2912,11 @@ msgstr "" msgid "invalid platform archive size: %s" msgstr "" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "" @@ -2953,7 +2944,7 @@ msgstr "" msgid "invalid version directory %s" msgstr "" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "" @@ -2965,20 +2956,15 @@ msgstr "" msgid "keywords" msgstr "Palabras clave" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "La librería ya está instalada" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "" @@ -3005,8 +2991,8 @@ msgstr "" msgid "loading json index file %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "" @@ -3039,11 +3025,11 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "" @@ -3067,7 +3053,8 @@ msgstr "" msgid "monitor release not found: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "" @@ -3076,7 +3063,7 @@ msgstr "" msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" @@ -3096,7 +3083,7 @@ msgstr "" msgid "no sketch or build directory/file specified" msgstr "" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "" @@ -3108,7 +3095,7 @@ msgstr "" msgid "no upload port provided" msgstr "" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" @@ -3188,11 +3175,11 @@ msgstr "" msgid "pluggable discovery already added: %s" msgstr "" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "" @@ -3208,7 +3195,7 @@ msgstr "" msgid "reading %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "" @@ -3219,7 +3206,7 @@ msgstr "" msgid "reading directory %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "" @@ -3227,11 +3214,11 @@ msgstr "" msgid "reading file %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "" @@ -3255,10 +3242,6 @@ msgstr "" msgid "reading package root dir: %s" msgstr "" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "" @@ -3276,8 +3259,8 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 @@ -3308,11 +3291,11 @@ msgstr "" msgid "setting DTR to OFF" msgstr "" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "" @@ -3353,7 +3336,7 @@ msgstr "" msgid "the platform has no releases" msgstr "" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "" @@ -3391,7 +3374,7 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" @@ -3440,7 +3423,7 @@ msgstr "" msgid "unknown platform %s:%s" msgstr "" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "" @@ -3460,6 +3443,10 @@ msgstr "" msgid "uploading error: %s" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "" @@ -3468,10 +3455,6 @@ msgstr "" msgid "version %s not found" msgstr "versión %s no encontrada" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "Escribiendo metadata del proyecto %[1]s: %[2]s" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "Error de formato en la respuesta del servidor" diff --git a/i18n/data/fr.po b/i18n/data/fr.po index 1f7be4436b9..ef6da5726b6 100644 --- a/i18n/data/fr.po +++ b/i18n/data/fr.po @@ -106,6 +106,10 @@ msgid "" "your own risk." msgstr "" +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "" @@ -139,7 +143,7 @@ msgstr "Alias :" msgid "All the cores are already at the latest version" msgstr "Tous les cœurs sont à jours vers la dernière version." -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "Déjà installé %s" @@ -163,7 +167,7 @@ msgstr "" msgid "Architecture: %s" msgstr "Architecture : %s" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "L'archive existe déjà" @@ -207,11 +211,7 @@ msgstr "" msgid "Arguments error: %v" msgstr "" -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "" @@ -248,15 +248,11 @@ msgstr "" msgid "Board Name" msgstr "" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "" @@ -268,10 +264,6 @@ msgstr "Fichier du bootloader spécifié mais absent: %[1]s" msgid "Builds of 'core.a' are saved into this path to be cached and reused." msgstr "" -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "" @@ -333,10 +325,6 @@ msgstr "Impossible de créer le fichier temporaire" msgid "Cannot execute debug tool" msgstr "" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "" - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "" @@ -365,15 +353,11 @@ msgstr "" msgid "Check dependencies status for the specified library." msgstr "" -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "" -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "" @@ -468,7 +452,7 @@ msgstr "" msgid "Couldn't get current working directory: %v" msgstr "" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "" @@ -517,7 +501,7 @@ msgstr "" msgid "Debugging not supported for board %s" msgstr "" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "" @@ -525,6 +509,14 @@ msgstr "" msgid "Default" msgstr "Défaut" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "" @@ -655,7 +647,7 @@ msgstr "" msgid "Enter git url for libraries hosted on repositories" msgstr "" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "" @@ -663,11 +655,11 @@ msgstr "" msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "" @@ -688,11 +680,11 @@ msgstr "" msgid "Error creating output dir" msgstr "" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "" @@ -737,7 +729,7 @@ msgstr "" msgid "Error during Debug: %v" msgstr "" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "" @@ -792,10 +784,6 @@ msgstr "" msgid "Error getting board details: %v" msgstr "" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "" @@ -808,7 +796,7 @@ msgstr "" msgid "Error getting libraries info: %v" msgstr "" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "" @@ -897,7 +885,7 @@ msgstr "" msgid "Error reading config file: %v" msgstr "" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "" @@ -925,6 +913,10 @@ msgstr "" msgid "Error saving downloaded index signature" msgstr "" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "" @@ -1011,12 +1003,12 @@ msgstr "" msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "" @@ -1064,7 +1056,7 @@ msgstr "" msgid "Failed uploading" msgstr "" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "" @@ -1145,15 +1137,16 @@ msgstr "" msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Les variables globales utilisent %[1]s octets de mémoire dynamique." -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "" @@ -1179,12 +1172,12 @@ msgstr "" msgid "Installed" msgstr "Installé" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "" @@ -1222,10 +1215,6 @@ msgid "" "Invalid Call : should show Help, but it is available only in TEXT mode." msgstr "" -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "" @@ -1251,10 +1240,6 @@ msgstr "" msgid "Invalid data size regexp: %s" msgstr "" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "" @@ -1291,7 +1276,7 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "" @@ -1315,7 +1300,7 @@ msgstr "" msgid "Invalid version" msgstr "" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "" @@ -1346,7 +1331,8 @@ msgstr "" msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1376,7 +1362,7 @@ msgstr "" msgid "Library install failed" msgstr "" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "" @@ -1502,7 +1488,7 @@ msgstr "" msgid "Multiple libraries were found for \"%[1]s\"" msgstr "Plusieurs bibliothèque trouvées pour \"%[1]s\"" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "" @@ -1515,6 +1501,10 @@ msgstr "" msgid "No boards found." msgstr "" +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "" @@ -1545,10 +1535,6 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "" @@ -1567,11 +1553,11 @@ msgstr "" msgid "Not used: %[1]s" msgstr "Non utilisé: %[1]s" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "" @@ -1579,7 +1565,7 @@ msgstr "" msgid "Open a communication port with a board." msgstr "" -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "" @@ -1621,28 +1607,36 @@ msgstr "" msgid "Overwrite existing config file." msgstr "" +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "" -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "" @@ -1714,31 +1708,31 @@ msgstr "" msgid "Platform ID is not correct" msgstr "" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "" @@ -1807,7 +1801,7 @@ msgstr "" msgid "Programmer to use, e.g: atmel_ice" msgstr "" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "" @@ -1827,7 +1821,7 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "" @@ -1835,7 +1829,7 @@ msgstr "" msgid "Replacing platform %[1]s with %[2]s" msgstr "" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "" @@ -1877,10 +1871,6 @@ msgstr "" msgid "Searches for one or more libraries data." msgstr "" -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "" @@ -1893,6 +1883,12 @@ msgstr "" msgid "Sets a setting value." msgstr "" +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "" @@ -1984,7 +1980,7 @@ msgstr "" msgid "Shows version number of Arduino CLI." msgstr "" -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "" @@ -1994,7 +1990,7 @@ msgid "" "path" msgstr "" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "" @@ -2173,7 +2169,7 @@ msgstr "" msgid "Types: %s" msgstr "" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "" @@ -2283,7 +2279,7 @@ msgid "" "Upload Arduino sketches. This does NOT compile the sketch prior to upload." msgstr "" -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" @@ -2291,7 +2287,7 @@ msgstr "" msgid "Upload port found on %s" msgstr "" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "" @@ -2332,12 +2328,6 @@ msgstr "" msgid "Used: %[1]s" msgstr "Utilisé: %[1]s" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2480,10 +2470,14 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "" @@ -2504,14 +2498,14 @@ msgstr "" msgid "board %s not found" msgstr "" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2526,7 +2520,7 @@ msgstr "" msgid "can't find latest release of tool %s" msgstr "" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "" @@ -2586,8 +2580,8 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" #: commands/upload/upload.go:623 @@ -2598,10 +2592,15 @@ msgstr "" msgid "could not overwrite" msgstr "" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" @@ -2614,10 +2613,6 @@ msgstr "" msgid "data section exceeds available space in board" msgstr "" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "" @@ -2626,11 +2621,15 @@ msgstr "" msgid "destination already exists" msgstr "" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "" @@ -2658,7 +2657,7 @@ msgstr "" msgid "download the latest version of Arduino SAMD core." msgstr "" -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "" @@ -2670,11 +2669,7 @@ msgstr "" msgid "empty board identifier" msgstr "" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "" @@ -2686,15 +2681,15 @@ msgstr "" msgid "error parsing value: %v" msgstr "" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "" @@ -2702,7 +2697,7 @@ msgstr "" msgid "extracting archive: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "" @@ -2710,7 +2705,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "" @@ -2746,11 +2741,11 @@ msgstr "" msgid "for the specific version." msgstr "" -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "" @@ -2788,11 +2783,7 @@ msgstr "" msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "" @@ -2804,7 +2795,7 @@ msgstr "" msgid "installing platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "" @@ -2856,7 +2847,7 @@ msgstr "" msgid "invalid empty option found" msgstr "" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "" @@ -2868,7 +2859,7 @@ msgstr "" msgid "invalid item %s" msgstr "" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "" @@ -2884,11 +2875,11 @@ msgstr "" msgid "invalid option '%s'" msgstr "" -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "" @@ -2896,11 +2887,11 @@ msgstr "" msgid "invalid platform archive size: %s" msgstr "" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "" @@ -2928,7 +2919,7 @@ msgstr "" msgid "invalid version directory %s" msgstr "" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "" @@ -2940,20 +2931,15 @@ msgstr "" msgid "keywords" msgstr "" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "" @@ -2980,8 +2966,8 @@ msgstr "" msgid "loading json index file %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "" @@ -3014,11 +3000,11 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "" @@ -3042,7 +3028,8 @@ msgstr "" msgid "monitor release not found: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "" @@ -3051,7 +3038,7 @@ msgstr "" msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" @@ -3071,7 +3058,7 @@ msgstr "" msgid "no sketch or build directory/file specified" msgstr "" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "" @@ -3083,7 +3070,7 @@ msgstr "" msgid "no upload port provided" msgstr "" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" @@ -3163,11 +3150,11 @@ msgstr "" msgid "pluggable discovery already added: %s" msgstr "" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "" @@ -3183,7 +3170,7 @@ msgstr "" msgid "reading %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "" @@ -3194,7 +3181,7 @@ msgstr "" msgid "reading directory %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "" @@ -3202,11 +3189,11 @@ msgstr "" msgid "reading file %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "" @@ -3230,10 +3217,6 @@ msgstr "" msgid "reading package root dir: %s" msgstr "" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "" @@ -3251,8 +3234,8 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 @@ -3283,11 +3266,11 @@ msgstr "" msgid "setting DTR to OFF" msgstr "" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "" @@ -3328,7 +3311,7 @@ msgstr "" msgid "the platform has no releases" msgstr "" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "" @@ -3366,7 +3349,7 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" @@ -3415,7 +3398,7 @@ msgstr "paquet inconnu %s" msgid "unknown platform %s:%s" msgstr "plateforme inconnue %s:%s" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "extension de croquis inconnue '%s' " @@ -3435,6 +3418,10 @@ msgstr "tout mettre à jour tout vers la dernière version" msgid "uploading error: %s" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "" @@ -3443,10 +3430,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "" diff --git a/i18n/data/he.po b/i18n/data/he.po index 3fe599b0d62..7baaea13ce4 100644 --- a/i18n/data/he.po +++ b/i18n/data/he.po @@ -102,6 +102,10 @@ msgid "" "your own risk." msgstr "" +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "" @@ -135,7 +139,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "" -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "" @@ -159,7 +163,7 @@ msgstr "" msgid "Architecture: %s" msgstr "ארכיטקטורה: %s" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "" @@ -203,11 +207,7 @@ msgstr "" msgid "Arguments error: %v" msgstr "" -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "" @@ -244,15 +244,11 @@ msgstr "" msgid "Board Name" msgstr "" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "" @@ -264,10 +260,6 @@ msgstr "" msgid "Builds of 'core.a' are saved into this path to be cached and reused." msgstr "" -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "" @@ -329,10 +321,6 @@ msgstr "" msgid "Cannot execute debug tool" msgstr "" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "" - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "" @@ -361,15 +349,11 @@ msgstr "" msgid "Check dependencies status for the specified library." msgstr "" -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "" -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "" @@ -464,7 +448,7 @@ msgstr "" msgid "Couldn't get current working directory: %v" msgstr "" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "" @@ -513,7 +497,7 @@ msgstr "" msgid "Debugging not supported for board %s" msgstr "" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "" @@ -521,6 +505,14 @@ msgstr "" msgid "Default" msgstr "" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "" @@ -651,7 +643,7 @@ msgstr "" msgid "Enter git url for libraries hosted on repositories" msgstr "" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "" @@ -659,11 +651,11 @@ msgstr "" msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "" @@ -684,11 +676,11 @@ msgstr "" msgid "Error creating output dir" msgstr "" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "" @@ -733,7 +725,7 @@ msgstr "" msgid "Error during Debug: %v" msgstr "" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "" @@ -788,10 +780,6 @@ msgstr "" msgid "Error getting board details: %v" msgstr "" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "" @@ -804,7 +792,7 @@ msgstr "" msgid "Error getting libraries info: %v" msgstr "" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "" @@ -893,7 +881,7 @@ msgstr "" msgid "Error reading config file: %v" msgstr "" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "" @@ -921,6 +909,10 @@ msgstr "" msgid "Error saving downloaded index signature" msgstr "" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "" @@ -1007,12 +999,12 @@ msgstr "" msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "" @@ -1060,7 +1052,7 @@ msgstr "" msgid "Failed uploading" msgstr "" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "" @@ -1138,15 +1130,16 @@ msgstr "" msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "" -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "" @@ -1172,12 +1165,12 @@ msgstr "" msgid "Installed" msgstr "" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "" @@ -1215,10 +1208,6 @@ msgid "" "Invalid Call : should show Help, but it is available only in TEXT mode." msgstr "" -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "" @@ -1244,10 +1233,6 @@ msgstr "" msgid "Invalid data size regexp: %s" msgstr "" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "" @@ -1284,7 +1269,7 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "" @@ -1308,7 +1293,7 @@ msgstr "" msgid "Invalid version" msgstr "" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "" @@ -1339,7 +1324,8 @@ msgstr "" msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1369,7 +1355,7 @@ msgstr "" msgid "Library install failed" msgstr "" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "" @@ -1493,7 +1479,7 @@ msgstr "" msgid "Multiple libraries were found for \"%[1]s\"" msgstr "" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "" @@ -1506,6 +1492,10 @@ msgstr "" msgid "No boards found." msgstr "" +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "" @@ -1536,10 +1526,6 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "" @@ -1556,11 +1542,11 @@ msgstr "" msgid "Not used: %[1]s" msgstr "" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "" @@ -1568,7 +1554,7 @@ msgstr "" msgid "Open a communication port with a board." msgstr "" -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "" @@ -1610,28 +1596,36 @@ msgstr "" msgid "Overwrite existing config file." msgstr "" +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "" -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "" @@ -1703,31 +1697,31 @@ msgstr "" msgid "Platform ID is not correct" msgstr "" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "" @@ -1796,7 +1790,7 @@ msgstr "" msgid "Programmer to use, e.g: atmel_ice" msgstr "" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "" @@ -1816,7 +1810,7 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "" @@ -1824,7 +1818,7 @@ msgstr "" msgid "Replacing platform %[1]s with %[2]s" msgstr "" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "" @@ -1866,10 +1860,6 @@ msgstr "" msgid "Searches for one or more libraries data." msgstr "" -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "" @@ -1882,6 +1872,12 @@ msgstr "" msgid "Sets a setting value." msgstr "" +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "" @@ -1973,7 +1969,7 @@ msgstr "" msgid "Shows version number of Arduino CLI." msgstr "" -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "" @@ -1983,7 +1979,7 @@ msgid "" "path" msgstr "" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "" @@ -2160,7 +2156,7 @@ msgstr "" msgid "Types: %s" msgstr "" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "" @@ -2270,7 +2266,7 @@ msgid "" "Upload Arduino sketches. This does NOT compile the sketch prior to upload." msgstr "" -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" @@ -2278,7 +2274,7 @@ msgstr "" msgid "Upload port found on %s" msgstr "" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "" @@ -2319,12 +2315,6 @@ msgstr "" msgid "Used: %[1]s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2459,10 +2449,14 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "" @@ -2483,14 +2477,14 @@ msgstr "" msgid "board %s not found" msgstr "" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2505,7 +2499,7 @@ msgstr "" msgid "can't find latest release of tool %s" msgstr "" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "" @@ -2565,8 +2559,8 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" #: commands/upload/upload.go:623 @@ -2577,10 +2571,15 @@ msgstr "" msgid "could not overwrite" msgstr "" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" @@ -2593,10 +2592,6 @@ msgstr "" msgid "data section exceeds available space in board" msgstr "" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "" @@ -2605,11 +2600,15 @@ msgstr "" msgid "destination already exists" msgstr "" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "" @@ -2637,7 +2636,7 @@ msgstr "" msgid "download the latest version of Arduino SAMD core." msgstr "" -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "" @@ -2649,11 +2648,7 @@ msgstr "" msgid "empty board identifier" msgstr "" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "" @@ -2665,15 +2660,15 @@ msgstr "" msgid "error parsing value: %v" msgstr "" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "" @@ -2681,7 +2676,7 @@ msgstr "" msgid "extracting archive: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "" @@ -2689,7 +2684,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "" @@ -2725,11 +2720,11 @@ msgstr "" msgid "for the specific version." msgstr "" -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "" @@ -2767,11 +2762,7 @@ msgstr "" msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "" @@ -2783,7 +2774,7 @@ msgstr "" msgid "installing platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "" @@ -2835,7 +2826,7 @@ msgstr "" msgid "invalid empty option found" msgstr "" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "" @@ -2847,7 +2838,7 @@ msgstr "" msgid "invalid item %s" msgstr "" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "" @@ -2863,11 +2854,11 @@ msgstr "" msgid "invalid option '%s'" msgstr "" -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "" @@ -2875,11 +2866,11 @@ msgstr "" msgid "invalid platform archive size: %s" msgstr "" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "" @@ -2907,7 +2898,7 @@ msgstr "" msgid "invalid version directory %s" msgstr "" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "" @@ -2919,20 +2910,15 @@ msgstr "" msgid "keywords" msgstr "" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "" @@ -2959,8 +2945,8 @@ msgstr "" msgid "loading json index file %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "" @@ -2993,11 +2979,11 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "" @@ -3021,7 +3007,8 @@ msgstr "" msgid "monitor release not found: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "" @@ -3030,7 +3017,7 @@ msgstr "" msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" @@ -3050,7 +3037,7 @@ msgstr "" msgid "no sketch or build directory/file specified" msgstr "" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "" @@ -3062,7 +3049,7 @@ msgstr "" msgid "no upload port provided" msgstr "" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" @@ -3142,11 +3129,11 @@ msgstr "" msgid "pluggable discovery already added: %s" msgstr "" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "" @@ -3162,7 +3149,7 @@ msgstr "" msgid "reading %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "" @@ -3173,7 +3160,7 @@ msgstr "" msgid "reading directory %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "" @@ -3181,11 +3168,11 @@ msgstr "" msgid "reading file %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "" @@ -3209,10 +3196,6 @@ msgstr "" msgid "reading package root dir: %s" msgstr "" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "" @@ -3230,8 +3213,8 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 @@ -3262,11 +3245,11 @@ msgstr "" msgid "setting DTR to OFF" msgstr "" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "" @@ -3307,7 +3290,7 @@ msgstr "" msgid "the platform has no releases" msgstr "" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "" @@ -3345,7 +3328,7 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" @@ -3394,7 +3377,7 @@ msgstr "" msgid "unknown platform %s:%s" msgstr "" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "" @@ -3414,6 +3397,10 @@ msgstr "" msgid "uploading error: %s" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "" @@ -3422,10 +3409,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "" diff --git a/i18n/data/it_IT.po b/i18n/data/it_IT.po index 28ae1ebed86..6844d179bbc 100644 --- a/i18n/data/it_IT.po +++ b/i18n/data/it_IT.po @@ -114,6 +114,10 @@ msgstr "" "I flag --git-url e --zip-path consentono l'installazione di file non " "attendibili, utilizzateli a vostro rischio e pericolo." +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "È disponibile una nuova versione di Arduino CLI:" @@ -147,7 +151,7 @@ msgstr "Alias:" msgid "All the cores are already at the latest version" msgstr "Tutti i core sono già all'ultima versione" -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "Già installato %s" @@ -171,7 +175,7 @@ msgstr "Aggiungi il logging di debug al file specificato" msgid "Architecture: %s" msgstr "Architettura: %s" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "L'archivio è esistente" @@ -215,11 +219,7 @@ msgstr "Operazioni core Arduino" msgid "Arguments error: %v" msgstr "Errore di argomenti: %v" -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "Errore di connessione alla scheda: %v" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "Collega uno sketch ad una scheda." @@ -260,15 +260,11 @@ msgstr "File binario da caricare." msgid "Board Name" msgstr "Nome scheda" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "Scheda trovata: %s" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "Nome scheda:" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "Versione scheda:" @@ -282,10 +278,6 @@ msgstr "" "Le build di 'core.a' vengono salvate in questo percorso per essere " "memorizzate nella cache e riutilizzate." -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "La directory delle librerie integrate non è stata impostata" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "Non è possibile creare la directory dei dati %s" @@ -348,10 +340,6 @@ msgstr "Non è possibile creare il file temporaneo" msgid "Cannot execute debug tool" msgstr "Non è possibile eseguire lo strumento di debug" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "Non è possibile esportare i medatati dello sketch" - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "Percorso assoluto non trovato: %v" @@ -380,15 +368,11 @@ msgstr "Categoria: %s" msgid "Check dependencies status for the specified library." msgstr "Controllare lo stato delle dipendenze per la libreria specificata." -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "Controllo dei prerequisiti per installazione della lib" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "Il checksum è diverso dal checksum in package.json" -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "Checksum:" @@ -489,7 +473,7 @@ msgstr "Non è possibile determinare la dimensione del programma" msgid "Couldn't get current working directory: %v" msgstr "Impossibile ottenere la directory di lavoro corrente: %v" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "Crea un nuovo Sketch" @@ -544,7 +528,7 @@ msgstr "Interprete di debug, ad esempio: %s" msgid "Debugging not supported for board %s" msgstr "Debugging non supportato per la scheda %s" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "Debugging supportato:" @@ -552,6 +536,14 @@ msgstr "Debugging supportato:" msgid "Default" msgstr "Predefinito" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "Elimina la cache delle Schede/Gestire di download delle Librerie" @@ -690,7 +682,7 @@ msgstr "Immettere il percorso del file zip" msgid "Enter git url for libraries hosted on repositories" msgstr "Immettere l'url del git delle librerie ospitate nei repository" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "" "Si è verificato un errore durante l'aggiunta del file all'archivio dello " @@ -702,11 +694,11 @@ msgstr "" "Si è verificato un errore durante l'archiviazione del core compilato " "(caching) in %[1]s: %[2]s" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "Errore durante l'archiviazione: %v" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "" "Si è verificato un errore durante il calcolo del percorso relativo del file" @@ -729,12 +721,12 @@ msgid "Error creating output dir" msgstr "" "Si è verificato un errore durante la creazione della cartella di output" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "" "Si è verificato un errore durante la creazione dell'archivio dello sketch" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "Errore durante la creazione dello sketch: %v" @@ -781,7 +773,7 @@ msgstr "Errore durante il download del tool %s" msgid "Error during Debug: %v" msgstr "Errore durante il debug: %v" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "Si è verificato un errore durante il rilevamento FQBN: %v" @@ -841,12 +833,6 @@ msgstr "" msgid "Error getting board details: %v" msgstr "Impossibile ottenere i dettagli della scheda: %v" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "" -"Si è verificato un errore durante l'acquisizione delle informazioni sulla " -"scheda da Arduino Cloud" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "" @@ -863,7 +849,7 @@ msgstr "" msgid "Error getting libraries info: %v" msgstr "Impossibile ottenere le informazioni sulle librerie: %v" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "" "Si è verificato un errore durante l'acquisizione dei metadati della porta: " @@ -971,7 +957,7 @@ msgstr "" msgid "Error reading config file: %v" msgstr "Errore durante la lettura del file di configurazione: %v" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "Si è verificato un errore durante la lettura dei file degli sketch" @@ -1005,6 +991,10 @@ msgstr "" "Si è verificato un errore durante il salvataggio della firma dell'indice " "scaricato" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "Si è verificato un errore durante la ricerca delle schede: %v" @@ -1104,12 +1094,12 @@ msgstr "" "Ci si aspettava che lo sketch compilato fosse nella directory %s, invece è " "un file" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "FQBN" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "FQBN:" @@ -1160,7 +1150,7 @@ msgstr "Impossibile ascoltare sulla porta TCP: %s. L'indirizzo è già in uso." msgid "Failed uploading" msgstr "Caricamento non riuscito" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "File:" @@ -1247,15 +1237,16 @@ msgstr "" msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Le variabili globali usano %[1]s byte di memoria dinamica." -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "ID" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "Id" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "Proprietà identificative:" @@ -1284,12 +1275,12 @@ msgstr "Include %s directory nell'archivio." msgid "Installed" msgstr "Installato" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "Installato %s" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "Installazione %s" @@ -1329,10 +1320,6 @@ msgstr "" "Chiamata non valida: dovrebbe mostrare la guida, ma è disponibile solo in " "modalità testo." -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "Il formato URL del dispositivo non è valido" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "FQBN non è valido" @@ -1359,10 +1346,6 @@ msgstr "L' argomento passato non è valido: %v" msgid "Invalid data size regexp: %s" msgstr "La dimensione dei dati della regexp non è valida: %s" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "Tipo di porta del dispositivo non valido" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "La dimensione della eeprom della regexp non è valida: %s" @@ -1399,7 +1382,7 @@ msgstr "Indice del pacchetto non valido in %s" msgid "Invalid parameter %s: version not allowed" msgstr "Il parametro %s non è valido: versione non consentita" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "Il valore pid non è valido: '%s'" @@ -1423,7 +1406,7 @@ msgstr "Timeout non valido: %s" msgid "Invalid version" msgstr "Versione non è valida" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "Il valore di vid non è valido: '%s'" @@ -1456,7 +1439,8 @@ msgstr "Ultimo" msgid "Library %[1]s has been declared precompiled:" msgstr "La libreria %[1]s è stata dichiarata precompilata:" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1489,7 +1473,7 @@ msgstr "" msgid "Library install failed" msgstr "Impossibile installare la libreria" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "La libreria è stata installata" @@ -1623,7 +1607,7 @@ msgstr "Impostazioni sulla porta del monitor:" msgid "Multiple libraries were found for \"%[1]s\"" msgstr "Più di una libreria trovata per \"%[1]s\"" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "Nome" @@ -1636,6 +1620,10 @@ msgstr "Nome: \"%s\"" msgid "No boards found." msgstr "Nessuna scheda trovata." +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "Nessuna libreria trovata." @@ -1668,10 +1656,6 @@ msgstr "Nessun monitor disponibile per il protocollo della porta %s" msgid "No platforms matching your search." msgstr "Non ci sono piattaforme corrispondenti alla tua ricerca." -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "Non è stata trovata alcuna scheda supportata in %s" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "" @@ -1691,11 +1675,11 @@ msgstr "" msgid "Not used: %[1]s" msgstr "Non usata: %[1]s" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "Sistema Operativo:" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "Scheda Arduino ufficiale:" @@ -1703,7 +1687,7 @@ msgstr "Scheda Arduino ufficiale:" msgid "Open a communication port with a board." msgstr "Apre una porta di comunicazione con una scheda." -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "Opzione:" @@ -1755,28 +1739,36 @@ msgstr "" msgid "Overwrite existing config file." msgstr "Sovrascrivi la configurazione corrente del file." +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "PACKAGER" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "URL pacchetto:" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "Manutentore del pacchetto: " -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "Nome pacchetto:" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "Aiuto in linea del pacchetto:" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "Website pacchetto:" @@ -1856,31 +1848,31 @@ msgstr "ID piattaforma" msgid "Platform ID is not correct" msgstr "L' ID della piattaforma non è esatto" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "URL piattaforma:" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "Architettura della piattaforma:" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "Categoria della piattaforma:" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "Checksum della piattaforma:" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "Nome del file della piattaforma:" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "Nome piattaforma:" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "Dimensione della piattaforma (bytes):" @@ -1953,7 +1945,7 @@ msgstr "Nome del programmatore" msgid "Programmer to use, e.g: atmel_ice" msgstr "Programmatore da utilizzare, ad esempio: atmel_ice" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "Programmatori:" @@ -1973,7 +1965,7 @@ msgstr "La dotazione comprende: %s" msgid "Removes one or more values from a setting." msgstr "Rimuove uno o più valori da un'impostazione." -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "Sostituire %[1]s con %[2]s" @@ -1981,7 +1973,7 @@ msgstr "Sostituire %[1]s con %[2]s" msgid "Replacing platform %[1]s with %[2]s" msgstr "Sto sostituendo la piattaforma %[1]s con %[2]s" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "Tool richiesto:" @@ -2029,10 +2021,6 @@ msgstr "" msgid "Searches for one or more libraries data." msgstr "Cerca i dati di una o più librerie." -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "fqbn selezionato: %s" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "Frase: %s" @@ -2045,6 +2033,12 @@ msgstr "Il server ha risposto con: %s" msgid "Sets a setting value." msgstr "Imposta un valore di regolazione." +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "Imposta dove salvare il file di configurazione." @@ -2150,7 +2144,7 @@ msgstr "" msgid "Shows version number of Arduino CLI." msgstr "Mostra il numero di versione di Arduino CLI." -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "Dimensione (bytes):" @@ -2162,7 +2156,7 @@ msgstr "" "Lo sketch non si trova nel percorso di compilazione. Specificare un percorso" " di compilazione diverso" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "Sketch è stato creato in: %s" @@ -2368,7 +2362,7 @@ msgstr "Tipo" msgid "Types: %s" msgstr "Tipi: %s" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "URL:" @@ -2485,7 +2479,7 @@ msgstr "" "Carica gli sketch di Arduino. Questo NON compila lo sketch prima del " "caricamento." -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "Indirizzo della porta di caricamento, ad esempio: COM3 o /dev/ttyACM2" @@ -2493,7 +2487,7 @@ msgstr "Indirizzo della porta di caricamento, ad esempio: COM3 o /dev/ttyACM2" msgid "Upload port found on %s" msgstr "Porta di caricamento trovata su %s" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "Protocollo della porta di caricamento, ad esempio: seriale" @@ -2537,12 +2531,6 @@ msgstr "Piattaforma utilizzata" msgid "Used: %[1]s" msgstr "Usata: %[1]s" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "Directory utente non impostata" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "Utilizzo della scheda '%[1]s' dalla piattaforma nella cartella: %[2]s" @@ -2695,12 +2683,16 @@ msgstr "e" msgid "archive hash differs from hash in index" msgstr "L'hash dell'archivio è diverso dall'hash dell'indice" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" "l'archivio non è valido: sono stati trovati più file nel livello superiore " "del file zip" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "percorso dell'archivio" @@ -2721,14 +2713,14 @@ msgstr "file binario non trovato in %s" msgid "board %s not found" msgstr "la scheda %s non è stata trovata" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "scheda non trovata" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "nomescheda" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2743,7 +2735,7 @@ msgstr "Impossibile trovare l'ultima versione di %s" msgid "can't find latest release of tool %s" msgstr "Impossibile trovare l'ultima versione del tool %s" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "Impossibile trovare il file principale dello sketch in %s" @@ -2803,10 +2795,9 @@ msgstr "comunicazione fuori sincronia, atteso '%[1]s', ricevuto '%[2]s'" msgid "computing hash: %s" msgstr "calcolo dell'hash: %s" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" -"Impossibile creare la directory %s: esiste un file with lo stesso nome!" #: commands/upload/upload.go:623 msgid "could not find a valid build artifact" @@ -2816,10 +2807,15 @@ msgstr "impossibile trovare un artefatto di compilazione valido" msgid "could not overwrite" msgstr "impossibile sovrascrivere" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "Impossibile rimuovere la vecchia libreria" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "creazione di installed.json in %[1]s: %[2]s" @@ -2832,10 +2828,6 @@ msgstr "creazione di una directory temporanea per l'estrazione: %s" msgid "data section exceeds available space in board" msgstr "la sezione dati supera lo spazio disponibile nella scheda" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "decodifica dei metadati dello sketch: %s" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "la dipendenza '%s' non è disponibile" @@ -2844,12 +2836,16 @@ msgstr "la dipendenza '%s' non è disponibile" msgid "destination already exists" msgstr "la destinazione esiste già" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "" "La directory di destinazione %s esiste già, non è possibile installare" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "la directory non esiste: %s" @@ -2877,7 +2873,7 @@ msgstr "scarica una versione specifica (in questo caso la 1.6.9)." msgid "download the latest version of Arduino SAMD core." msgstr "scarica l'ultima versione del core SAMD di Arduino." -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "scaricato" @@ -2889,11 +2885,7 @@ msgstr "sto scaricando il tool %[1]s: %[2]s" msgid "empty board identifier" msgstr "identificativo della scheda vuoto" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "codifica dei metadati dello sketch: %s" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "" "si è verificato un errore durante il caricamento del file di progetto dello " @@ -2907,16 +2899,16 @@ msgstr "si è verificato un errore durante l'apertura di %s" msgid "error parsing value: %v" msgstr "valore di parsing dell'errore: %v" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "si è verificato un errore durante il parsing dei vincoli di versione" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "" "si è verificato un errore durante l'elaborazione della risposta del server" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "" "si è verificato un errore durante l'interrogazione di Arduino Cloud Api" @@ -2925,7 +2917,7 @@ msgstr "" msgid "extracting archive: %s" msgstr "estrazione dell'archivio: %s" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "estrazione dell'archivio: %w" @@ -2933,7 +2925,7 @@ msgstr "estrazione dell'archivio: %w" msgid "failed to compute hash of file \"%s\"" msgstr "Impossibile calcolare l'hash del file \"%s\"" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "Impossibile inizializzare il client http" @@ -2971,11 +2963,11 @@ msgstr "per la versione più recente." msgid "for the specific version." msgstr "per la specifica versione." -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "sto generando installation.id: %w" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "sto generando installation.secret: %w" @@ -3017,11 +3009,7 @@ msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" "sto recuperando le dipendenze dei tool per la piattaforma %[1]s: %[2]s" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "sto importando i metadati dello sketch: %s" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "La directory di installazione non è stata impostata" @@ -3033,7 +3021,7 @@ msgstr "Sto installando il tool %[1]s: %[2]s" msgid "installing platform %[1]s: %[2]s" msgstr "Sto installando la piattaforma %[1]s: %[2]s" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "la direttiva '%s' non è valida" @@ -3085,7 +3073,7 @@ msgstr "la versione della libreria vuota non è valida: %s" msgid "invalid empty option found" msgstr "è stata trovata un'opzione vuota non valida" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "url git non è valido" @@ -3097,7 +3085,7 @@ msgstr "hash non valido '%[1]s': %[2]s" msgid "invalid item %s" msgstr "elemento non valido %s" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "la direttiva della libreria non è valida:" @@ -3113,13 +3101,13 @@ msgstr "la posizione della libreria non è valida: %s" msgid "invalid option '%s'" msgstr "l'opzione '%s' non è valida" -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "" "il percorso della creazione della cartella di configurazione non è valido: " "%[1]s error: %[2]w" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "" "il percorso per la scrittura del file di inventario non è valido: %[1]s " @@ -3129,11 +3117,11 @@ msgstr "" msgid "invalid platform archive size: %s" msgstr "la dimensione dell'archivio della piattaforma non è valida: %s" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "l'identificatore della piattaforma non è valido" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "URL dell'indice della piattaforma non è valido:" @@ -3161,7 +3149,7 @@ msgstr "il valore '%[1]s' non è valido per l'opzione '%[2]s'" msgid "invalid version directory %s" msgstr "la directory della versione non è valida %s" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "la versione non è valida:" @@ -3173,20 +3161,15 @@ msgstr "la chiave non è stata trovata nelle impostazioni" msgid "keywords" msgstr "parole chiave" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "la libreria %s è già installata" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "la libreria è già installata" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "la libreria non è valida" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "il percorso della libreria non esiste: %s" @@ -3213,8 +3196,8 @@ msgstr "caricamento dei tool in dotazione da %s" msgid "loading json index file %[1]s: %[2]s" msgstr "caricamento del file indice json %[1]s: %[2]s" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "caricamento della libreria da %[1]s: %[2]s" @@ -3247,11 +3230,11 @@ msgstr "rilascio del tool di caricamento in %s" msgid "looking for boards.txt in %s" msgstr "sto cercando boards.txt in %s" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "il file principale manca dallo sketch: %s" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "Manca la direttiva '%s'" @@ -3277,7 +3260,8 @@ msgstr "" msgid "monitor release not found: %s" msgstr "release del monitor non è stata trovata: %s" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "sto spostando l'archivio estratto nella directory di destinazione: %s" @@ -3286,7 +3270,7 @@ msgstr "sto spostando l'archivio estratto nella directory di destinazione: %s" msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "sono stati trovati più artefatti di compilazione: '%[1]s' e '%[2]s'" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "Sono stati trovati più file di sketch principale (%[1]v, %[2]v)" @@ -3308,7 +3292,7 @@ msgstr "non è stata specificata alcuna istanza" msgid "no sketch or build directory/file specified" msgstr "non è stata specificata alcuna directory/file di sketch o di build" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "nessun file o directory di questo tipo" @@ -3322,7 +3306,7 @@ msgstr "" msgid "no upload port provided" msgstr "Non è stata fornita alcuna porta di upload" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "Non è stato trovato uno sketch valido in %[1]s: manca %[2]s" @@ -3402,11 +3386,11 @@ msgstr "utilizza invece --build-property." msgid "pluggable discovery already added: %s" msgstr "rilevamento collegabile già aggiunto: %s" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "porta" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "la porta non è stata trovata: %[1]s %[2]s" @@ -3423,7 +3407,7 @@ msgstr "la versione del protocollo non è supportata: richiesta 1, ottenuta %d" msgid "reading %[1]s: %[2]s" msgstr "lettura di %[1]s: %[2]s" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "lettura della directory %[1]s: %[2]s" @@ -3434,7 +3418,7 @@ msgstr "lettura della directory %[1]s: %[2]s" msgid "reading directory %s" msgstr "lettura cartella %s" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "lettura del contenuto della directory %s: %w" @@ -3442,11 +3426,11 @@ msgstr "lettura del contenuto della directory %s: %w" msgid "reading file %[1]s: %[2]s" msgstr "lettura del file %[1]s: %[2]s" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "Lettura dei file: %v" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "lettura del file di inventario: %w" @@ -3470,10 +3454,6 @@ msgstr "lettura di library_index.json: %s" msgid "reading package root dir: %s" msgstr "lettura della directory principale del pacchetto: %s" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "lettura dei metadati dello sketch %[1]s: %[2]s" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "scrittura non trovata '%s'" @@ -3491,9 +3471,9 @@ msgstr "il rilascio non può essere nullo" msgid "removing corrupted archive file: %s" msgstr "sto rimuovendo il file di archivio danneggiato: %s" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" -msgstr "sto rimuovendo la directory lib: %s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" +msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 msgid "removing platform files: %s" @@ -3524,11 +3504,11 @@ msgstr "ricerca nella directory principale del pacchetto: %s" msgid "setting DTR to OFF" msgstr "sto impostando DTR su OFF" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "il percorso dello sketch non è valido" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "percorso dello sketch" @@ -3569,7 +3549,7 @@ msgstr "il database di compilazione potrebbe essere incompleto o impreciso" msgid "the platform has no releases" msgstr "la piattaforma non ha rilasci" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "il server ha risposto con lo stato %s" @@ -3607,7 +3587,7 @@ msgstr "il rilascio del tool non è stato trovato: %s" msgid "tool version %s not found" msgstr "la versione %s del tool non è stata trovata" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" @@ -3659,7 +3639,7 @@ msgstr "pacchetto sconosciuto %s" msgid "unknown platform %s:%s" msgstr "piattaforma sconosciuta %s:%s" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "estensione sconosciuta per il file sketch \"%s\"" @@ -3679,6 +3659,10 @@ msgstr "aggiornare tutto con l'ultima versione disponibile" msgid "uploading error: %s" msgstr "errore durante il caricamento: %s" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "la versione %s non è disponibile per questo sistema operativo" @@ -3687,10 +3671,6 @@ msgstr "la versione %s non è disponibile per questo sistema operativo" msgid "version %s not found" msgstr "la versione %s non è stata trovata" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "scrittura dei metadata dello sketch %[1]s: %[2]s" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "formato errato nella risposta del server" diff --git a/i18n/data/ja.po b/i18n/data/ja.po index 8617ab2b3f6..3ade7fbce35 100644 --- a/i18n/data/ja.po +++ b/i18n/data/ja.po @@ -104,6 +104,10 @@ msgid "" "your own risk." msgstr "" +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "" @@ -137,7 +141,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "" -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "" @@ -161,7 +165,7 @@ msgstr "" msgid "Architecture: %s" msgstr "" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "" @@ -205,11 +209,7 @@ msgstr "" msgid "Arguments error: %v" msgstr "" -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "" @@ -246,15 +246,11 @@ msgstr "" msgid "Board Name" msgstr "" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "" @@ -266,10 +262,6 @@ msgstr "ブートローダのファイルが指定されましたが次が不足 msgid "Builds of 'core.a' are saved into this path to be cached and reused." msgstr "" -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "" @@ -331,10 +323,6 @@ msgstr "" msgid "Cannot execute debug tool" msgstr "" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "" - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "" @@ -363,15 +351,11 @@ msgstr "" msgid "Check dependencies status for the specified library." msgstr "" -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "" -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "" @@ -466,7 +450,7 @@ msgstr "" msgid "Couldn't get current working directory: %v" msgstr "" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "" @@ -515,7 +499,7 @@ msgstr "" msgid "Debugging not supported for board %s" msgstr "" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "" @@ -523,6 +507,14 @@ msgstr "" msgid "Default" msgstr "初期値" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "" @@ -653,7 +645,7 @@ msgstr "" msgid "Enter git url for libraries hosted on repositories" msgstr "" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "" @@ -661,11 +653,11 @@ msgstr "" msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "" @@ -686,11 +678,11 @@ msgstr "" msgid "Error creating output dir" msgstr "" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "" @@ -735,7 +727,7 @@ msgstr "" msgid "Error during Debug: %v" msgstr "" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "" @@ -790,10 +782,6 @@ msgstr "" msgid "Error getting board details: %v" msgstr "" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "" @@ -806,7 +794,7 @@ msgstr "" msgid "Error getting libraries info: %v" msgstr "" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "" @@ -895,7 +883,7 @@ msgstr "" msgid "Error reading config file: %v" msgstr "" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "" @@ -923,6 +911,10 @@ msgstr "" msgid "Error saving downloaded index signature" msgstr "" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "" @@ -1009,12 +1001,12 @@ msgstr "" msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "" @@ -1062,7 +1054,7 @@ msgstr "" msgid "Failed uploading" msgstr "" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "" @@ -1141,15 +1133,16 @@ msgstr "" msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "グローバル変数は%[1]sバイトのRAMを使用しています。" -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "" @@ -1175,12 +1168,12 @@ msgstr "" msgid "Installed" msgstr "インストール済" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "" @@ -1218,10 +1211,6 @@ msgid "" "Invalid Call : should show Help, but it is available only in TEXT mode." msgstr "" -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "" @@ -1247,10 +1236,6 @@ msgstr "" msgid "Invalid data size regexp: %s" msgstr "" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "" @@ -1287,7 +1272,7 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "" @@ -1311,7 +1296,7 @@ msgstr "" msgid "Invalid version" msgstr "" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "" @@ -1342,7 +1327,8 @@ msgstr "" msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1372,7 +1358,7 @@ msgstr "" msgid "Library install failed" msgstr "" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "" @@ -1496,7 +1482,7 @@ msgstr "" msgid "Multiple libraries were found for \"%[1]s\"" msgstr "「%[1]s」に対して複数のライブラリが見つかりました" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "" @@ -1509,6 +1495,10 @@ msgstr "" msgid "No boards found." msgstr "" +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "" @@ -1539,10 +1529,6 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "" @@ -1559,11 +1545,11 @@ msgstr "スケッチが使用するメモリが足りません。メモリを節 msgid "Not used: %[1]s" msgstr "未使用:%[1]s" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "" @@ -1571,7 +1557,7 @@ msgstr "" msgid "Open a communication port with a board." msgstr "" -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "" @@ -1613,28 +1599,36 @@ msgstr "" msgid "Overwrite existing config file." msgstr "" +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "" -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "" @@ -1706,31 +1700,31 @@ msgstr "" msgid "Platform ID is not correct" msgstr "" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "" @@ -1799,7 +1793,7 @@ msgstr "" msgid "Programmer to use, e.g: atmel_ice" msgstr "" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "" @@ -1819,7 +1813,7 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "" @@ -1827,7 +1821,7 @@ msgstr "" msgid "Replacing platform %[1]s with %[2]s" msgstr "" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "" @@ -1869,10 +1863,6 @@ msgstr "" msgid "Searches for one or more libraries data." msgstr "" -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "" @@ -1885,6 +1875,12 @@ msgstr "" msgid "Sets a setting value." msgstr "" +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "" @@ -1976,7 +1972,7 @@ msgstr "" msgid "Shows version number of Arduino CLI." msgstr "" -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "" @@ -1986,7 +1982,7 @@ msgid "" "path" msgstr "" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "" @@ -2163,7 +2159,7 @@ msgstr "タイプ" msgid "Types: %s" msgstr "" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "" @@ -2273,7 +2269,7 @@ msgid "" "Upload Arduino sketches. This does NOT compile the sketch prior to upload." msgstr "" -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" @@ -2281,7 +2277,7 @@ msgstr "" msgid "Upload port found on %s" msgstr "" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "" @@ -2322,12 +2318,6 @@ msgstr "" msgid "Used: %[1]s" msgstr "使用済:%[1]s" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2464,10 +2454,14 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "" @@ -2488,14 +2482,14 @@ msgstr "" msgid "board %s not found" msgstr "" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2510,7 +2504,7 @@ msgstr "" msgid "can't find latest release of tool %s" msgstr "" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "" @@ -2570,8 +2564,8 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" #: commands/upload/upload.go:623 @@ -2582,10 +2576,15 @@ msgstr "" msgid "could not overwrite" msgstr "" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" @@ -2598,10 +2597,6 @@ msgstr "" msgid "data section exceeds available space in board" msgstr "" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "" @@ -2610,11 +2605,15 @@ msgstr "" msgid "destination already exists" msgstr "" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "" @@ -2642,7 +2641,7 @@ msgstr "" msgid "download the latest version of Arduino SAMD core." msgstr "" -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "" @@ -2654,11 +2653,7 @@ msgstr "" msgid "empty board identifier" msgstr "" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "" @@ -2670,15 +2665,15 @@ msgstr "" msgid "error parsing value: %v" msgstr "" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "" @@ -2686,7 +2681,7 @@ msgstr "" msgid "extracting archive: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "" @@ -2694,7 +2689,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "" @@ -2730,11 +2725,11 @@ msgstr "" msgid "for the specific version." msgstr "" -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "" @@ -2772,11 +2767,7 @@ msgstr "" msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "" @@ -2788,7 +2779,7 @@ msgstr "" msgid "installing platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "" @@ -2840,7 +2831,7 @@ msgstr "" msgid "invalid empty option found" msgstr "" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "" @@ -2852,7 +2843,7 @@ msgstr "" msgid "invalid item %s" msgstr "" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "" @@ -2868,11 +2859,11 @@ msgstr "" msgid "invalid option '%s'" msgstr "" -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "" @@ -2880,11 +2871,11 @@ msgstr "" msgid "invalid platform archive size: %s" msgstr "" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "" @@ -2912,7 +2903,7 @@ msgstr "" msgid "invalid version directory %s" msgstr "" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "" @@ -2924,20 +2915,15 @@ msgstr "" msgid "keywords" msgstr "" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "" @@ -2964,8 +2950,8 @@ msgstr "" msgid "loading json index file %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "" @@ -2998,11 +2984,11 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "" @@ -3026,7 +3012,8 @@ msgstr "" msgid "monitor release not found: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "" @@ -3035,7 +3022,7 @@ msgstr "" msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" @@ -3055,7 +3042,7 @@ msgstr "" msgid "no sketch or build directory/file specified" msgstr "" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "" @@ -3067,7 +3054,7 @@ msgstr "" msgid "no upload port provided" msgstr "" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" @@ -3147,11 +3134,11 @@ msgstr "" msgid "pluggable discovery already added: %s" msgstr "" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "" @@ -3167,7 +3154,7 @@ msgstr "" msgid "reading %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "" @@ -3178,7 +3165,7 @@ msgstr "" msgid "reading directory %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "" @@ -3186,11 +3173,11 @@ msgstr "" msgid "reading file %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "" @@ -3214,10 +3201,6 @@ msgstr "" msgid "reading package root dir: %s" msgstr "" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "" @@ -3235,8 +3218,8 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 @@ -3267,11 +3250,11 @@ msgstr "" msgid "setting DTR to OFF" msgstr "" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "" @@ -3312,7 +3295,7 @@ msgstr "" msgid "the platform has no releases" msgstr "" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "" @@ -3350,7 +3333,7 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" @@ -3399,7 +3382,7 @@ msgstr "" msgid "unknown platform %s:%s" msgstr "" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "" @@ -3419,6 +3402,10 @@ msgstr "" msgid "uploading error: %s" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "" @@ -3427,10 +3414,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "" diff --git a/i18n/data/ko.po b/i18n/data/ko.po index cdbb75267d8..1e4f4f02c8f 100644 --- a/i18n/data/ko.po +++ b/i18n/data/ko.po @@ -102,6 +102,10 @@ msgid "" "your own risk." msgstr "" +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "" @@ -135,7 +139,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "" -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "" @@ -159,7 +163,7 @@ msgstr "" msgid "Architecture: %s" msgstr "" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "" @@ -203,11 +207,7 @@ msgstr "" msgid "Arguments error: %v" msgstr "" -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "" @@ -244,15 +244,11 @@ msgstr "" msgid "Board Name" msgstr "" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "" @@ -264,10 +260,6 @@ msgstr "부트로더 파일이 지정되었으나 누락됨: %[1]s" msgid "Builds of 'core.a' are saved into this path to be cached and reused." msgstr "" -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "" @@ -329,10 +321,6 @@ msgstr "" msgid "Cannot execute debug tool" msgstr "" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "" - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "" @@ -361,15 +349,11 @@ msgstr "" msgid "Check dependencies status for the specified library." msgstr "" -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "" -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "" @@ -464,7 +448,7 @@ msgstr "" msgid "Couldn't get current working directory: %v" msgstr "" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "" @@ -513,7 +497,7 @@ msgstr "" msgid "Debugging not supported for board %s" msgstr "" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "" @@ -521,6 +505,14 @@ msgstr "" msgid "Default" msgstr "디폴트" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "" @@ -651,7 +643,7 @@ msgstr "" msgid "Enter git url for libraries hosted on repositories" msgstr "" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "" @@ -659,11 +651,11 @@ msgstr "" msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "" @@ -684,11 +676,11 @@ msgstr "" msgid "Error creating output dir" msgstr "" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "" @@ -733,7 +725,7 @@ msgstr "" msgid "Error during Debug: %v" msgstr "" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "" @@ -788,10 +780,6 @@ msgstr "" msgid "Error getting board details: %v" msgstr "" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "" @@ -804,7 +792,7 @@ msgstr "" msgid "Error getting libraries info: %v" msgstr "" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "" @@ -893,7 +881,7 @@ msgstr "" msgid "Error reading config file: %v" msgstr "" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "" @@ -921,6 +909,10 @@ msgstr "" msgid "Error saving downloaded index signature" msgstr "" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "" @@ -1007,12 +999,12 @@ msgstr "" msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "" @@ -1060,7 +1052,7 @@ msgstr "" msgid "Failed uploading" msgstr "" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "" @@ -1139,15 +1131,16 @@ msgstr "" msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "전역 변수는 %[1]s 바이트의 동적 메모리를 사용." -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "" @@ -1173,12 +1166,12 @@ msgstr "" msgid "Installed" msgstr "설치됨" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "" @@ -1216,10 +1209,6 @@ msgid "" "Invalid Call : should show Help, but it is available only in TEXT mode." msgstr "" -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "" @@ -1245,10 +1234,6 @@ msgstr "" msgid "Invalid data size regexp: %s" msgstr "" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "" @@ -1285,7 +1270,7 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "" @@ -1309,7 +1294,7 @@ msgstr "" msgid "Invalid version" msgstr "" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "" @@ -1340,7 +1325,8 @@ msgstr "" msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1370,7 +1356,7 @@ msgstr "" msgid "Library install failed" msgstr "" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "" @@ -1494,7 +1480,7 @@ msgstr "" msgid "Multiple libraries were found for \"%[1]s\"" msgstr "\"%[1]s\"를 위한 복수개의 라이브러리가 발견되었습니다" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "" @@ -1507,6 +1493,10 @@ msgstr "" msgid "No boards found." msgstr "" +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "" @@ -1537,10 +1527,6 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "" @@ -1557,11 +1543,11 @@ msgstr "메모리가 충분하지 않음; 메모리를 줄이기 위한 팁을 msgid "Not used: %[1]s" msgstr "사용되지 않음: %[1]s" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "" @@ -1569,7 +1555,7 @@ msgstr "" msgid "Open a communication port with a board." msgstr "" -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "" @@ -1611,28 +1597,36 @@ msgstr "" msgid "Overwrite existing config file." msgstr "" +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "" -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "" @@ -1704,31 +1698,31 @@ msgstr "" msgid "Platform ID is not correct" msgstr "" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "" @@ -1797,7 +1791,7 @@ msgstr "" msgid "Programmer to use, e.g: atmel_ice" msgstr "" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "" @@ -1817,7 +1811,7 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "" @@ -1825,7 +1819,7 @@ msgstr "" msgid "Replacing platform %[1]s with %[2]s" msgstr "" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "" @@ -1867,10 +1861,6 @@ msgstr "" msgid "Searches for one or more libraries data." msgstr "" -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "" @@ -1883,6 +1873,12 @@ msgstr "" msgid "Sets a setting value." msgstr "" +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "" @@ -1974,7 +1970,7 @@ msgstr "" msgid "Shows version number of Arduino CLI." msgstr "" -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "" @@ -1984,7 +1980,7 @@ msgid "" "path" msgstr "" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "" @@ -2161,7 +2157,7 @@ msgstr "타입" msgid "Types: %s" msgstr "" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "" @@ -2271,7 +2267,7 @@ msgid "" "Upload Arduino sketches. This does NOT compile the sketch prior to upload." msgstr "" -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" @@ -2279,7 +2275,7 @@ msgstr "" msgid "Upload port found on %s" msgstr "" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "" @@ -2320,12 +2316,6 @@ msgstr "" msgid "Used: %[1]s" msgstr "사용됨: %[1]s" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2463,10 +2453,14 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "" @@ -2487,14 +2481,14 @@ msgstr "" msgid "board %s not found" msgstr "" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2509,7 +2503,7 @@ msgstr "" msgid "can't find latest release of tool %s" msgstr "" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "" @@ -2569,8 +2563,8 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" #: commands/upload/upload.go:623 @@ -2581,10 +2575,15 @@ msgstr "" msgid "could not overwrite" msgstr "" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" @@ -2597,10 +2596,6 @@ msgstr "" msgid "data section exceeds available space in board" msgstr "" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "" @@ -2609,11 +2604,15 @@ msgstr "" msgid "destination already exists" msgstr "" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "" @@ -2641,7 +2640,7 @@ msgstr "" msgid "download the latest version of Arduino SAMD core." msgstr "" -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "" @@ -2653,11 +2652,7 @@ msgstr "" msgid "empty board identifier" msgstr "" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "" @@ -2669,15 +2664,15 @@ msgstr "" msgid "error parsing value: %v" msgstr "" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "" @@ -2685,7 +2680,7 @@ msgstr "" msgid "extracting archive: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "" @@ -2693,7 +2688,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "" @@ -2729,11 +2724,11 @@ msgstr "" msgid "for the specific version." msgstr "" -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "" @@ -2771,11 +2766,7 @@ msgstr "" msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "" @@ -2787,7 +2778,7 @@ msgstr "" msgid "installing platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "" @@ -2839,7 +2830,7 @@ msgstr "" msgid "invalid empty option found" msgstr "" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "" @@ -2851,7 +2842,7 @@ msgstr "" msgid "invalid item %s" msgstr "" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "" @@ -2867,11 +2858,11 @@ msgstr "" msgid "invalid option '%s'" msgstr "" -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "" @@ -2879,11 +2870,11 @@ msgstr "" msgid "invalid platform archive size: %s" msgstr "" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "" @@ -2911,7 +2902,7 @@ msgstr "" msgid "invalid version directory %s" msgstr "" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "" @@ -2923,20 +2914,15 @@ msgstr "" msgid "keywords" msgstr "" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "" @@ -2963,8 +2949,8 @@ msgstr "" msgid "loading json index file %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "" @@ -2997,11 +2983,11 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "" @@ -3025,7 +3011,8 @@ msgstr "" msgid "monitor release not found: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "" @@ -3034,7 +3021,7 @@ msgstr "" msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" @@ -3054,7 +3041,7 @@ msgstr "" msgid "no sketch or build directory/file specified" msgstr "" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "" @@ -3066,7 +3053,7 @@ msgstr "" msgid "no upload port provided" msgstr "" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" @@ -3146,11 +3133,11 @@ msgstr "" msgid "pluggable discovery already added: %s" msgstr "" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "" @@ -3166,7 +3153,7 @@ msgstr "" msgid "reading %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "" @@ -3177,7 +3164,7 @@ msgstr "" msgid "reading directory %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "" @@ -3185,11 +3172,11 @@ msgstr "" msgid "reading file %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "" @@ -3213,10 +3200,6 @@ msgstr "" msgid "reading package root dir: %s" msgstr "" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "" @@ -3234,8 +3217,8 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 @@ -3266,11 +3249,11 @@ msgstr "" msgid "setting DTR to OFF" msgstr "" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "" @@ -3311,7 +3294,7 @@ msgstr "" msgid "the platform has no releases" msgstr "" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "" @@ -3349,7 +3332,7 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" @@ -3398,7 +3381,7 @@ msgstr "" msgid "unknown platform %s:%s" msgstr "" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "" @@ -3418,6 +3401,10 @@ msgstr "" msgid "uploading error: %s" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "" @@ -3426,10 +3413,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "" diff --git a/i18n/data/my_MM.po b/i18n/data/my_MM.po index 9c9f28fb8e5..52604ee2ce3 100644 --- a/i18n/data/my_MM.po +++ b/i18n/data/my_MM.po @@ -98,6 +98,10 @@ msgid "" "your own risk." msgstr "" +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "" @@ -131,7 +135,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "" -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "" @@ -155,7 +159,7 @@ msgstr "" msgid "Architecture: %s" msgstr "" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "" @@ -199,11 +203,7 @@ msgstr "" msgid "Arguments error: %v" msgstr "" -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "" @@ -240,15 +240,11 @@ msgstr "" msgid "Board Name" msgstr "" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "" @@ -260,10 +256,6 @@ msgstr "" msgid "Builds of 'core.a' are saved into this path to be cached and reused." msgstr "" -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "" @@ -325,10 +317,6 @@ msgstr "" msgid "Cannot execute debug tool" msgstr "" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "" - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "" @@ -357,15 +345,11 @@ msgstr "" msgid "Check dependencies status for the specified library." msgstr "" -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "" -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "" @@ -460,7 +444,7 @@ msgstr "" msgid "Couldn't get current working directory: %v" msgstr "" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "" @@ -509,7 +493,7 @@ msgstr "" msgid "Debugging not supported for board %s" msgstr "" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "" @@ -517,6 +501,14 @@ msgstr "" msgid "Default" msgstr "" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "" @@ -647,7 +639,7 @@ msgstr "" msgid "Enter git url for libraries hosted on repositories" msgstr "" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "" @@ -655,11 +647,11 @@ msgstr "" msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "" @@ -680,11 +672,11 @@ msgstr "" msgid "Error creating output dir" msgstr "" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "" @@ -729,7 +721,7 @@ msgstr "" msgid "Error during Debug: %v" msgstr "" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "" @@ -784,10 +776,6 @@ msgstr "" msgid "Error getting board details: %v" msgstr "" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "" @@ -800,7 +788,7 @@ msgstr "" msgid "Error getting libraries info: %v" msgstr "" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "" @@ -889,7 +877,7 @@ msgstr "" msgid "Error reading config file: %v" msgstr "" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "" @@ -917,6 +905,10 @@ msgstr "" msgid "Error saving downloaded index signature" msgstr "" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "" @@ -1003,12 +995,12 @@ msgstr "" msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "" @@ -1056,7 +1048,7 @@ msgstr "" msgid "Failed uploading" msgstr "" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "" @@ -1134,15 +1126,16 @@ msgstr "" msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "" -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "" @@ -1168,12 +1161,12 @@ msgstr "" msgid "Installed" msgstr "" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "" @@ -1211,10 +1204,6 @@ msgid "" "Invalid Call : should show Help, but it is available only in TEXT mode." msgstr "" -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "" @@ -1240,10 +1229,6 @@ msgstr "" msgid "Invalid data size regexp: %s" msgstr "" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "" @@ -1280,7 +1265,7 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "" @@ -1304,7 +1289,7 @@ msgstr "" msgid "Invalid version" msgstr "" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "" @@ -1335,7 +1320,8 @@ msgstr "" msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1365,7 +1351,7 @@ msgstr "" msgid "Library install failed" msgstr "" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "" @@ -1489,7 +1475,7 @@ msgstr "" msgid "Multiple libraries were found for \"%[1]s\"" msgstr "" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "" @@ -1502,6 +1488,10 @@ msgstr "" msgid "No boards found." msgstr "" +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "" @@ -1532,10 +1522,6 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "" @@ -1552,11 +1538,11 @@ msgstr "" msgid "Not used: %[1]s" msgstr "" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "" @@ -1564,7 +1550,7 @@ msgstr "" msgid "Open a communication port with a board." msgstr "" -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "" @@ -1606,28 +1592,36 @@ msgstr "" msgid "Overwrite existing config file." msgstr "" +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "" -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "" @@ -1699,31 +1693,31 @@ msgstr "" msgid "Platform ID is not correct" msgstr "" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "" @@ -1792,7 +1786,7 @@ msgstr "" msgid "Programmer to use, e.g: atmel_ice" msgstr "" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "" @@ -1812,7 +1806,7 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "" @@ -1820,7 +1814,7 @@ msgstr "" msgid "Replacing platform %[1]s with %[2]s" msgstr "" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "" @@ -1862,10 +1856,6 @@ msgstr "" msgid "Searches for one or more libraries data." msgstr "" -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "" @@ -1878,6 +1868,12 @@ msgstr "" msgid "Sets a setting value." msgstr "" +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "" @@ -1969,7 +1965,7 @@ msgstr "" msgid "Shows version number of Arduino CLI." msgstr "" -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "" @@ -1979,7 +1975,7 @@ msgid "" "path" msgstr "" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "" @@ -2156,7 +2152,7 @@ msgstr "" msgid "Types: %s" msgstr "" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "" @@ -2266,7 +2262,7 @@ msgid "" "Upload Arduino sketches. This does NOT compile the sketch prior to upload." msgstr "" -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" @@ -2274,7 +2270,7 @@ msgstr "" msgid "Upload port found on %s" msgstr "" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "" @@ -2315,12 +2311,6 @@ msgstr "" msgid "Used: %[1]s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2455,10 +2445,14 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "" @@ -2479,14 +2473,14 @@ msgstr "" msgid "board %s not found" msgstr "" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2501,7 +2495,7 @@ msgstr "" msgid "can't find latest release of tool %s" msgstr "" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "" @@ -2561,8 +2555,8 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" #: commands/upload/upload.go:623 @@ -2573,10 +2567,15 @@ msgstr "" msgid "could not overwrite" msgstr "" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" @@ -2589,10 +2588,6 @@ msgstr "" msgid "data section exceeds available space in board" msgstr "" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "" @@ -2601,11 +2596,15 @@ msgstr "" msgid "destination already exists" msgstr "" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "" @@ -2633,7 +2632,7 @@ msgstr "" msgid "download the latest version of Arduino SAMD core." msgstr "" -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "" @@ -2645,11 +2644,7 @@ msgstr "" msgid "empty board identifier" msgstr "" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "" @@ -2661,15 +2656,15 @@ msgstr "" msgid "error parsing value: %v" msgstr "" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "" @@ -2677,7 +2672,7 @@ msgstr "" msgid "extracting archive: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "" @@ -2685,7 +2680,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "" @@ -2721,11 +2716,11 @@ msgstr "" msgid "for the specific version." msgstr "" -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "" @@ -2763,11 +2758,7 @@ msgstr "" msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "" @@ -2779,7 +2770,7 @@ msgstr "" msgid "installing platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "" @@ -2831,7 +2822,7 @@ msgstr "" msgid "invalid empty option found" msgstr "" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "" @@ -2843,7 +2834,7 @@ msgstr "" msgid "invalid item %s" msgstr "" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "" @@ -2859,11 +2850,11 @@ msgstr "" msgid "invalid option '%s'" msgstr "" -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "" @@ -2871,11 +2862,11 @@ msgstr "" msgid "invalid platform archive size: %s" msgstr "" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "" @@ -2903,7 +2894,7 @@ msgstr "" msgid "invalid version directory %s" msgstr "" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "" @@ -2915,20 +2906,15 @@ msgstr "" msgid "keywords" msgstr "" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "" @@ -2955,8 +2941,8 @@ msgstr "" msgid "loading json index file %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "" @@ -2989,11 +2975,11 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "" @@ -3017,7 +3003,8 @@ msgstr "" msgid "monitor release not found: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "" @@ -3026,7 +3013,7 @@ msgstr "" msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" @@ -3046,7 +3033,7 @@ msgstr "" msgid "no sketch or build directory/file specified" msgstr "" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "" @@ -3058,7 +3045,7 @@ msgstr "" msgid "no upload port provided" msgstr "" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" @@ -3138,11 +3125,11 @@ msgstr "" msgid "pluggable discovery already added: %s" msgstr "" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "" @@ -3158,7 +3145,7 @@ msgstr "" msgid "reading %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "" @@ -3169,7 +3156,7 @@ msgstr "" msgid "reading directory %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "" @@ -3177,11 +3164,11 @@ msgstr "" msgid "reading file %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "" @@ -3205,10 +3192,6 @@ msgstr "" msgid "reading package root dir: %s" msgstr "" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "" @@ -3226,8 +3209,8 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 @@ -3258,11 +3241,11 @@ msgstr "" msgid "setting DTR to OFF" msgstr "" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "" @@ -3303,7 +3286,7 @@ msgstr "" msgid "the platform has no releases" msgstr "" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "" @@ -3341,7 +3324,7 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" @@ -3390,7 +3373,7 @@ msgstr "" msgid "unknown platform %s:%s" msgstr "" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "" @@ -3410,6 +3393,10 @@ msgstr "" msgid "uploading error: %s" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "" @@ -3418,10 +3405,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "" diff --git a/i18n/data/pl.po b/i18n/data/pl.po index 1bbd8dfb2e2..a18f9aebc4f 100644 --- a/i18n/data/pl.po +++ b/i18n/data/pl.po @@ -104,6 +104,10 @@ msgid "" "your own risk." msgstr "" +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "" @@ -137,7 +141,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "" -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "" @@ -161,7 +165,7 @@ msgstr "" msgid "Architecture: %s" msgstr "Architektura: %s" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "" @@ -205,11 +209,7 @@ msgstr "" msgid "Arguments error: %v" msgstr "" -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "" @@ -246,15 +246,11 @@ msgstr "" msgid "Board Name" msgstr "" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "Nazwa płytki:" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "" @@ -266,10 +262,6 @@ msgstr "Podany nieistniejący plik programu rozruchowego: %[1]s" msgid "Builds of 'core.a' are saved into this path to be cached and reused." msgstr "" -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "" @@ -331,10 +323,6 @@ msgstr "" msgid "Cannot execute debug tool" msgstr "" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "" - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "" @@ -363,15 +351,11 @@ msgstr "" msgid "Check dependencies status for the specified library." msgstr "" -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "" -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "" @@ -466,7 +450,7 @@ msgstr "" msgid "Couldn't get current working directory: %v" msgstr "" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "" @@ -515,7 +499,7 @@ msgstr "" msgid "Debugging not supported for board %s" msgstr "" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "" @@ -523,6 +507,14 @@ msgstr "" msgid "Default" msgstr "Domyślne" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "" @@ -653,7 +645,7 @@ msgstr "" msgid "Enter git url for libraries hosted on repositories" msgstr "" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "" @@ -661,11 +653,11 @@ msgstr "" msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "" @@ -686,11 +678,11 @@ msgstr "" msgid "Error creating output dir" msgstr "" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "" @@ -735,7 +727,7 @@ msgstr "" msgid "Error during Debug: %v" msgstr "" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "" @@ -790,10 +782,6 @@ msgstr "" msgid "Error getting board details: %v" msgstr "" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "" @@ -806,7 +794,7 @@ msgstr "" msgid "Error getting libraries info: %v" msgstr "" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "" @@ -895,7 +883,7 @@ msgstr "" msgid "Error reading config file: %v" msgstr "" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "" @@ -923,6 +911,10 @@ msgstr "" msgid "Error saving downloaded index signature" msgstr "" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "" @@ -1009,12 +1001,12 @@ msgstr "" msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "" @@ -1062,7 +1054,7 @@ msgstr "" msgid "Failed uploading" msgstr "" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "" @@ -1143,15 +1135,16 @@ msgstr "" msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Zmienne globalne używają %[1]s bajtów pamięci dynamicznej." -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "" @@ -1177,12 +1170,12 @@ msgstr "" msgid "Installed" msgstr "Zainstalowany" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "" @@ -1220,10 +1213,6 @@ msgid "" "Invalid Call : should show Help, but it is available only in TEXT mode." msgstr "" -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "" @@ -1249,10 +1238,6 @@ msgstr "" msgid "Invalid data size regexp: %s" msgstr "" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "" @@ -1289,7 +1274,7 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "" @@ -1313,7 +1298,7 @@ msgstr "" msgid "Invalid version" msgstr "" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "" @@ -1344,7 +1329,8 @@ msgstr "" msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1374,7 +1360,7 @@ msgstr "" msgid "Library install failed" msgstr "" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "" @@ -1499,7 +1485,7 @@ msgstr "" msgid "Multiple libraries were found for \"%[1]s\"" msgstr "Znaleziono wiele bibliotek w \"%[1]s\"" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "" @@ -1512,6 +1498,10 @@ msgstr "" msgid "No boards found." msgstr "" +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "" @@ -1542,10 +1532,6 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "" @@ -1564,11 +1550,11 @@ msgstr "" msgid "Not used: %[1]s" msgstr "Niewykorzystane: %[1]s" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "" @@ -1576,7 +1562,7 @@ msgstr "" msgid "Open a communication port with a board." msgstr "" -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "" @@ -1618,28 +1604,36 @@ msgstr "" msgid "Overwrite existing config file." msgstr "" +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "" -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "" @@ -1711,31 +1705,31 @@ msgstr "" msgid "Platform ID is not correct" msgstr "" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "" @@ -1804,7 +1798,7 @@ msgstr "" msgid "Programmer to use, e.g: atmel_ice" msgstr "" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "" @@ -1824,7 +1818,7 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "" @@ -1832,7 +1826,7 @@ msgstr "" msgid "Replacing platform %[1]s with %[2]s" msgstr "" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "" @@ -1874,10 +1868,6 @@ msgstr "" msgid "Searches for one or more libraries data." msgstr "" -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "" @@ -1890,6 +1880,12 @@ msgstr "" msgid "Sets a setting value." msgstr "" +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "" @@ -1981,7 +1977,7 @@ msgstr "" msgid "Shows version number of Arduino CLI." msgstr "" -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "" @@ -1991,7 +1987,7 @@ msgid "" "path" msgstr "" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "" @@ -2170,7 +2166,7 @@ msgstr "Wpisz" msgid "Types: %s" msgstr "" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "" @@ -2280,7 +2276,7 @@ msgid "" "Upload Arduino sketches. This does NOT compile the sketch prior to upload." msgstr "" -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" @@ -2288,7 +2284,7 @@ msgstr "" msgid "Upload port found on %s" msgstr "" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "" @@ -2329,12 +2325,6 @@ msgstr "" msgid "Used: %[1]s" msgstr "Wykorzystane: %[1]s" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2474,10 +2464,14 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "" @@ -2498,14 +2492,14 @@ msgstr "" msgid "board %s not found" msgstr "" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2520,7 +2514,7 @@ msgstr "" msgid "can't find latest release of tool %s" msgstr "" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "" @@ -2580,8 +2574,8 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" #: commands/upload/upload.go:623 @@ -2592,10 +2586,15 @@ msgstr "" msgid "could not overwrite" msgstr "" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" @@ -2608,10 +2607,6 @@ msgstr "" msgid "data section exceeds available space in board" msgstr "" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "" @@ -2620,11 +2615,15 @@ msgstr "" msgid "destination already exists" msgstr "" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "" @@ -2652,7 +2651,7 @@ msgstr "" msgid "download the latest version of Arduino SAMD core." msgstr "" -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "" @@ -2664,11 +2663,7 @@ msgstr "" msgid "empty board identifier" msgstr "" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "" @@ -2680,15 +2675,15 @@ msgstr "" msgid "error parsing value: %v" msgstr "" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "" @@ -2696,7 +2691,7 @@ msgstr "" msgid "extracting archive: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "" @@ -2704,7 +2699,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "" @@ -2740,11 +2735,11 @@ msgstr "" msgid "for the specific version." msgstr "" -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "" @@ -2782,11 +2777,7 @@ msgstr "" msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "" @@ -2798,7 +2789,7 @@ msgstr "" msgid "installing platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "" @@ -2850,7 +2841,7 @@ msgstr "" msgid "invalid empty option found" msgstr "" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "" @@ -2862,7 +2853,7 @@ msgstr "" msgid "invalid item %s" msgstr "" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "" @@ -2878,11 +2869,11 @@ msgstr "" msgid "invalid option '%s'" msgstr "" -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "" @@ -2890,11 +2881,11 @@ msgstr "" msgid "invalid platform archive size: %s" msgstr "" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "" @@ -2922,7 +2913,7 @@ msgstr "" msgid "invalid version directory %s" msgstr "" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "" @@ -2934,20 +2925,15 @@ msgstr "" msgid "keywords" msgstr "" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "" @@ -2974,8 +2960,8 @@ msgstr "" msgid "loading json index file %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "" @@ -3008,11 +2994,11 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "" @@ -3036,7 +3022,8 @@ msgstr "" msgid "monitor release not found: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "" @@ -3045,7 +3032,7 @@ msgstr "" msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" @@ -3065,7 +3052,7 @@ msgstr "" msgid "no sketch or build directory/file specified" msgstr "" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "" @@ -3077,7 +3064,7 @@ msgstr "" msgid "no upload port provided" msgstr "" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" @@ -3157,11 +3144,11 @@ msgstr "" msgid "pluggable discovery already added: %s" msgstr "" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "" @@ -3177,7 +3164,7 @@ msgstr "" msgid "reading %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "" @@ -3188,7 +3175,7 @@ msgstr "" msgid "reading directory %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "" @@ -3196,11 +3183,11 @@ msgstr "" msgid "reading file %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "" @@ -3224,10 +3211,6 @@ msgstr "" msgid "reading package root dir: %s" msgstr "" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "" @@ -3245,8 +3228,8 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 @@ -3277,11 +3260,11 @@ msgstr "" msgid "setting DTR to OFF" msgstr "" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "" @@ -3322,7 +3305,7 @@ msgstr "" msgid "the platform has no releases" msgstr "" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "" @@ -3360,7 +3343,7 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" @@ -3409,7 +3392,7 @@ msgstr "" msgid "unknown platform %s:%s" msgstr "" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "" @@ -3429,6 +3412,10 @@ msgstr "" msgid "uploading error: %s" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "" @@ -3437,10 +3424,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "" diff --git a/i18n/data/pt.po b/i18n/data/pt.po index 3d9f48bd312..852c5245033 100644 --- a/i18n/data/pt.po +++ b/i18n/data/pt.po @@ -107,6 +107,10 @@ msgstr "" "‎--git-url e --zip-path autorizaram a instalação de arquivos não confiáveis," " use por sua conta e risco.‎" +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "‎Uma nova atualização do Arduino CLI está disponível:‎" @@ -140,7 +144,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "" -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "%s‎Já instalado‎" @@ -164,7 +168,7 @@ msgstr "‎Registro de depuração de anexação ao arquivo especificado‎" msgid "Architecture: %s" msgstr "%sArquitetura:‎" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "O Arquivo já existe" @@ -208,11 +212,7 @@ msgstr "" msgid "Arguments error: %v" msgstr "%vErro nos argumentos:" -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "%vErro ao adicionar placa:" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "‎Anexa um sketch a uma placa.‎" @@ -249,15 +249,11 @@ msgstr "‎Arquivo binário para carregar.‎" msgid "Board Name" msgstr "Nome da Placa" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "%s‎Placa encontrada:‎" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "" @@ -269,10 +265,6 @@ msgstr "" msgid "Builds of 'core.a' are saved into this path to be cached and reused." msgstr "" -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "" @@ -334,10 +326,6 @@ msgstr "" msgid "Cannot execute debug tool" msgstr "" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "" - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "" @@ -366,15 +354,11 @@ msgstr "" msgid "Check dependencies status for the specified library." msgstr "" -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "" -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "" @@ -469,7 +453,7 @@ msgstr "" msgid "Couldn't get current working directory: %v" msgstr "" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "" @@ -518,7 +502,7 @@ msgstr "" msgid "Debugging not supported for board %s" msgstr "" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "" @@ -526,6 +510,14 @@ msgstr "" msgid "Default" msgstr "" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "" @@ -656,7 +648,7 @@ msgstr "" msgid "Enter git url for libraries hosted on repositories" msgstr "" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "" @@ -664,11 +656,11 @@ msgstr "" msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "" @@ -689,11 +681,11 @@ msgstr "" msgid "Error creating output dir" msgstr "" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "" @@ -738,7 +730,7 @@ msgstr "" msgid "Error during Debug: %v" msgstr "" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "" @@ -793,10 +785,6 @@ msgstr "" msgid "Error getting board details: %v" msgstr "" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "" @@ -809,7 +797,7 @@ msgstr "" msgid "Error getting libraries info: %v" msgstr "" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "" @@ -898,7 +886,7 @@ msgstr "" msgid "Error reading config file: %v" msgstr "" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "" @@ -926,6 +914,10 @@ msgstr "" msgid "Error saving downloaded index signature" msgstr "" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "" @@ -1012,12 +1004,12 @@ msgstr "" msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "" @@ -1065,7 +1057,7 @@ msgstr "" msgid "Failed uploading" msgstr "" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "" @@ -1145,15 +1137,16 @@ msgstr "" msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Variáveis globais usam %[1]s bytes de memória dinâmica." -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "" @@ -1179,12 +1172,12 @@ msgstr "" msgid "Installed" msgstr "" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "" @@ -1222,10 +1215,6 @@ msgid "" "Invalid Call : should show Help, but it is available only in TEXT mode." msgstr "" -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "" @@ -1251,10 +1240,6 @@ msgstr "" msgid "Invalid data size regexp: %s" msgstr "" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "" @@ -1291,7 +1276,7 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "" @@ -1315,7 +1300,7 @@ msgstr "" msgid "Invalid version" msgstr "" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "" @@ -1346,7 +1331,8 @@ msgstr "" msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1376,7 +1362,7 @@ msgstr "" msgid "Library install failed" msgstr "" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "" @@ -1500,7 +1486,7 @@ msgstr "" msgid "Multiple libraries were found for \"%[1]s\"" msgstr "" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "" @@ -1513,6 +1499,10 @@ msgstr "" msgid "No boards found." msgstr "" +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "" @@ -1543,10 +1533,6 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "" @@ -1565,11 +1551,11 @@ msgstr "" msgid "Not used: %[1]s" msgstr "Não utilizado: %[1]s" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "" @@ -1577,7 +1563,7 @@ msgstr "" msgid "Open a communication port with a board." msgstr "" -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "" @@ -1619,28 +1605,36 @@ msgstr "" msgid "Overwrite existing config file." msgstr "" +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "" -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "" @@ -1712,31 +1706,31 @@ msgstr "" msgid "Platform ID is not correct" msgstr "" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "" @@ -1805,7 +1799,7 @@ msgstr "" msgid "Programmer to use, e.g: atmel_ice" msgstr "" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "" @@ -1825,7 +1819,7 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "" @@ -1833,7 +1827,7 @@ msgstr "" msgid "Replacing platform %[1]s with %[2]s" msgstr "" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "" @@ -1875,10 +1869,6 @@ msgstr "" msgid "Searches for one or more libraries data." msgstr "" -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "" @@ -1891,6 +1881,12 @@ msgstr "" msgid "Sets a setting value." msgstr "" +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "" @@ -1982,7 +1978,7 @@ msgstr "" msgid "Shows version number of Arduino CLI." msgstr "" -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "" @@ -1992,7 +1988,7 @@ msgid "" "path" msgstr "" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "" @@ -2173,7 +2169,7 @@ msgstr "" msgid "Types: %s" msgstr "" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "" @@ -2283,7 +2279,7 @@ msgid "" "Upload Arduino sketches. This does NOT compile the sketch prior to upload." msgstr "" -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" @@ -2291,7 +2287,7 @@ msgstr "" msgid "Upload port found on %s" msgstr "" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "" @@ -2332,12 +2328,6 @@ msgstr "" msgid "Used: %[1]s" msgstr "Utilizado: %[1]s" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2475,10 +2465,14 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "" @@ -2499,14 +2493,14 @@ msgstr "" msgid "board %s not found" msgstr "" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2521,7 +2515,7 @@ msgstr "" msgid "can't find latest release of tool %s" msgstr "" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "" @@ -2581,8 +2575,8 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" #: commands/upload/upload.go:623 @@ -2593,10 +2587,15 @@ msgstr "" msgid "could not overwrite" msgstr "" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" @@ -2609,10 +2608,6 @@ msgstr "" msgid "data section exceeds available space in board" msgstr "" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "" @@ -2621,11 +2616,15 @@ msgstr "" msgid "destination already exists" msgstr "" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "" @@ -2653,7 +2652,7 @@ msgstr "" msgid "download the latest version of Arduino SAMD core." msgstr "" -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "" @@ -2665,11 +2664,7 @@ msgstr "" msgid "empty board identifier" msgstr "" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "" @@ -2681,15 +2676,15 @@ msgstr "" msgid "error parsing value: %v" msgstr "" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "" @@ -2697,7 +2692,7 @@ msgstr "" msgid "extracting archive: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "" @@ -2705,7 +2700,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "" @@ -2741,11 +2736,11 @@ msgstr "" msgid "for the specific version." msgstr "" -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "" @@ -2783,11 +2778,7 @@ msgstr "" msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "" @@ -2799,7 +2790,7 @@ msgstr "" msgid "installing platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "" @@ -2851,7 +2842,7 @@ msgstr "" msgid "invalid empty option found" msgstr "" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "" @@ -2863,7 +2854,7 @@ msgstr "" msgid "invalid item %s" msgstr "" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "" @@ -2879,11 +2870,11 @@ msgstr "" msgid "invalid option '%s'" msgstr "" -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "" @@ -2891,11 +2882,11 @@ msgstr "" msgid "invalid platform archive size: %s" msgstr "" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "" @@ -2923,7 +2914,7 @@ msgstr "" msgid "invalid version directory %s" msgstr "" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "" @@ -2935,20 +2926,15 @@ msgstr "" msgid "keywords" msgstr "" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "" @@ -2975,8 +2961,8 @@ msgstr "" msgid "loading json index file %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "" @@ -3009,11 +2995,11 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "" @@ -3037,7 +3023,8 @@ msgstr "" msgid "monitor release not found: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "" @@ -3046,7 +3033,7 @@ msgstr "" msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" @@ -3066,7 +3053,7 @@ msgstr "" msgid "no sketch or build directory/file specified" msgstr "" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "" @@ -3078,7 +3065,7 @@ msgstr "" msgid "no upload port provided" msgstr "" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" @@ -3158,11 +3145,11 @@ msgstr "" msgid "pluggable discovery already added: %s" msgstr "" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "" @@ -3178,7 +3165,7 @@ msgstr "" msgid "reading %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "" @@ -3189,7 +3176,7 @@ msgstr "" msgid "reading directory %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "" @@ -3197,11 +3184,11 @@ msgstr "" msgid "reading file %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "" @@ -3225,10 +3212,6 @@ msgstr "" msgid "reading package root dir: %s" msgstr "" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "" @@ -3246,8 +3229,8 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 @@ -3278,11 +3261,11 @@ msgstr "" msgid "setting DTR to OFF" msgstr "" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "" @@ -3323,7 +3306,7 @@ msgstr "" msgid "the platform has no releases" msgstr "" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "" @@ -3361,7 +3344,7 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" @@ -3413,7 +3396,7 @@ msgstr "%spacote desconhecido" msgid "unknown platform %s:%s" msgstr "%splataforma desconhecida%s:" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "%s‎extensão do arquivo sketch é desconhecido‎' '" @@ -3433,6 +3416,10 @@ msgstr "‎atualizar tudo para a versão mais recente‎" msgid "uploading error: %s" msgstr "%serro ao carregar" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "%sversão ‎não disponível para este sistema operacional‎" @@ -3441,10 +3428,6 @@ msgstr "%sversão ‎não disponível para este sistema operacional‎" msgid "version %s not found" msgstr "%s versão não encontrada" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "‎formato errado na resposta do servidor‎" diff --git a/i18n/data/ru.po b/i18n/data/ru.po index 1312f15d377..123f99a3750 100644 --- a/i18n/data/ru.po +++ b/i18n/data/ru.po @@ -105,6 +105,10 @@ msgid "" "your own risk." msgstr "" +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "Доступен новый релиз Arduino CLI:" @@ -138,7 +142,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "" -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "" @@ -162,7 +166,7 @@ msgstr "" msgid "Architecture: %s" msgstr "" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "" @@ -206,11 +210,7 @@ msgstr "" msgid "Arguments error: %v" msgstr "" -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "" @@ -247,15 +247,11 @@ msgstr "" msgid "Board Name" msgstr "" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "" @@ -267,10 +263,6 @@ msgstr "Файл загрузчика указан но не существуе msgid "Builds of 'core.a' are saved into this path to be cached and reused." msgstr "" -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "" @@ -332,10 +324,6 @@ msgstr "" msgid "Cannot execute debug tool" msgstr "" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "" - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "" @@ -364,15 +352,11 @@ msgstr "" msgid "Check dependencies status for the specified library." msgstr "" -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "" -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "" @@ -467,7 +451,7 @@ msgstr "" msgid "Couldn't get current working directory: %v" msgstr "" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "" @@ -516,7 +500,7 @@ msgstr "" msgid "Debugging not supported for board %s" msgstr "" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "" @@ -524,6 +508,14 @@ msgstr "" msgid "Default" msgstr "По умолчанию" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "" @@ -654,7 +646,7 @@ msgstr "" msgid "Enter git url for libraries hosted on repositories" msgstr "" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "" @@ -662,11 +654,11 @@ msgstr "" msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "" @@ -687,11 +679,11 @@ msgstr "" msgid "Error creating output dir" msgstr "" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "" @@ -736,7 +728,7 @@ msgstr "" msgid "Error during Debug: %v" msgstr "" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "" @@ -791,10 +783,6 @@ msgstr "" msgid "Error getting board details: %v" msgstr "" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "" @@ -807,7 +795,7 @@ msgstr "" msgid "Error getting libraries info: %v" msgstr "" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "" @@ -896,7 +884,7 @@ msgstr "" msgid "Error reading config file: %v" msgstr "" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "" @@ -924,6 +912,10 @@ msgstr "" msgid "Error saving downloaded index signature" msgstr "" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "" @@ -1010,12 +1002,12 @@ msgstr "" msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "" @@ -1063,7 +1055,7 @@ msgstr "" msgid "Failed uploading" msgstr "" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "" @@ -1143,15 +1135,16 @@ msgstr "" msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Глобальные переменные используют %[1]s байт динамической памяти." -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "" @@ -1177,12 +1170,12 @@ msgstr "" msgid "Installed" msgstr "Установлено" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "" @@ -1220,10 +1213,6 @@ msgid "" "Invalid Call : should show Help, but it is available only in TEXT mode." msgstr "" -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "" @@ -1249,10 +1238,6 @@ msgstr "" msgid "Invalid data size regexp: %s" msgstr "" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "" @@ -1289,7 +1274,7 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "" @@ -1313,7 +1298,7 @@ msgstr "" msgid "Invalid version" msgstr "" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "" @@ -1344,7 +1329,8 @@ msgstr "" msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1374,7 +1360,7 @@ msgstr "" msgid "Library install failed" msgstr "" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "" @@ -1498,7 +1484,7 @@ msgstr "" msgid "Multiple libraries were found for \"%[1]s\"" msgstr "Несколько библиотек найдено для \"%[1]s\"" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "" @@ -1511,6 +1497,10 @@ msgstr "" msgid "No boards found." msgstr "" +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "" @@ -1541,10 +1531,6 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "" @@ -1561,11 +1547,11 @@ msgstr "Недостаточно памяти; прочитайте %[1]s" msgid "Not used: %[1]s" msgstr "Не используется: %[1]s" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "" @@ -1573,7 +1559,7 @@ msgstr "" msgid "Open a communication port with a board." msgstr "" -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "" @@ -1615,28 +1601,36 @@ msgstr "" msgid "Overwrite existing config file." msgstr "" +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "" -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "" @@ -1708,31 +1702,31 @@ msgstr "" msgid "Platform ID is not correct" msgstr "" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "" @@ -1801,7 +1795,7 @@ msgstr "" msgid "Programmer to use, e.g: atmel_ice" msgstr "" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "" @@ -1821,7 +1815,7 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "" @@ -1829,7 +1823,7 @@ msgstr "" msgid "Replacing platform %[1]s with %[2]s" msgstr "" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "" @@ -1871,10 +1865,6 @@ msgstr "" msgid "Searches for one or more libraries data." msgstr "" -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "" @@ -1887,6 +1877,12 @@ msgstr "" msgid "Sets a setting value." msgstr "" +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "" @@ -1978,7 +1974,7 @@ msgstr "" msgid "Shows version number of Arduino CLI." msgstr "" -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "" @@ -1988,7 +1984,7 @@ msgid "" "path" msgstr "" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "" @@ -2167,7 +2163,7 @@ msgstr "Тип" msgid "Types: %s" msgstr "" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "" @@ -2277,7 +2273,7 @@ msgid "" "Upload Arduino sketches. This does NOT compile the sketch prior to upload." msgstr "" -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" @@ -2285,7 +2281,7 @@ msgstr "" msgid "Upload port found on %s" msgstr "" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "" @@ -2326,12 +2322,6 @@ msgstr "" msgid "Used: %[1]s" msgstr "Используется: %[1]s" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2470,10 +2460,14 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "" @@ -2494,14 +2488,14 @@ msgstr "" msgid "board %s not found" msgstr "" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2516,7 +2510,7 @@ msgstr "" msgid "can't find latest release of tool %s" msgstr "" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "" @@ -2576,8 +2570,8 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" #: commands/upload/upload.go:623 @@ -2588,10 +2582,15 @@ msgstr "" msgid "could not overwrite" msgstr "" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" @@ -2604,10 +2603,6 @@ msgstr "" msgid "data section exceeds available space in board" msgstr "" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "" @@ -2616,11 +2611,15 @@ msgstr "" msgid "destination already exists" msgstr "" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "" @@ -2648,7 +2647,7 @@ msgstr "" msgid "download the latest version of Arduino SAMD core." msgstr "" -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "" @@ -2660,11 +2659,7 @@ msgstr "" msgid "empty board identifier" msgstr "" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "" @@ -2676,15 +2671,15 @@ msgstr "" msgid "error parsing value: %v" msgstr "" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "" @@ -2692,7 +2687,7 @@ msgstr "" msgid "extracting archive: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "" @@ -2700,7 +2695,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "" @@ -2736,11 +2731,11 @@ msgstr "" msgid "for the specific version." msgstr "" -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "" @@ -2778,11 +2773,7 @@ msgstr "" msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "" @@ -2794,7 +2785,7 @@ msgstr "" msgid "installing platform %[1]s: %[2]s" msgstr "" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "" @@ -2846,7 +2837,7 @@ msgstr "" msgid "invalid empty option found" msgstr "" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "" @@ -2858,7 +2849,7 @@ msgstr "" msgid "invalid item %s" msgstr "" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "" @@ -2874,11 +2865,11 @@ msgstr "" msgid "invalid option '%s'" msgstr "" -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "" @@ -2886,11 +2877,11 @@ msgstr "" msgid "invalid platform archive size: %s" msgstr "" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "" @@ -2918,7 +2909,7 @@ msgstr "" msgid "invalid version directory %s" msgstr "" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "" @@ -2930,20 +2921,15 @@ msgstr "" msgid "keywords" msgstr "" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "" @@ -2970,8 +2956,8 @@ msgstr "" msgid "loading json index file %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "" @@ -3004,11 +2990,11 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "" @@ -3032,7 +3018,8 @@ msgstr "" msgid "monitor release not found: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "" @@ -3041,7 +3028,7 @@ msgstr "" msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" @@ -3061,7 +3048,7 @@ msgstr "" msgid "no sketch or build directory/file specified" msgstr "" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "" @@ -3073,7 +3060,7 @@ msgstr "" msgid "no upload port provided" msgstr "" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" @@ -3153,11 +3140,11 @@ msgstr "" msgid "pluggable discovery already added: %s" msgstr "" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "" @@ -3173,7 +3160,7 @@ msgstr "" msgid "reading %[1]s: %[2]s" msgstr "" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "" @@ -3184,7 +3171,7 @@ msgstr "" msgid "reading directory %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "" @@ -3192,11 +3179,11 @@ msgstr "" msgid "reading file %[1]s: %[2]s" msgstr "" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "" @@ -3220,10 +3207,6 @@ msgstr "" msgid "reading package root dir: %s" msgstr "" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "" @@ -3241,8 +3224,8 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 @@ -3273,11 +3256,11 @@ msgstr "" msgid "setting DTR to OFF" msgstr "" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "" @@ -3318,7 +3301,7 @@ msgstr "" msgid "the platform has no releases" msgstr "" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "" @@ -3356,7 +3339,7 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" @@ -3405,7 +3388,7 @@ msgstr "" msgid "unknown platform %s:%s" msgstr "" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "" @@ -3425,6 +3408,10 @@ msgstr "" msgid "uploading error: %s" msgstr "" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "" @@ -3433,10 +3420,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "" diff --git a/i18n/data/zh.po b/i18n/data/zh.po index b5971411307..7f75a46c2d4 100644 --- a/i18n/data/zh.po +++ b/i18n/data/zh.po @@ -105,6 +105,10 @@ msgid "" "your own risk." msgstr "--git-url 和 --zip-path 参数允许安装不受信任的文件,使用该标志风险自负。" +#: commands/sketch/new.go:53 +msgid ".ino file already exists" +msgstr "" + #: cli/updater/updater.go:70 msgid "A new release of Arduino CLI is available:" msgstr "新版本的 Arduino CLI 可用:" @@ -138,7 +142,7 @@ msgstr "别名:" msgid "All the cores are already at the latest version" msgstr "所有内核都是最新版本" -#: commands/lib/install.go:87 commands/lib/install.go:132 +#: commands/lib/install.go:86 msgid "Already installed %s" msgstr "已经安装 %s" @@ -162,7 +166,7 @@ msgstr "附加除错日志到特定文件" msgid "Architecture: %s" msgstr "架构:%s" -#: commands/sketch/archive.go:70 +#: commands/sketch/archive.go:71 msgid "Archive already exists" msgstr "存档已经存在" @@ -206,11 +210,7 @@ msgstr "Arduino 内核操作。" msgid "Arguments error: %v" msgstr "参数错误:%v" -#: cli/board/attach.go:81 -msgid "Attach board error: %v" -msgstr "写入开发板错误:%v" - -#: cli/board/attach.go:41 cli/board/attach.go:42 cli/board/board.go:35 +#: cli/board/attach.go:32 msgid "Attaches a sketch to a board." msgstr "将项目写入开发板上。" @@ -247,15 +247,11 @@ msgstr "要上传的二进制文件。" msgid "Board Name" msgstr "开发板名" -#: commands/board/attach.go:95 -msgid "Board found: %s" -msgstr "找到开发板:%s" - -#: cli/board/details.go:119 +#: cli/board/details.go:120 msgid "Board name:" msgstr "开发板名:" -#: cli/board/details.go:121 +#: cli/board/details.go:122 msgid "Board version:" msgstr "开发板版本:" @@ -267,10 +263,6 @@ msgstr "已指定引导加载程序文件,缺少:%[1]s" msgid "Builds of 'core.a' are saved into this path to be cached and reused." msgstr "‘core.a’的构建被保存到这个路径中,以便被缓存和重复使用。" -#: arduino/libraries/librariesmanager/install.go:58 -msgid "Builtin libraries directory not set" -msgstr "未设置内置库目录" - #: arduino/resources/index.go:45 msgid "Can't create data directory %s" msgstr "无法新建 %s 数据目录" @@ -332,10 +324,6 @@ msgstr "无法新建临时文件" msgid "Cannot execute debug tool" msgstr "无法运行调试工具" -#: commands/board/attach.go:108 -msgid "Cannot export sketch metadata" -msgstr "无法导出项目元数据" - #: cli/config/init.go:72 cli/config/init.go:83 msgid "Cannot find absolute path: %v" msgstr "找不到绝对路径:%v" @@ -364,15 +352,11 @@ msgstr "类别:%s" msgid "Check dependencies status for the specified library." msgstr "检查指定库的依赖状态。" -#: commands/lib/install.go:137 -msgid "Checking lib install prerequisites" -msgstr "检查依赖安装前提条件" - #: arduino/resources/checksums.go:168 msgid "Checksum differs from checksum in package.json" msgstr "校验码与 package.json 中的校验码不同" -#: cli/board/details.go:167 +#: cli/board/details.go:170 msgid "Checksum:" msgstr "校验码:" @@ -467,7 +451,7 @@ msgstr "无法确定程序大小" msgid "Couldn't get current working directory: %v" msgstr "无法获得当前工作目录:%v" -#: cli/sketch/new.go:36 cli/sketch/new.go:37 +#: cli/sketch/new.go:38 cli/sketch/new.go:39 msgid "Create a new Sketch" msgstr "新建项目" @@ -516,7 +500,7 @@ msgstr "调试解释器,例如:%s" msgid "Debugging not supported for board %s" msgstr "%s 开发板不支持调试" -#: cli/board/details.go:123 +#: cli/board/details.go:124 msgid "Debugging supported:" msgstr "支持调试:" @@ -524,6 +508,14 @@ msgstr "支持调试:" msgid "Default" msgstr "默认" +#: cli/board/attach.go:116 +msgid "Default FQBN set to" +msgstr "" + +#: cli/board/attach.go:115 +msgid "Default port set to" +msgstr "" + #: cli/cache/clean.go:31 msgid "Delete Boards/Library Manager download cache." msgstr "删除开发板/库管理器下载缓存" @@ -654,7 +646,7 @@ msgstr "输入压缩文件的路径" msgid "Enter git url for libraries hosted on repositories" msgstr "输入在存储库上托管的库的 git 地址" -#: commands/sketch/archive.go:105 +#: commands/sketch/archive.go:107 msgid "Error adding file to sketch archive" msgstr "将文件添加到项目存档时出错" @@ -662,11 +654,11 @@ msgstr "将文件添加到项目存档时出错" msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "在 %[1]s 中存档构建内核(缓存)时出错:%[2]s" -#: cli/sketch/archive.go:79 +#: cli/sketch/archive.go:81 msgid "Error archiving: %v" msgstr "错误归档:%v" -#: commands/sketch/archive.go:93 +#: commands/sketch/archive.go:95 msgid "Error calculating relative file path" msgstr "计算相对文件路径时出错" @@ -687,11 +679,11 @@ msgstr "新建实例时出错:%v" msgid "Error creating output dir" msgstr "新建输出目录时出错" -#: commands/sketch/archive.go:81 +#: commands/sketch/archive.go:83 msgid "Error creating sketch archive" msgstr "新建项目存档时出错" -#: cli/sketch/new.go:52 cli/sketch/new.go:61 +#: cli/sketch/new.go:57 cli/sketch/new.go:67 msgid "Error creating sketch: %v" msgstr "新建项目时出错:%v" @@ -736,7 +728,7 @@ msgstr "下载 %s 工具时出错" msgid "Error during Debug: %v" msgstr "调试时出错:%v" -#: cli/arguments/port.go:157 +#: cli/arguments/port.go:150 msgid "Error during FQBN detection: %v" msgstr "检测FQBN时出错:%v" @@ -791,10 +783,6 @@ msgstr "获取项目存档的绝对路径时出错" msgid "Error getting board details: %v" msgstr "获取开发板详细信息时出错:%v" -#: commands/board/list.go:154 -msgid "Error getting board info from Arduino Cloud" -msgstr "从 Arduino Cloud 获取开发板信息时出错" - #: arduino/builder/compilation_database.go:78 msgid "Error getting current directory for compilation database: %s" msgstr "获取编译数据库的当前目录时出错:%s" @@ -807,7 +795,7 @@ msgstr "获取 %s 库的信息时出错" msgid "Error getting libraries info: %v" msgstr "获取库信息时出错:%v" -#: cli/arguments/fqbn.go:99 +#: cli/arguments/fqbn.go:97 msgid "Error getting port metadata: %v" msgstr "获取端口元数据出错:%v" @@ -896,7 +884,7 @@ msgstr "读取构建目录时出错" msgid "Error reading config file: %v" msgstr "读取配置文件时出错:%v" -#: commands/sketch/archive.go:75 +#: commands/sketch/archive.go:77 msgid "Error reading sketch files" msgstr "读取项目文件时出错" @@ -924,6 +912,10 @@ msgstr "保存下载的索引时出错" msgid "Error saving downloaded index signature" msgstr "保存已下载的索引签名时出错" +#: cli/board/attach.go:70 cli/board/attach.go:80 +msgid "Error saving sketch metadata" +msgstr "" + #: cli/board/search.go:62 msgid "Error searching boards: %v" msgstr "搜索开发板时错误:%v" @@ -1010,12 +1002,12 @@ msgstr "可执行调试" msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "应在 %s 目录中编译项目,但它是一个文件" -#: cli/board/attach.go:40 cli/board/details.go:43 cli/board/list.go:91 +#: cli/board/attach.go:31 cli/board/details.go:43 cli/board/list.go:91 #: cli/board/list.go:131 cli/board/listall.go:87 cli/board/search.go:85 msgid "FQBN" msgstr "FQBN" -#: cli/board/details.go:120 +#: cli/board/details.go:121 msgid "FQBN:" msgstr "FQBN:" @@ -1063,7 +1055,7 @@ msgstr "未能侦听TCP端口:%s。地址已被使用。" msgid "Failed uploading" msgstr "上传失败" -#: cli/board/details.go:165 +#: cli/board/details.go:168 msgid "File:" msgstr "文件:" @@ -1143,15 +1135,16 @@ msgstr " 个全局变量使用 %[1]s 个字节(%[3]s%%)的动态内存,剩 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "全局变量使用 %[1]s 字节的动态内存。" -#: cli/core/list.go:87 cli/core/search.go:108 cli/monitor/monitor.go:195 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 +#: cli/monitor/monitor.go:195 msgid "ID" msgstr "ID" -#: cli/board/details.go:92 cli/board/details.go:193 +#: cli/board/details.go:92 msgid "Id" msgstr "Id" -#: cli/board/details.go:134 +#: cli/board/details.go:135 msgid "Identification properties:" msgstr "标识属性:" @@ -1177,12 +1170,12 @@ msgstr "在存档中包含 %s 目录。" msgid "Installed" msgstr "已安装" -#: commands/lib/install.go:152 +#: commands/lib/install.go:129 msgid "Installed %s" msgstr "已安装 %s" #: arduino/cores/packagemanager/install_uninstall.go:312 -#: commands/lib/install.go:128 +#: commands/lib/install.go:115 msgid "Installing %s" msgstr "正在安装 %s" @@ -1220,10 +1213,6 @@ msgid "" "Invalid Call : should show Help, but it is available only in TEXT mode." msgstr "无效调用:应显示帮助,但仅在文本模式下可用。" -#: commands/board/attach.go:67 -msgid "Invalid Device URL format" -msgstr "设备地址格式无效" - #: arduino/errors.go:62 msgid "Invalid FQBN" msgstr "无效的 FQBN" @@ -1249,10 +1238,6 @@ msgstr "传递的参数无效:%v" msgid "Invalid data size regexp: %s" msgstr "无效的数据大小正则表达式:%s" -#: commands/board/attach.go:77 -msgid "Invalid device port type provided" -msgstr "提供的设备端口类型无效" - #: legacy/builder/phases/sizer.go:215 msgid "Invalid eeprom size regexp: %s" msgstr "无效的 eeprom 大小正则表达式:%s" @@ -1289,7 +1274,7 @@ msgstr "%s 中的软件包索引无效" msgid "Invalid parameter %s: version not allowed" msgstr "无效 %s 参数:版本不允许" -#: commands/board/list.go:59 +#: commands/board/list.go:78 msgid "Invalid pid value: '%s'" msgstr "无效的pid值:‘%s’" @@ -1313,7 +1298,7 @@ msgstr "超时无效:%s" msgid "Invalid version" msgstr "无效的版本" -#: commands/board/list.go:56 +#: commands/board/list.go:75 msgid "Invalid vid value: '%s'" msgstr "无效的vid值:‘%s’" @@ -1344,7 +1329,8 @@ msgstr "最新的" msgid "Library %[1]s has been declared precompiled:" msgstr "%[1]s 库已声明为预编译:" -#: commands/lib/install.go:96 +#: arduino/libraries/librariesmanager/install.go:134 +#: commands/lib/install.go:92 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "库 %[1]s 已经安装,但有不同的版本。:%[2]s" @@ -1374,7 +1360,7 @@ msgstr "库不能同时使用 ‘%[1]s’ 和 ‘%[2]s’ 文件夹。在 ‘%[3 msgid "Library install failed" msgstr "库安装失败" -#: commands/lib/install.go:162 commands/lib/install.go:172 +#: commands/lib/install.go:139 commands/lib/install.go:149 msgid "Library installed" msgstr "已安装的库" @@ -1498,7 +1484,7 @@ msgstr "监视端口设置:" msgid "Multiple libraries were found for \"%[1]s\"" msgstr "为 “%[1]s” 找到了多个库" -#: cli/board/details.go:193 cli/core/list.go:87 cli/core/search.go:108 +#: cli/board/details.go:196 cli/core/list.go:87 cli/core/search.go:108 #: cli/lib/list.go:131 msgid "Name" msgstr "名" @@ -1511,6 +1497,10 @@ msgstr "名:“%s”" msgid "No boards found." msgstr "没有找到开发板" +#: cli/board/attach.go:113 +msgid "No default port or FQBN set" +msgstr "" + #: cli/lib/examples.go:107 msgid "No libraries found." msgstr "没有找到库。" @@ -1543,10 +1533,6 @@ msgstr "没有可用于端口协议 %s 的监视器" msgid "No platforms matching your search." msgstr "没有与你的搜索匹配的平台。" -#: commands/board/attach.go:93 -msgid "No supported board found at %s" -msgstr "在 %s 找不到支持的开发板" - #: commands/upload/upload.go:421 msgid "No upload port found, using %s as fallback" msgstr "未找到上传端口,使用 %s 作为后备" @@ -1563,11 +1549,11 @@ msgstr "内存不足;有关减少空间的提示,请参见 %[1]s。" msgid "Not used: %[1]s" msgstr "未使用:%[1]s" -#: cli/board/details.go:164 +#: cli/board/details.go:167 msgid "OS:" msgstr "操作系统:" -#: cli/board/details.go:128 +#: cli/board/details.go:129 msgid "Official Arduino board:" msgstr "官方 Arduino 开发板:" @@ -1575,7 +1561,7 @@ msgstr "官方 Arduino 开发板:" msgid "Open a communication port with a board." msgstr "开启开发板的通信端口。" -#: cli/board/details.go:176 +#: cli/board/details.go:179 msgid "Option:" msgstr "选项:" @@ -1617,28 +1603,36 @@ msgstr "使用自定义值替代构建属性。可以对多个属性多次使用 msgid "Overwrite existing config file." msgstr "覆盖现有的配置文件。" +#: cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: cli/sketch/new.go:45 +msgid "Overwrites an existing .ino sketch." +msgstr "" + #: cli/core/download.go:36 cli/core/install.go:38 cli/core/uninstall.go:36 #: cli/core/upgrade.go:39 msgid "PACKAGER" msgstr "打包程序" -#: cli/board/details.go:144 +#: cli/board/details.go:145 msgid "Package URL:" msgstr "软件包地址:" -#: cli/board/details.go:143 +#: cli/board/details.go:144 msgid "Package maintainer:" msgstr "软件包维护者:" -#: cli/board/details.go:142 +#: cli/board/details.go:143 msgid "Package name:" msgstr "软件包名:" -#: cli/board/details.go:146 +#: cli/board/details.go:147 msgid "Package online help:" msgstr "软件包在线帮助" -#: cli/board/details.go:145 +#: cli/board/details.go:146 msgid "Package website:" msgstr "软件包网站:" @@ -1712,31 +1706,31 @@ msgstr "平台 ID" msgid "Platform ID is not correct" msgstr "平台 ID 不正确" -#: cli/board/details.go:152 +#: cli/board/details.go:153 msgid "Platform URL:" msgstr "平台地址:" -#: cli/board/details.go:151 +#: cli/board/details.go:152 msgid "Platform architecture:" msgstr "平台架构:" -#: cli/board/details.go:150 +#: cli/board/details.go:151 msgid "Platform category:" msgstr "平台类别:" -#: cli/board/details.go:157 +#: cli/board/details.go:158 msgid "Platform checksum:" msgstr "平台校验码:" -#: cli/board/details.go:153 +#: cli/board/details.go:154 msgid "Platform file name:" msgstr "平台文件名:" -#: cli/board/details.go:149 +#: cli/board/details.go:150 msgid "Platform name:" msgstr "平台名称:" -#: cli/board/details.go:155 +#: cli/board/details.go:156 msgid "Platform size (bytes):" msgstr "平台大小(字节):" @@ -1805,7 +1799,7 @@ msgstr "编译器名" msgid "Programmer to use, e.g: atmel_ice" msgstr "要使用的编译器,例如:atmel_ice" -#: cli/board/details.go:193 +#: cli/board/details.go:196 msgid "Programmers:" msgstr "编译器:" @@ -1825,7 +1819,7 @@ msgstr "提供包括:%s" msgid "Removes one or more values from a setting." msgstr "从设置中删除一个或多个值。" -#: commands/lib/install.go:141 +#: commands/lib/install.go:119 msgid "Replacing %[1]s with %[2]s" msgstr "将 %[1]s 替换为 %[2]s" @@ -1833,7 +1827,7 @@ msgstr "将 %[1]s 替换为 %[2]s" msgid "Replacing platform %[1]s with %[2]s" msgstr "用 %[2]s 替换 %[1]s 平台" -#: cli/board/details.go:161 +#: cli/board/details.go:164 msgid "Required tool:" msgstr "需要的工具:" @@ -1875,10 +1869,6 @@ msgstr "搜索一个或多个库数据(不区分大小写的搜索)。" msgid "Searches for one or more libraries data." msgstr "搜索一个或多个库数据。" -#: commands/board/attach.go:110 -msgid "Selected fqbn: %s" -msgstr "选择FQBN:%s" - #: cli/lib/search.go:157 msgid "Sentence: %s" msgstr "句子:%s" @@ -1891,6 +1881,12 @@ msgstr "服务器响应:%s" msgid "Sets a setting value." msgstr "设置一个值。" +#: cli/board/attach.go:33 +msgid "" +"Sets the default values for port and FQBN. If no port or FQBN are specified," +" the current default port and FQBN are displayed." +msgstr "" + #: cli/config/init.go:55 cli/config/init.go:56 msgid "Sets where to save the configuration file." msgstr "设置保存配置文件的位置。" @@ -1984,7 +1980,7 @@ msgstr "显示您系统上安装的 Arduino CLI 的版本号。" msgid "Shows version number of Arduino CLI." msgstr "显示 Arduino CLI 的版本号。" -#: cli/board/details.go:166 +#: cli/board/details.go:169 msgid "Size (bytes):" msgstr "大小(字节):" @@ -1994,7 +1990,7 @@ msgid "" "path" msgstr "项目不能位于生成路径中。请指定其他生成路径" -#: cli/sketch/new.go:65 +#: cli/sketch/new.go:71 msgid "Sketch created in: %s" msgstr "项目新建于:%s" @@ -2175,7 +2171,7 @@ msgstr "类型" msgid "Types: %s" msgstr "类型:%s" -#: cli/board/details.go:168 +#: cli/board/details.go:171 msgid "URL:" msgstr "地址:" @@ -2285,7 +2281,7 @@ msgid "" "Upload Arduino sketches. This does NOT compile the sketch prior to upload." msgstr "上传 Arduino 项目。不会在上传之前编译项目。" -#: cli/arguments/port.go:48 +#: cli/arguments/port.go:46 msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "上传端口地址,例如:COM3 或 /dev/ttyACM2" @@ -2293,7 +2289,7 @@ msgstr "上传端口地址,例如:COM3 或 /dev/ttyACM2" msgid "Upload port found on %s" msgstr "在 %s 上找到上传端口" -#: cli/arguments/port.go:52 +#: cli/arguments/port.go:50 msgid "Upload port protocol, e.g: serial" msgstr "上传端口协议,例如:串行" @@ -2334,12 +2330,6 @@ msgstr "已使用的平台" msgid "Used: %[1]s" msgstr "使用:%[1]s" -#: arduino/libraries/librariesmanager/install.go:56 -#: arduino/libraries/librariesmanager/install.go:119 -#: arduino/libraries/librariesmanager/install.go:203 -msgid "User directory not set" -msgstr "未设置用户目录" - #: legacy/builder/target_board_resolver.go:41 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "使用平台的 ‘%[1]s’ 开发板,在列出的文件夹中:%[2]s" @@ -2474,10 +2464,14 @@ msgstr "和" msgid "archive hash differs from hash in index" msgstr "存档哈希与索引中的哈希不同" -#: arduino/libraries/librariesmanager/install.go:150 +#: arduino/libraries/librariesmanager/install.go:191 msgid "archive is not valid: multiple files found in zip file top level" msgstr "存档无效:在 zip 文件顶层中找到多个文件" +#: arduino/libraries/librariesmanager/install.go:194 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + #: cli/sketch/archive.go:38 msgid "archivePath" msgstr "存档路径" @@ -2498,14 +2492,14 @@ msgstr "在 %s 中找不到二进制文件" msgid "board %s not found" msgstr "未找到开发板 %s" -#: commands/board/list.go:43 -msgid "board not found" -msgstr "未找到开发板" - #: cli/board/listall.go:38 cli/board/search.go:37 msgid "boardname" msgstr "开发板名" +#: arduino/libraries/librariesmanager/librariesmanager.go:154 +msgid "built-in libraries directory not set" +msgstr "" + #: arduino/discovery/discovery.go:308 arduino/discovery/discovery.go:331 #: arduino/discovery/discovery.go:353 arduino/discovery/discovery.go:392 #: arduino/discovery/discovery.go:418 @@ -2520,7 +2514,7 @@ msgstr "找不到 %s 的最新版本" msgid "can't find latest release of tool %s" msgstr "找不到 %s 工具的最新版本" -#: arduino/sketch/sketch.go:126 +#: arduino/sketch/sketch.go:108 msgid "can't find main Sketch file in %s" msgstr "在 %s 中找不到主项目文件" @@ -2580,8 +2574,8 @@ msgstr "通信不同步,应为 ‘%[1]s’,收到 ‘%[2]s’" msgid "computing hash: %s" msgstr "计算哈希:%s" -#: arduino/libraries/librariesmanager/install.go:227 -msgid "could not create directory %s: a file with the same name exists!" +#: arduino/libraries/librariesmanager/install.go:144 +msgid "copying library to destination directory:" msgstr "" #: commands/upload/upload.go:623 @@ -2592,10 +2586,15 @@ msgstr "找不到有效的构建项目" msgid "could not overwrite" msgstr "无法覆盖" -#: commands/lib/install.go:149 +#: commands/lib/install.go:122 msgid "could not remove old library" msgstr "" +#: arduino/sketch/yaml.go:78 arduino/sketch/yaml.go:82 +#: arduino/sketch/yaml.go:86 +msgid "could not update sketch project file" +msgstr "" + #: arduino/cores/packagemanager/install_uninstall.go:208 msgid "creating installed.json in %[1]s: %[2]s" msgstr "在 %[1]s 中创建installed.json:%[2]s" @@ -2608,10 +2607,6 @@ msgstr "新建用于提取的临时目录:%s" msgid "data section exceeds available space in board" msgstr "数据部分超出开发板中的可用空间" -#: arduino/sketch/sketch.go:232 -msgid "decoding sketch metadata: %s" -msgstr "解析项目元数据:%s" - #: commands/lib/resolve_deps.go:56 msgid "dependency '%s' is not available" msgstr "‘%s’ 依赖不可用" @@ -2620,11 +2615,15 @@ msgstr "‘%s’ 依赖不可用" msgid "destination already exists" msgstr "目标已存在" -#: arduino/libraries/librariesmanager/install.go:90 +#: arduino/libraries/librariesmanager/install.go:92 msgid "destination dir %s already exists, cannot install" msgstr "%s 目录已经存在,无法安装" -#: arduino/libraries/librariesmanager/install.go:308 +#: arduino/libraries/librariesmanager/install.go:141 +msgid "destination directory already exists" +msgstr "" + +#: arduino/libraries/librariesmanager/install.go:281 msgid "directory doesn't exist: %s" msgstr "目录不存在:%s" @@ -2652,7 +2651,7 @@ msgstr "下载特定版本(在本例中为 1.6.9)。" msgid "download the latest version of Arduino SAMD core." msgstr "下载最新版本的 Arduino SAMD 内核。" -#: cli/output/rpc_progress.go:85 +#: cli/output/rpc_progress.go:84 msgid "downloaded" msgstr "" @@ -2664,11 +2663,7 @@ msgstr "正在下载 %[1]s 工具:%[2]s" msgid "empty board identifier" msgstr "空开发板标识符" -#: arduino/sketch/sketch.go:221 -msgid "encoding sketch metadata: %s" -msgstr "编译项目元数据:%s" - -#: arduino/sketch/sketch.go:112 +#: arduino/sketch/sketch.go:94 msgid "error loading sketch project file:" msgstr "加载项目文件时错误:" @@ -2680,15 +2675,15 @@ msgstr " 开启 %s 时错误" msgid "error parsing value: %v" msgstr "错误解析值:%v" -#: arduino/sketch/profiles.go:181 +#: arduino/sketch/profiles.go:193 msgid "error parsing version constraints" msgstr "解析版本约束时错误" -#: commands/board/list.go:89 +#: commands/board/list.go:115 msgid "error processing response from server" msgstr "处理来自服务器的响应时出错" -#: commands/board/list.go:104 +#: commands/board/list.go:95 msgid "error querying Arduino Cloud Api" msgstr "查询 Arduino Cloud Api 时出错" @@ -2696,7 +2691,7 @@ msgstr "查询 Arduino Cloud Api 时出错" msgid "extracting archive: %s" msgstr "正在提取存档:%s" -#: arduino/libraries/librariesmanager/install.go:138 +#: arduino/libraries/librariesmanager/install.go:182 msgid "extracting archive: %w" msgstr "正在提取存档:%w" @@ -2704,7 +2699,7 @@ msgstr "正在提取存档:%w" msgid "failed to compute hash of file \"%s\"" msgstr "无法计算 “%s” 文件的哈希值" -#: commands/board/list.go:72 +#: commands/board/list.go:90 msgid "failed to initialize http client" msgstr "未能初始化 http 客户端" @@ -2740,11 +2735,11 @@ msgstr "最新版本。" msgid "for the specific version." msgstr "针对特定版本。" -#: inventory/inventory.go:68 +#: inventory/inventory.go:69 msgid "generating installation.id: %w" msgstr "正在生成安装 id: %w" -#: inventory/inventory.go:74 +#: inventory/inventory.go:75 msgid "generating installation.secret: %w" msgstr "生成 installation.secret:%w" @@ -2782,11 +2777,7 @@ msgstr "正在获取 %[1]s 的父目录:%[2]s" msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "正在获取 %[1]s 平台的工具依赖:%[2]s" -#: arduino/sketch/sketch.go:176 -msgid "importing sketch metadata: %s" -msgstr "正在导入项目元数据:%s" - -#: arduino/libraries/librariesmanager/install.go:103 +#: arduino/libraries/librariesmanager/install.go:152 msgid "install directory not set" msgstr "未设置安装目录" @@ -2798,7 +2789,7 @@ msgstr "正在安装 %[1]s 工具:%[2]s" msgid "installing platform %[1]s: %[2]s" msgstr "安装 %[1]s 平台: %[2]s" -#: arduino/sketch/profiles.go:179 +#: arduino/sketch/profiles.go:191 msgid "invalid '%s' directive" msgstr "无效的 ‘%s’ 指令" @@ -2850,7 +2841,7 @@ msgstr "无效的空库版本:%s" msgid "invalid empty option found" msgstr "发现无效的空选项" -#: arduino/libraries/librariesmanager/install.go:298 +#: arduino/libraries/librariesmanager/install.go:271 msgid "invalid git url" msgstr "无效的git地址" @@ -2862,7 +2853,7 @@ msgstr "无效的 ‘%[1]s’ 哈希:%[2]s" msgid "invalid item %s" msgstr "无效的 %s 条目" -#: arduino/sketch/profiles.go:213 +#: arduino/sketch/profiles.go:225 msgid "invalid library directive:" msgstr "无效的库指令:" @@ -2878,11 +2869,11 @@ msgstr "无效的库 location:%s" msgid "invalid option '%s'" msgstr "无效的 ‘%s’ 选项 " -#: inventory/inventory.go:88 +#: inventory/inventory.go:94 msgid "invalid path creating config dir: %[1]s error: %[2]w" msgstr "新建配置目录的路径无效:%[1]s 错误:%[2]w" -#: inventory/inventory.go:94 +#: inventory/inventory.go:100 msgid "invalid path writing inventory file: %[1]s error: %[2]w" msgstr "写入库存文件的路径无效:%[1]s 错误:%[2]w" @@ -2890,11 +2881,11 @@ msgstr "写入库存文件的路径无效:%[1]s 错误:%[2]w" msgid "invalid platform archive size: %s" msgstr "无效的平台存档大小:%s" -#: arduino/sketch/profiles.go:183 +#: arduino/sketch/profiles.go:195 msgid "invalid platform identifier" msgstr "无效的平台标识符" -#: arduino/sketch/profiles.go:193 +#: arduino/sketch/profiles.go:205 msgid "invalid platform index URL:" msgstr "无效的平台索引网址:" @@ -2922,7 +2913,7 @@ msgstr "‘%[2]s’ 选项的 ‘%[1]s’ 值无效" msgid "invalid version directory %s" msgstr "%s 版本目录无效" -#: arduino/sketch/profiles.go:215 +#: arduino/sketch/profiles.go:227 msgid "invalid version:" msgstr "无效的版本:" @@ -2934,20 +2925,15 @@ msgstr "在设置中找不到键" msgid "keywords" msgstr "关键字" -#: arduino/libraries/librariesmanager/install.go:176 -#: arduino/libraries/librariesmanager/install.go:218 +#: arduino/libraries/librariesmanager/install.go:129 msgid "library %s already installed" msgstr "%s 库已安装" -#: arduino/libraries/librariesmanager/install.go:40 -msgid "library already installed" -msgstr "库已安装" - -#: arduino/libraries/librariesmanager/install.go:345 +#: arduino/libraries/librariesmanager/install.go:318 msgid "library not valid" msgstr "库无效" -#: arduino/libraries/librariesmanager/librariesmanager.go:188 +#: arduino/libraries/librariesmanager/librariesmanager.go:196 msgid "library path does not exist: %s" msgstr "库路径不存在:%s" @@ -2974,8 +2960,8 @@ msgstr "正在从 %s 下载附加工具" msgid "loading json index file %[1]s: %[2]s" msgstr "正在加载 %[1]s json 索引文件:%[2]s" -#: arduino/libraries/librariesmanager/librariesmanager.go:170 -#: arduino/libraries/librariesmanager/librariesmanager.go:193 +#: arduino/libraries/librariesmanager/librariesmanager.go:178 +#: arduino/libraries/librariesmanager/librariesmanager.go:201 msgid "loading library from %[1]s: %[2]s" msgstr "正在从 %[1]s 加载库:%[2]s" @@ -3008,11 +2994,11 @@ msgstr "在 %s 中加载工具发行版本" msgid "looking for boards.txt in %s" msgstr "在 %s 中查找 boards.txt" -#: arduino/sketch/sketch.go:91 +#: arduino/sketch/sketch.go:77 msgid "main file missing from sketch: %s" msgstr "项目中缺少主文件:%s" -#: arduino/sketch/profiles.go:177 +#: arduino/sketch/profiles.go:189 msgid "missing '%s' directive" msgstr "缺少 ‘%s’ 指令" @@ -3036,7 +3022,8 @@ msgstr "缺少平台 %[1]s 发行版本:%[2]s 被开发板 %[3]s 引用" msgid "monitor release not found: %s" msgstr "未找到公开监视器:%s" -#: arduino/libraries/librariesmanager/install.go:193 +#: arduino/libraries/librariesmanager/install.go:200 +#: arduino/libraries/librariesmanager/install.go:249 #: arduino/resources/install.go:96 msgid "moving extracted archive to destination dir: %s" msgstr "正在将提取的存档移动到目标目录:%s" @@ -3045,7 +3032,7 @@ msgstr "正在将提取的存档移动到目标目录:%s" msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "找到多个构建文件:‘%[1]s’ 和 ‘%[2]s’" -#: arduino/sketch/sketch.go:83 +#: arduino/sketch/sketch.go:69 msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "找到多个主项目文件 (%[1]v, %[2]v)" @@ -3065,7 +3052,7 @@ msgstr "没有指定实例" msgid "no sketch or build directory/file specified" msgstr "未指定项目或构建目录/文件" -#: arduino/sketch/sketch.go:70 +#: arduino/sketch/sketch.go:56 msgid "no such file or directory" msgstr "没有这样的文件或目录" @@ -3077,7 +3064,7 @@ msgstr "存档中没有唯一的根目录,找到了 ‘%[1]s’ 和 ‘%[2]s msgid "no upload port provided" msgstr "未提供上传端口" -#: arduino/sketch/sketch.go:293 +#: arduino/sketch/sketch.go:276 msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "在 %[1]s 中找不到有效的项目:缺少 %[2]s" @@ -3157,11 +3144,11 @@ msgstr "请改用 --build-property。" msgid "pluggable discovery already added: %s" msgstr "已添加可插入 discovery:%s" -#: cli/board/attach.go:40 +#: cli/board/attach.go:31 msgid "port" msgstr "端口" -#: cli/arguments/port.go:138 +#: cli/arguments/port.go:131 msgid "port not found: %[1]s %[2]s" msgstr "未找到端口:%[1]s %[2]s" @@ -3177,7 +3164,7 @@ msgstr "不支持协议版本:请求 1,得到 %d" msgid "reading %[1]s: %[2]s" msgstr "正在读取 %[1]s: %[2]s" -#: arduino/libraries/librariesmanager/librariesmanager.go:161 +#: arduino/libraries/librariesmanager/librariesmanager.go:169 msgid "reading dir %[1]s: %[2]s" msgstr "正在读取 %[1]s 目录 : %[2]s" @@ -3188,7 +3175,7 @@ msgstr "正在读取 %[1]s 目录 : %[2]s" msgid "reading directory %s" msgstr "正在读取 %s 目录" -#: arduino/libraries/librariesmanager/install.go:318 +#: arduino/libraries/librariesmanager/install.go:291 msgid "reading directory %s content: %w" msgstr "正在读取 %s 目录的内容:%w" @@ -3196,11 +3183,11 @@ msgstr "正在读取 %s 目录的内容:%w" msgid "reading file %[1]s: %[2]s" msgstr "正在读取 %[1]s 文件: %[2]s" -#: arduino/sketch/sketch.go:265 +#: arduino/sketch/sketch.go:207 msgid "reading files: %v" msgstr "正在读取文件:%v" -#: inventory/inventory.go:58 +#: inventory/inventory.go:59 msgid "reading inventory file: %w" msgstr "正在读取库存文件:%w" @@ -3224,10 +3211,6 @@ msgstr "正在读取 library_index.json: %s" msgid "reading package root dir: %s" msgstr "正在读取软件包根目录:%s" -#: arduino/sketch/sketch.go:213 -msgid "reading sketch metadata %[1]s: %[2]s" -msgstr "正在读取项目元数据 %[1]s:%[2]s" - #: commands/upload/upload.go:484 msgid "recipe not found '%s'" msgstr "未找到 ‘%s’ 方法" @@ -3245,9 +3228,9 @@ msgstr "发行不能为无" msgid "removing corrupted archive file: %s" msgstr "正在删除损坏的存档文件:%s" -#: arduino/libraries/librariesmanager/install.go:106 -msgid "removing lib directory: %s" -msgstr "正在删除lib目录:%s" +#: arduino/libraries/librariesmanager/install.go:155 +msgid "removing library directory: %s" +msgstr "" #: arduino/cores/packagemanager/install_uninstall.go:289 msgid "removing platform files: %s" @@ -3277,11 +3260,11 @@ msgstr "正在搜索软件包根目录:%s" msgid "setting DTR to OFF" msgstr "将 DTR 设置为 OFF" -#: arduino/sketch/sketch.go:63 arduino/sketch/sketch.go:68 +#: arduino/sketch/sketch.go:49 arduino/sketch/sketch.go:54 msgid "sketch path is not valid" msgstr "项目路径无效" -#: cli/board/attach.go:40 cli/sketch/archive.go:38 +#: cli/board/attach.go:31 cli/sketch/archive.go:38 msgid "sketchPath" msgstr "项目路径" @@ -3322,7 +3305,7 @@ msgstr "编译数据库可能不完整或不准确" msgid "the platform has no releases" msgstr "该平台没有发行版本" -#: commands/board/list.go:80 +#: commands/board/list.go:102 msgid "the server responded with status %s" msgstr "服务器响应状态 %s" @@ -3360,7 +3343,7 @@ msgstr "找不到发行工具:%s" msgid "tool version %s not found" msgstr "未找到工具的 %s 版本" -#: commands/lib/install.go:60 +#: commands/lib/install.go:61 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "需要 %[1]s 库的两个不同版本:%[2]s 和 %[3]s" @@ -3409,7 +3392,7 @@ msgstr "未知 %s 软件包 " msgid "unknown platform %s:%s" msgstr "未知 %s 平台:%s" -#: arduino/sketch/sketch.go:167 +#: arduino/sketch/sketch.go:149 msgid "unknown sketch file extension '%s'" msgstr "未知的项目文件扩展名 ‘%s’" @@ -3429,6 +3412,10 @@ msgstr "将所有内容升级到最新版本" msgid "uploading error: %s" msgstr "上传错误:%s" +#: arduino/libraries/librariesmanager/librariesmanager.go:152 +msgid "user directory not set" +msgstr "" + #: arduino/cores/packagemanager/profiles.go:176 msgid "version %s not available for this operating system" msgstr "%s 版本不适用于此操作系统" @@ -3437,10 +3424,6 @@ msgstr "%s 版本不适用于此操作系统" msgid "version %s not found" msgstr "未找到 %s 版本" -#: arduino/sketch/sketch.go:237 -msgid "writing sketch metadata %[1]s: %[2]s" -msgstr "正在编写项目元数据 %[1]s:%[2]s" - -#: commands/board/list.go:96 +#: commands/board/list.go:120 msgid "wrong format in server response" msgstr "服务器响应格式错误" diff --git a/internal/integrationtest/board/board_test.go b/internal/integrationtest/board/board_test.go index c243abd7843..b3ac071ddb4 100644 --- a/internal/integrationtest/board/board_test.go +++ b/internal/integrationtest/board/board_test.go @@ -326,7 +326,7 @@ func TestBoardDetailsListProgrammersWithoutFlag(t *testing.T) { for i, l := range split { lines[i] = strings.Fields(l) } - require.Contains(t, lines, []string{"Programmers:", "Id", "Name"}) + require.Contains(t, lines, []string{"Programmers:", "ID", "Name"}) require.Contains(t, lines, []string{"edbg", "Atmel", "EDBG"}) require.Contains(t, lines, []string{"atmel_ice", "Atmel-ICE"}) require.Contains(t, lines, []string{"sam_ice", "Atmel", "SAM-ICE"}) diff --git a/internal/integrationtest/compile_1/compile_test.go b/internal/integrationtest/compile_1/compile_test.go index c1f856d071b..7702ba0e4df 100644 --- a/internal/integrationtest/compile_1/compile_test.go +++ b/internal/integrationtest/compile_1/compile_test.go @@ -878,7 +878,7 @@ func TestCompileWithFullyPrecompiledLibrary(t *testing.T) { require.NoError(t, err) _, _, err = cli.Run("lib", "install", "--zip-path", wd.Parent().Join("testdata", "Arduino_TensorFlowLite-2.1.0-ALPHA-precompiled.zip").String()) require.NoError(t, err) - sketchFolder := cli.SketchbookDir().Join("libraries", "Arduino_TensorFlowLite-2.1.0-ALPHA-precompiled", "examples", "hello_world") + sketchFolder := cli.SketchbookDir().Join("libraries", "Arduino_TensorFlowLite", "examples", "hello_world") // Install example dependency _, _, err = cli.Run("lib", "install", "Arduino_LSM9DS1") diff --git a/internal/integrationtest/lib/lib_test.go b/internal/integrationtest/lib/lib_test.go index 435d26acf03..f8993925a28 100644 --- a/internal/integrationtest/lib/lib_test.go +++ b/internal/integrationtest/lib/lib_test.go @@ -17,10 +17,13 @@ package lib_test import ( "encoding/json" + "io" + "net/http" "strings" "testing" "github.com/arduino/arduino-cli/internal/integrationtest" + "github.com/arduino/go-paths-helper" "github.com/stretchr/testify/require" "go.bug.st/testifyjson/requirejson" ) @@ -145,6 +148,63 @@ func TestDuplicateLibInstallDetection(t *testing.T) { require.Contains(t, string(stdErr), "The library ArduinoOTA has multiple installations") } +func TestDuplicateLibInstallFromGitDetection(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + cliEnv := cli.GetDefaultEnv() + cliEnv["ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL"] = "true" + + // Make a double install in the sketchbook/user directory + _, _, err := cli.Run("lib", "install", "Arduino SigFox for MKRFox1200") + require.NoError(t, err) + + _, _, err = cli.RunWithCustomEnv(cliEnv, "lib", "install", "--git-url", "https://github.com/arduino-libraries/SigFox#1.0.3") + require.NoError(t, err) + + jsonOut, _, err := cli.Run("lib", "list", "--format", "json") + require.NoError(t, err) + // Count how many libraries with the name "Arduino SigFox for MKRFox1200" are installed + requirejson.Parse(t, jsonOut). + Query(`[.[].library.name | select(. == "Arduino SigFox for MKRFox1200")]`). + LengthMustEqualTo(1, "Found multiple installations of Arduino SigFox for MKRFox1200'") + + // Try to make a double install by upgrade + _, _, err = cli.Run("lib", "upgrade") + require.NoError(t, err) + + // Check if double install happened + jsonOut, _, err = cli.Run("lib", "list", "--format", "json") + require.NoError(t, err) + requirejson.Parse(t, jsonOut). + Query(`[.[].library.name | select(. == "Arduino SigFox for MKRFox1200")]`). + LengthMustEqualTo(1, "Found multiple installations of Arduino SigFox for MKRFox1200'") + + // Try to make a double install by zip-installing + tmp, err := paths.MkTempDir("", "") + require.NoError(t, err) + defer tmp.RemoveAll() + tmpZip := tmp.Join("SigFox.zip") + defer tmpZip.Remove() + + f, err := tmpZip.Create() + require.NoError(t, err) + resp, err := http.Get("https://github.com/arduino-libraries/SigFox/archive/refs/tags/1.0.3.zip") + require.NoError(t, err) + _, err = io.Copy(f, resp.Body) + require.NoError(t, err) + require.NoError(t, f.Close()) + + _, _, err = cli.RunWithCustomEnv(cliEnv, "lib", "install", "--zip-path", tmpZip.String()) + require.NoError(t, err) + + // Check if double install happened + jsonOut, _, err = cli.Run("lib", "list", "--format", "json") + require.NoError(t, err) + requirejson.Parse(t, jsonOut). + Query(`[.[].library.name | select(. == "Arduino SigFox for MKRFox1200")]`). + LengthMustEqualTo(1, "Found multiple installations of Arduino SigFox for MKRFox1200'") +} + func TestLibDepsOutput(t *testing.T) { env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) defer env.CleanUp() @@ -250,3 +310,369 @@ func TestUpgradeLibraryWithDependencies(t *testing.T) { dependency := jsonOut.Query(`.dependencies[] | select(.name=="MKRWAN")`) require.Equal(t, dependency.Query(".version_required"), dependency.Query(".version_installed")) } + +func TestList(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + // Init the environment explicitly + _, _, err := cli.Run("core", "update-index") + require.NoError(t, err) + + // When output is empty, nothing is printed out, no matter the output format + stdout, stderr, err := cli.Run("lib", "list") + require.NoError(t, err) + require.Empty(t, stderr) + require.Contains(t, string(stdout), "No libraries installed.") + stdout, stderr, err = cli.Run("lib", "list", "--format", "json") + require.NoError(t, err) + require.Empty(t, stderr) + requirejson.Empty(t, stdout) + + // Install something we can list at a version older than latest + _, _, err = cli.Run("lib", "install", "ArduinoJson@6.11.0") + require.NoError(t, err) + + // Look at the plain text output + stdout, stderr, err = cli.Run("lib", "list") + require.NoError(t, err) + require.Empty(t, stderr) + lines := strings.Split(strings.TrimSpace(string(stdout)), "\n") + require.Len(t, lines, 2) + lines[1] = strings.Join(strings.Fields(lines[1]), " ") + toks := strings.SplitN(lines[1], " ", 5) + // Verifies the expected number of field + require.Len(t, toks, 5) + // be sure line contain the current version AND the available version + require.NotEmpty(t, toks[1]) + require.NotEmpty(t, toks[2]) + // Verifies library sentence + require.Contains(t, toks[4], "An efficient and elegant JSON library...") + + // Look at the JSON output + stdout, stderr, err = cli.Run("lib", "list", "--format", "json") + require.NoError(t, err) + require.Empty(t, stderr) + requirejson.Len(t, stdout, 1) + // be sure data contains the available version + requirejson.Query(t, stdout, `.[0] | .release | .version != ""`, "true") + + // Install something we can list without provides_includes field given in library.properties + _, _, err = cli.Run("lib", "install", "Arduino_APDS9960@1.0.3") + require.NoError(t, err) + // Look at the JSON output + stdout, stderr, err = cli.Run("lib", "list", "Arduino_APDS9960", "--format", "json") + require.NoError(t, err) + require.Empty(t, stderr) + requirejson.Len(t, stdout, 1) + // be sure data contains the correct provides_includes field + requirejson.Query(t, stdout, ".[0] | .library | .provides_includes | .[0]", `"Arduino_APDS9960.h"`) +} + +func TestListExitCode(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + // Init the environment explicitly + _, _, err := cli.Run("core", "update-index") + require.NoError(t, err) + + _, _, err = cli.Run("core", "list") + require.NoError(t, err) + + // Verifies lib list doesn't fail when platform is not specified + _, stderr, err := cli.Run("lib", "list") + require.NoError(t, err) + require.Empty(t, stderr) + + // Verify lib list command fails because specified platform is not installed + _, stderr, err = cli.Run("lib", "list", "-b", "arduino:samd:mkr1000") + require.Error(t, err) + require.Contains(t, string(stderr), "Error listing Libraries: Unknown FQBN: platform arduino:samd is not installed") + + _, _, err = cli.Run("lib", "install", "AllThingsTalk LoRaWAN SDK") + require.NoError(t, err) + + // Verifies lib list command keeps failing + _, stderr, err = cli.Run("lib", "list", "-b", "arduino:samd:mkr1000") + require.Error(t, err) + require.Contains(t, string(stderr), "Error listing Libraries: Unknown FQBN: platform arduino:samd is not installed") + + _, _, err = cli.Run("core", "install", "arduino:samd") + require.NoError(t, err) + + // Verifies lib list command now works since platform has been installed + _, stderr, err = cli.Run("lib", "list", "-b", "arduino:samd:mkr1000") + require.NoError(t, err) + require.Empty(t, stderr) +} + +func TestListWithFqbn(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + // Init the environment explicitly + _, _, err := cli.Run("core", "update-index") + require.NoError(t, err) + + // Install core + _, _, err = cli.Run("core", "install", "arduino:avr") + require.NoError(t, err) + + // Look at the plain text output + _, _, err = cli.Run("lib", "install", "ArduinoJson") + require.NoError(t, err) + _, _, err = cli.Run("lib", "install", "wm8978-esp32") + require.NoError(t, err) + + // Look at the plain text output + stdout, stderr, err := cli.Run("lib", "list", "-b", "arduino:avr:uno") + require.NoError(t, err) + require.Empty(t, stderr) + lines := strings.Split(strings.TrimSpace(string(stdout)), "\n") + require.Len(t, lines, 2) + + // Verifies library is compatible + lines[1] = strings.Join(strings.Fields(lines[1]), " ") + toks := strings.SplitN(lines[1], " ", 5) + require.Len(t, toks, 5) + require.Equal(t, "ArduinoJson", toks[0]) + + // Look at the JSON output + stdout, stderr, err = cli.Run("lib", "list", "-b", "arduino:avr:uno", "--format", "json") + require.NoError(t, err) + require.Empty(t, stderr) + requirejson.Len(t, stdout, 1) + + // Verifies library is compatible + requirejson.Query(t, stdout, `.[0] | .library | .name`, `"ArduinoJson"`) + requirejson.Query(t, stdout, `.[0] | .library | .compatible_with | ."arduino:avr:uno"`, `true`) +} + +func TestListProvidesIncludesFallback(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + // Verifies "provides_includes" field is returned even if libraries don't declare + // the "includes" property in their "library.properties" file + _, _, err := cli.Run("update") + require.NoError(t, err) + + // Install core + _, _, err = cli.Run("core", "install", "arduino:avr@1.8.3") + require.NoError(t, err) + _, _, err = cli.Run("lib", "install", "ArduinoJson@6.17.2") + require.NoError(t, err) + + // List all libraries, even the ones installed with the above core + stdout, stderr, err := cli.Run("lib", "list", "--all", "--fqbn", "arduino:avr:uno", "--format", "json") + require.NoError(t, err) + require.Empty(t, stderr) + + requirejson.Len(t, stdout, 6) + + requirejson.Query(t, stdout, "[.[] | .library | { (.name): .provides_includes }] | add", + `{ + "SPI": [ + "SPI.h" + ], + "SoftwareSerial": [ + "SoftwareSerial.h" + ], + "Wire": [ + "Wire.h" + ], + "ArduinoJson": [ + "ArduinoJson.h", + "ArduinoJson.hpp" + ], + "EEPROM": [ + "EEPROM.h" + ], + "HID": [ + "HID.h" + ] + }`) +} + +func TestLibDownload(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + // Download a specific lib version + _, _, err := cli.Run("lib", "download", "AudioZero@1.0.0") + require.NoError(t, err) + require.FileExists(t, cli.DownloadDir().Join("libraries", "AudioZero-1.0.0.zip").String()) + + // Wrong lib version + _, _, err = cli.Run("lib", "download", "AudioZero@69.42.0") + require.Error(t, err) + + // Wrong lib + _, _, err = cli.Run("lib", "download", "AudioZ") + require.Error(t, err) +} + +func TestInstall(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + libs := []string{"Arduino_BQ24195", "CMMC MQTT Connector", "WiFiNINA"} + // Should be safe to run install multiple times + _, _, err := cli.Run("lib", "install", libs[0], libs[1], libs[2]) + require.NoError(t, err) + _, _, err = cli.Run("lib", "install", libs[0], libs[1], libs[2]) + require.NoError(t, err) + + // Test failing-install of library with wrong dependency + // (https://github.com/arduino/arduino-cli/issues/534) + _, stderr, err := cli.Run("lib", "install", "MD_Parola@3.2.0") + require.Error(t, err) + require.Contains(t, string(stderr), "No valid dependencies solution found: dependency 'MD_MAX72xx' is not available") +} + +func TestInstallLibraryWithDependencies(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + _, _, err := cli.Run("update") + require.NoError(t, err) + + // Verifies libraries are not installed + stdout, _, err := cli.Run("lib", "list", "--format", "json") + require.NoError(t, err) + requirejson.Empty(t, stdout) + + // Install library + _, _, err = cli.Run("lib", "install", "MD_Parola@3.5.5") + require.NoError(t, err) + + // Verifies library's dependencies are correctly installed + stdout, _, err = cli.Run("lib", "list", "--format", "json") + require.NoError(t, err) + requirejson.Query(t, stdout, `[ .[] | .library | .name ] | sort`, `["MD_MAX72XX","MD_Parola"]`) + + // Try upgrading with --no-overwrite (should fail) and without --no-overwrite (should succeed) + _, _, err = cli.Run("lib", "install", "MD_Parola@3.6.1", "--no-overwrite") + require.Error(t, err) + _, _, err = cli.Run("lib", "install", "MD_Parola@3.6.1") + require.NoError(t, err) + + // Test --no-overwrite with transitive dependencies + _, _, err = cli.Run("lib", "install", "SD") + require.NoError(t, err) + _, _, err = cli.Run("lib", "install", "Arduino_Builtin", "--no-overwrite") + require.NoError(t, err) + _, _, err = cli.Run("lib", "install", "SD@1.2.3") + require.NoError(t, err) + _, _, err = cli.Run("lib", "install", "Arduino_Builtin", "--no-overwrite") + require.Error(t, err) +} + +func TestInstallNoDeps(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + _, _, err := cli.Run("update") + require.NoError(t, err) + + // Verifies libraries are not installed + stdout, _, err := cli.Run("lib", "list", "--format", "json") + require.NoError(t, err) + requirejson.Empty(t, stdout) + + // Install library skipping dependencies installation + _, _, err = cli.Run("lib", "install", "MD_Parola@3.5.5", "--no-deps") + require.NoError(t, err) + + // Verifies library's dependencies are not installed + stdout, _, err = cli.Run("lib", "list", "--format", "json") + require.NoError(t, err) + requirejson.Query(t, stdout, `.[] | .library | .name`, `"MD_Parola"`) +} + +func TestInstallWithGitUrl(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + // Initialize configs to enable --git-url flag + envVar := cli.GetDefaultEnv() + envVar["ARDUINO_ENABLE_UNSAFE_LIBRARY_INSTALL"] = "true" + _, _, err := cli.RunWithCustomEnv(envVar, "config", "init", "--dest-dir", ".") + require.NoError(t, err) + + libInstallDir := cli.SketchbookDir().Join("libraries", "WiFi101") + // Verifies library is not already installed + require.NoDirExists(t, libInstallDir.String()) + + gitUrl := "https://github.com/arduino-libraries/WiFi101.git" + + // Test git-url library install + stdout, _, err := cli.Run("lib", "install", "--git-url", gitUrl) + require.NoError(t, err) + require.Contains(t, string(stdout), "--git-url and --zip-path flags allow installing untrusted files, use it at your own risk.") + + // Verifies library is installed in expected path + require.DirExists(t, libInstallDir.String()) + + // Reinstall library + _, _, err = cli.Run("lib", "install", "--git-url", gitUrl) + require.NoError(t, err) + + // Verifies library remains installed + require.DirExists(t, libInstallDir.String()) +} + +func TestInstallWithGitUrlFragmentAsBranch(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + // Initialize configs to enable --git-url flag + envVar := cli.GetDefaultEnv() + envVar["ARDUINO_ENABLE_UNSAFE_LIBRARY_INSTALL"] = "true" + _, _, err := cli.RunWithCustomEnv(envVar, "config", "init", "--dest-dir", ".") + require.NoError(t, err) + + libInstallDir := cli.SketchbookDir().Join("libraries", "WiFi101") + // Verifies library is not already installed + require.NoDirExists(t, libInstallDir.String()) + + gitUrl := "https://github.com/arduino-libraries/WiFi101.git" + + // Test that a bad ref fails + _, _, err = cli.Run("lib", "install", "--git-url", gitUrl+"#x-ref-does-not-exist") + require.Error(t, err) + + // Verifies library is installed in expected path + _, _, err = cli.Run("lib", "install", "--git-url", gitUrl+"#0.16.0") + require.NoError(t, err) + require.DirExists(t, libInstallDir.String()) + + // Reinstall library at an existing ref + _, _, err = cli.Run("lib", "install", "--git-url", gitUrl+"#master") + require.NoError(t, err) + + // Verifies library remains installed + require.DirExists(t, libInstallDir.String()) +} + +func TestUpdateIndex(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + stdout, _, err := cli.Run("lib", "update-index") + require.NoError(t, err) + require.Contains(t, string(stdout), "Downloading index: library_index.tar.bz2 downloaded") +} + +func TestUninstall(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + libs := []string{"Arduino_BQ24195", "WiFiNINA"} + _, _, err := cli.Run("lib", "install", libs[0], libs[1]) + require.NoError(t, err) + + _, _, err = cli.Run("lib", "uninstall", libs[0], libs[1]) + require.NoError(t, err) +} diff --git a/internal/integrationtest/sketch/sketch_test.go b/internal/integrationtest/sketch/sketch_test.go index 27fd2705dff..496236b31d1 100644 --- a/internal/integrationtest/sketch/sketch_test.go +++ b/internal/integrationtest/sketch/sketch_test.go @@ -362,3 +362,52 @@ func TestSketchArchiveCaseMismatchFails(t *testing.T) { require.Error(t, err) require.Contains(t, string(stderr), "Error archiving: Can't open sketch:") } + +func TestSketchNewDotArgOverwrite(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + sketchNew := "SketchNewDotArgOverwrite" + sketchPath := cli.SketchbookDir().Join(sketchNew) + require.NoError(t, sketchPath.MkdirAll()) + + cli.SetWorkingDir(sketchPath) + require.NoFileExists(t, sketchPath.Join(sketchNew+".ino").String()) + // Create a new sketch + _, _, err := cli.Run("sketch", "new", ".") + require.NoError(t, err) + + require.FileExists(t, sketchPath.Join(sketchNew+".ino").String()) + // Tries to overwrite the existing sketch with a new one, but it should fail + _, stderr, err := cli.Run("sketch", "new", ".") + require.Error(t, err) + require.Contains(t, string(stderr), ".ino file already exists") + + // Create a new sketch, overwriting the existing one + _, _, err = cli.Run("sketch", "new", ".", "--overwrite") + require.NoError(t, err) + require.FileExists(t, sketchPath.Join(sketchNew+".ino").String()) +} + +func TestSketchArchiveOverwrite(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + sketchName := "ArchiveSketchOverwrite" + sketchPath := cli.SketchbookDir().Join(sketchName) + + _, _, err := cli.Run("sketch", "new", sketchPath.String()) + require.NoError(t, err) + + _, _, err = cli.Run("sketch", "archive", sketchPath.String()) + require.NoError(t, err) + + // It is not possibile to override an archive by default + _, stderr, err := cli.Run("sketch", "archive", sketchPath.String()) + require.Error(t, err) + require.Contains(t, string(stderr), "Archive already exists") + + // Override is enabled by the "overwrite" flag + _, _, err = cli.Run("sketch", "archive", sketchPath.String(), "--overwrite") + require.NoError(t, err) +} diff --git a/internal/integrationtest/testdata/installed.json b/internal/integrationtest/testdata/installed.json index 6ed9458a0d3..53e37b7085e 100644 --- a/internal/integrationtest/testdata/installed.json +++ b/internal/integrationtest/testdata/installed.json @@ -1814,36 +1814,43 @@ "host": "i386-apple-darwin11", "url": "http://downloads.arduino.cc/tools/dfu-util-0.11.0-arduino3-osx.tar.bz2", "archiveFileName": "dfu-util-0.11.0-arduino3-osx.tar.bz2", - "size": "78971", - "checksum": "SHA-256:75a396bbb919157f7a38250869ad11028c456af2d9852ae85dde05ba657d50d3" + "size": "79057", + "checksum": "SHA-256:81d88dae0ed068a7bdde14d7cd56c9b953a3aea87aaaf4bcbaf022ba7df47ad5" }, { "host": "arm-linux-gnueabihf", "url": "http://downloads.arduino.cc/tools/dfu-util-0.11.0-arduino3-arm.tar.bz2", "archiveFileName": "dfu-util-0.11.0-arduino3-arm.tar.bz2", - "size": "288723", - "checksum": "SHA-256:c7772deb103514e08ad8b70752e59aa5db3c6ace96fc4ea6bf85f07e824e7cd6" + "size": "241168", + "checksum": "SHA-256:27fb1fc8ba19df08f1805236083c7199f59bdaaacacceead98fee0e817e48425" + }, + { + "host": "aarch64-linux-gnu", + "url": "http://downloads.arduino.cc/tools/dfu-util-0.11.0-arduino3-arm64.tar.bz2", + "archiveFileName": "dfu-util-0.11.0-arduino3-arm64.tar.bz2", + "size": "282961", + "checksum": "SHA-256:5f212524b6338d06bf833a2375f1012740e0a359c81ad1ff728222cc93a28586" }, { "host": "x86_64-linux-gnu", "url": "http://downloads.arduino.cc/tools/dfu-util-0.11.0-arduino3-linux64.tar.bz2", "archiveFileName": "dfu-util-0.11.0-arduino3-linux64.tar.bz2", - "size": "81861", - "checksum": "SHA-256:4989f33f2e7b9da2973b397b127843478967d6846f4b763823cce342aa34dd0f" + "size": "78422", + "checksum": "SHA-256:6a72e62546d4ba1c0c05c00a1e4863b23ab99e1224e6325b458207822fbf0da4" }, { "host": "i686-linux-gnu", "url": "http://downloads.arduino.cc/tools/dfu-util-0.11.0-arduino3-linux32.tar.bz2", "archiveFileName": "dfu-util-0.11.0-arduino3-linux32.tar.bz2", - "size": "81885", - "checksum": "SHA-256:c6d96acef36773044056be4a592c65416ca831a68f6f36c13f5de730948c870b" + "size": "82825", + "checksum": "SHA-256:d6e5bd3d1861ac01dc85e85ae44667346a18f56537a95fe63e9dc71b1adeac99" }, { "host": "i686-mingw32", "url": "http://downloads.arduino.cc/tools/dfu-util-0.11.0-arduino3-windows.tar.bz2", "archiveFileName": "dfu-util-0.11.0-arduino3-windows.tar.bz2", - "size": "635831", - "checksum": "SHA-256:f951ffce899108096eb61ccc892b7ba80cae4314ef5463e75e0e1acab21d05b6" + "size": "635719", + "checksum": "SHA-256:7dccfadc260c5b13f7267fcd9ed610571bc74f6f64a85c20541c9ae48a1833b3" } ] }, @@ -2394,6 +2401,61 @@ } ] }, + { + "name": "arduinoOTA", + "version": "1.4.0", + "systems": [ + { + "host": "i686-pc-linux-gnu", + "url": "https://downloads.arduino.cc/tools/arduinoOTA/arduinoOTA_1.4.0_Linux_32bit.tar.gz", + "archiveFileName": "arduinoOTA_1.4.0_Linux_32bit.tar.gz", + "size": "3742108", + "checksum": "SHA-256:9080b00d784c51bfd3703ae6a1c3c28ac6a2509356c319d44cd87cdb54853f50" + }, + { + "host": "x86_64-pc-linux-gnu", + "url": "https://downloads.arduino.cc/tools/arduinoOTA/arduinoOTA_1.4.0_Linux_64bit.tar.gz", + "archiveFileName": "arduinoOTA_1.4.0_Linux_64bit.tar.gz", + "size": "3984473", + "checksum": "SHA-256:6bbc317b82753bdae5a98a5785f7ba91171fa4d43c50333801af32c9076b94dc" + }, + { + "host": "i686-mingw32", + "url": "https://downloads.arduino.cc/tools/arduinoOTA/arduinoOTA_1.4.0_Windows_32bit.zip", + "archiveFileName": "arduinoOTA_1.4.0_Windows_32bit.zip", + "size": "3723215", + "checksum": "SHA-256:2cd10357d743fb678fff73dae73ae52ed310db09d103819702d53add13ca0bbb" + }, + { + "host": "x86_64-mingw32", + "url": "https://downloads.arduino.cc/tools/arduinoOTA/arduinoOTA_1.4.0_Windows_64bit.zip", + "archiveFileName": "arduinoOTA_1.4.0_Windows_64bit.zip", + "size": "3895744", + "checksum": "SHA-256:05eeebd155cb53e9528ab132bc00af76719f4c082cdcd0fee1f9cd96c56ecdd4" + }, + { + "host": "x86_64-apple-darwin", + "url": "https://downloads.arduino.cc/tools/arduinoOTA/arduinoOTA_1.4.0_macOS_64bit.tar.gz", + "archiveFileName": "arduinoOTA_1.4.0_macOS_64bit.tar.gz", + "size": "3955987", + "checksum": "SHA-256:c5e7f3c7cc823bceb617a57ba6875710957a7090d059a5335daffcc2b19cbad4" + }, + { + "host": "arm-linux-gnueabihf", + "url": "https://downloads.arduino.cc/tools/arduinoOTA/arduinoOTA_1.4.0_Linux_ARMv6.tar.gz", + "archiveFileName": "arduinoOTA_1.4.0_Linux_ARMv6.tar.gz", + "size": "3583605", + "checksum": "SHA-256:d2c75b73db96c22c01b68326539eecab1100f55a30bf7aab0cfa3942583e58c8" + }, + { + "host": "arm64-linux-gnueabihf", + "url": "https://downloads.arduino.cc/tools/arduinoOTA/arduinoOTA_1.4.0_Linux_ARM64.tar.gz", + "archiveFileName": "arduinoOTA_1.4.0_Linux_ARM64.tar.gz", + "size": "3649252", + "checksum": "SHA-256:98e311c3e84a7fa7403d52d33fcd67ee90ba816b9628379f65446e259e3197b2" + } + ] + }, { "name": "arduinoOTA", "version": "1.3.0", diff --git a/rpc/cc/arduino/cli/commands/v1/commands.pb.go b/rpc/cc/arduino/cli/commands/v1/commands.pb.go index 08d689d25d0..91729aeaa13 100644 --- a/rpc/cc/arduino/cli/commands/v1/commands.pb.go +++ b/rpc/cc/arduino/cli/commands/v1/commands.pb.go @@ -194,6 +194,7 @@ type InitResponse struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Message: + // // *InitResponse_InitProgress // *InitResponse_Error // *InitResponse_Profile @@ -670,6 +671,8 @@ type NewSketchRequest struct { // Default Sketchbook directory "directories.User" is used if sketch_dir is // empty. SketchDir string `protobuf:"bytes,3,opt,name=sketch_dir,json=sketchDir,proto3" json:"sketch_dir,omitempty"` + // Specificies if an existing .ino sketch should be overwritten + Overwrite bool `protobuf:"varint,4,opt,name=overwrite,proto3" json:"overwrite,omitempty"` } func (x *NewSketchRequest) Reset() { @@ -725,6 +728,13 @@ func (x *NewSketchRequest) GetSketchDir() string { return "" } +func (x *NewSketchRequest) GetOverwrite() bool { + if x != nil { + return x.Overwrite + } + return false +} + type NewSketchResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -927,6 +937,8 @@ type ArchiveSketchRequest struct { ArchivePath string `protobuf:"bytes,2,opt,name=archive_path,json=archivePath,proto3" json:"archive_path,omitempty"` // Specifies if build directory should be included in the archive IncludeBuildDir bool `protobuf:"varint,3,opt,name=include_build_dir,json=includeBuildDir,proto3" json:"include_build_dir,omitempty"` + // Allows to override an already existing archive + Overwrite bool `protobuf:"varint,4,opt,name=overwrite,proto3" json:"overwrite,omitempty"` } func (x *ArchiveSketchRequest) Reset() { @@ -982,6 +994,13 @@ func (x *ArchiveSketchRequest) GetIncludeBuildDir() bool { return false } +func (x *ArchiveSketchRequest) GetOverwrite() bool { + if x != nil { + return x.Overwrite + } + return false +} + type ArchiveSketchResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1185,7 +1204,7 @@ var file_cc_arduino_cli_commands_v1_commands_proto_rawDesc = []byte{ 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2b, 0x0a, 0x0f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x01, 0x0a, 0x10, 0x4e, 0x65, 0x77, 0x53, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xb2, 0x01, 0x0a, 0x10, 0x4e, 0x65, 0x77, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, @@ -1194,340 +1213,344 @@ var file_cc_arduino_cli_commands_v1_commands_proto_rawDesc = []byte{ 0x0a, 0x0b, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x44, 0x69, 0x72, 0x22, 0x30, - 0x0a, 0x11, 0x4e, 0x65, 0x77, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x69, 0x6e, 0x46, 0x69, 0x6c, 0x65, - 0x22, 0x76, 0x0a, 0x11, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, - 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6b, 0x65, 0x74, 0x63, - 0x68, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6b, - 0x65, 0x74, 0x63, 0x68, 0x50, 0x61, 0x74, 0x68, 0x22, 0xdb, 0x01, 0x0a, 0x12, 0x4c, 0x6f, 0x61, - 0x64, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x69, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, - 0x68, 0x12, 0x2c, 0x0a, 0x12, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x73, 0x6b, 0x65, 0x74, 0x63, - 0x68, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x6f, - 0x74, 0x68, 0x65, 0x72, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, - 0x29, 0x0a, 0x10, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, - 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x6f, - 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, - 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x6f, 0x6f, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, - 0x72, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x22, 0x86, 0x01, 0x0a, 0x14, 0x41, 0x72, 0x63, 0x68, 0x69, - 0x76, 0x65, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1f, 0x0a, 0x0b, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x50, - 0x61, 0x74, 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x62, - 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, - 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x69, 0x72, 0x22, - 0x17, 0x0a, 0x15, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xc9, 0x24, 0x0a, 0x12, 0x41, 0x72, 0x64, - 0x75, 0x69, 0x6e, 0x6f, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x61, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, - 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, - 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x04, 0x49, 0x6e, 0x69, 0x74, 0x12, 0x27, 0x2e, 0x63, 0x63, 0x2e, - 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, - 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, - 0x01, 0x12, 0x64, 0x0a, 0x07, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x12, 0x2a, 0x2e, 0x63, - 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, - 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, - 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x44, 0x69, 0x72, 0x12, 0x1c, + 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x22, 0x30, 0x0a, 0x11, + 0x4e, 0x65, 0x77, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x69, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x22, 0x76, + 0x0a, 0x11, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x5f, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6b, 0x65, 0x74, + 0x63, 0x68, 0x50, 0x61, 0x74, 0x68, 0x22, 0xdb, 0x01, 0x0a, 0x12, 0x4c, 0x6f, 0x61, 0x64, 0x53, + 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, + 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x6d, 0x61, 0x69, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, + 0x2c, 0x0a, 0x12, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x5f, + 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x74, 0x68, + 0x65, 0x72, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x29, 0x0a, + 0x10, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x6c, 0x65, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x6f, 0x6f, 0x74, + 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x6f, 0x6f, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x46, + 0x69, 0x6c, 0x65, 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x14, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, + 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x50, 0x61, 0x74, 0x68, 0x12, 0x21, + 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, + 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x6e, + 0x63, 0x6c, 0x75, 0x64, 0x65, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x69, 0x72, 0x12, 0x1c, 0x0a, + 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xc9, 0x24, 0x0a, 0x12, 0x41, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, + 0x43, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2a, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, + 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, + 0x0a, 0x04, 0x49, 0x6e, 0x69, 0x74, 0x12, 0x27, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x8d, 0x01, 0x0a, 0x14, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x12, 0x37, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x28, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x69, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x64, 0x0a, + 0x07, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x12, 0x2a, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, + 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, - 0x73, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, - 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x64, 0x0a, 0x07, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, - 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x31, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x12, 0x2e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x6a, 0x0a, 0x09, 0x4e, 0x65, 0x77, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x12, 0x2c, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x8d, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x37, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, + 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x63, 0x2e, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x62, + 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x64, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, - 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, - 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6b, 0x65, - 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, - 0x0a, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x12, 0x2d, 0x2e, 0x63, 0x63, - 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6b, 0x65, - 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x63, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, + 0x09, 0x4e, 0x65, 0x77, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x12, 0x2c, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6b, 0x65, 0x74, - 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x0d, - 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x12, 0x30, 0x2e, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6b, 0x65, 0x74, 0x63, + 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, + 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0a, 0x4c, 0x6f, 0x61, + 0x64, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x12, 0x2d, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, + 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x0d, 0x41, 0x72, 0x63, 0x68, + 0x69, 0x76, 0x65, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x12, 0x30, 0x2e, 0x63, 0x63, 0x2e, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x6b, + 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x63, + 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, + 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x71, 0x0a, 0x0c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x12, 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, + 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, + 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, + 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, + 0x6f, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x09, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x2c, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, + 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, + 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, + 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, + 0x0c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, - 0x76, 0x65, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, - 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x63, - 0x68, 0x69, 0x76, 0x65, 0x53, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x0c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x73, 0x12, 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, - 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, + 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x6e, 0x0a, 0x0b, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, + 0x2e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, + 0x72, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, + 0x72, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x7b, 0x0a, 0x0e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x61, 0x74, + 0x63, 0x68, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x09, 0x42, 0x6f, 0x61, 0x72, 0x64, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, + 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x61, 0x74, 0x63, + 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0x64, 0x0a, + 0x07, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x12, 0x2a, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, + 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, - 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x71, 0x0a, 0x0c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, - 0x6c, 0x12, 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, - 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, - 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, - 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x0b, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x12, 0x2e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, - 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, - 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7b, 0x0a, 0x0e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, - 0x74, 0x57, 0x61, 0x74, 0x63, 0x68, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x30, 0x01, 0x12, 0x7c, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x61, 0x74, - 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, - 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, - 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, - 0x01, 0x12, 0x64, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x12, 0x2a, 0x2e, 0x63, - 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, - 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x7c, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x32, 0x2e, 0x63, 0x63, 0x2e, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x73, 0x74, + 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, + 0x01, 0x12, 0x7f, 0x0a, 0x10, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x77, 0x6e, 0x6c, + 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, + 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, + 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, + 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x6e, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x7f, 0x0a, 0x10, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, - 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, - 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, + 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x7c, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x34, 0x2e, 0x63, - 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x06, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, + 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x8e, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, + 0x65, 0x72, 0x12, 0x38, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, - 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x7c, 0x0a, 0x0f, 0x50, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x32, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x63, + 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x55, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x86, 0x01, 0x0a, 0x13, 0x53, 0x75, + 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x73, 0x12, 0x36, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, + 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x63, 0x2e, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, + 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0xb0, 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x46, + 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x44, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, + 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, + 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, + 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, + 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x0e, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, 0x6f, + 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, + 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, + 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, 0x6f, 0x74, + 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, + 0x12, 0x77, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x06, 0x55, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x12, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, - 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, - 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, - 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x8e, 0x01, 0x0a, - 0x15, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x67, - 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x12, 0x38, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, - 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x50, - 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x39, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, - 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, - 0x6d, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x86, 0x01, - 0x0a, 0x13, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x36, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, - 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, - 0x72, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xb0, 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x50, - 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, - 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x44, 0x2e, 0x63, - 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, - 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, - 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, - 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x41, - 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x0e, 0x42, 0x75, 0x72, - 0x6e, 0x42, 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x12, 0x31, 0x2e, 0x63, 0x63, - 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, 0x6f, - 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, - 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x72, 0x6e, - 0x42, 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x30, 0x01, 0x12, 0x77, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, - 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, + 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x0c, 0x50, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, - 0x0c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x2e, - 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, - 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x7c, 0x0a, 0x0f, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x6c, - 0x6f, 0x61, 0x64, 0x12, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, + 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x0f, + 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, + 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, + 0x72, 0x61, 0x72, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x0e, 0x4c, 0x69, + 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x31, 0x2e, 0x63, + 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, + 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, + 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x0e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, + 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x44, 0x6f, 0x77, 0x6e, - 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x79, - 0x0a, 0x0e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, - 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, - 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, - 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x0e, 0x4c, 0x69, 0x62, - 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x31, 0x2e, 0x63, 0x63, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, + 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, + 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, + 0x12, 0x82, 0x01, 0x0a, 0x11, 0x5a, 0x69, 0x70, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x5a, 0x69, 0x70, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, + 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x5a, 0x69, 0x70, 0x4c, 0x69, 0x62, + 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x47, 0x69, 0x74, 0x4c, 0x69, 0x62, + 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, - 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, + 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x69, 0x74, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, + 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x69, 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x7f, 0x0a, 0x10, 0x4c, 0x69, + 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, - 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x5a, 0x69, 0x70, 0x4c, 0x69, 0x62, 0x72, - 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, - 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x5a, 0x69, 0x70, 0x4c, 0x69, 0x62, 0x72, 0x61, - 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, - 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x5a, 0x69, - 0x70, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x47, 0x69, - 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, - 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, - 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x69, 0x74, - 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, - 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x69, 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, - 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x7f, - 0x0a, 0x10, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, - 0x6c, 0x6c, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, - 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, - 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x6e, 0x69, 0x6e, - 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, - 0x82, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, - 0x64, 0x65, 0x41, 0x6c, 0x6c, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, - 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, - 0x65, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, - 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, - 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x30, 0x01, 0x12, 0x9b, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, - 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, - 0x69, 0x65, 0x73, 0x12, 0x3d, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, + 0x61, 0x72, 0x79, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x44, - 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, - 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x44, 0x65, - 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x74, 0x0a, 0x0d, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x12, 0x30, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, - 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, - 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x0b, 0x4c, 0x69, 0x62, 0x72, - 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, + 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, + 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6c, + 0x6c, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, + 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6c, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, - 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x07, 0x4d, 0x6f, 0x6e, 0x69, - 0x74, 0x6f, 0x72, 0x12, 0x2a, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, + 0x61, 0x64, 0x65, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, + 0x12, 0x9b, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, + 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, + 0x3d, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, + 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, + 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, + 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, + 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, + 0x0a, 0x0d, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, + 0x30, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, + 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, + 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x0b, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x2e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, + 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2b, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, + 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x07, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x12, + 0x2a, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x6e, - 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, - 0x12, 0xa1, 0x01, 0x0a, 0x1c, 0x45, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4d, 0x6f, - 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x73, 0x12, 0x3f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, - 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, - 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, - 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, - 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x45, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, - 0x50, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, - 0x6e, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x63, 0x2f, 0x61, 0x72, - 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x63, 0x6c, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x63, + 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0xa1, 0x01, 0x0a, + 0x1c, 0x45, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, + 0x72, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3f, 0x2e, + 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x65, + 0x72, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x53, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, + 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x75, 0x6d, + 0x65, 0x72, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x72, 0x74, + 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, 0x63, + 0x6c, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x63, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, + 0x6f, 0x2f, 0x63, 0x6c, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/rpc/cc/arduino/cli/commands/v1/commands.proto b/rpc/cc/arduino/cli/commands/v1/commands.proto index 699cfb6807e..03d8b470d41 100644 --- a/rpc/cc/arduino/cli/commands/v1/commands.proto +++ b/rpc/cc/arduino/cli/commands/v1/commands.proto @@ -255,6 +255,8 @@ message NewSketchRequest { // Default Sketchbook directory "directories.User" is used if sketch_dir is // empty. string sketch_dir = 3; + // Specificies if an existing .ino sketch should be overwritten + bool overwrite = 4; } message NewSketchResponse { @@ -291,6 +293,8 @@ message ArchiveSketchRequest { string archive_path = 2; // Specifies if build directory should be included in the archive bool include_build_dir = 3; + // Allows to override an already existing archive + bool overwrite = 4; } message ArchiveSketchResponse {} diff --git a/rpc/cc/arduino/cli/commands/v1/common.pb.go b/rpc/cc/arduino/cli/commands/v1/common.pb.go index 9f98f3d2d8a..9c588c14b65 100644 --- a/rpc/cc/arduino/cli/commands/v1/common.pb.go +++ b/rpc/cc/arduino/cli/commands/v1/common.pb.go @@ -89,6 +89,7 @@ type DownloadProgress struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Message: + // // *DownloadProgress_Start // *DownloadProgress_Update // *DownloadProgress_End diff --git a/rpc/cc/arduino/cli/commands/v1/lib.pb.go b/rpc/cc/arduino/cli/commands/v1/lib.pb.go index 02be303b665..bd315dc76bc 100644 --- a/rpc/cc/arduino/cli/commands/v1/lib.pb.go +++ b/rpc/cc/arduino/cli/commands/v1/lib.pb.go @@ -1770,7 +1770,8 @@ type Library struct { // Map of FQBNs that specifies if library is compatible with this library CompatibleWith map[string]bool `protobuf:"bytes,28,rep,name=compatible_with,json=compatibleWith,proto3" json:"compatible_with,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // This value is set to true if the library is in development and should not - // be treated as read-only. + // be treated as read-only. This status is determined by the presence of a + // `.development` file in the library root directory. InDevelopment bool `protobuf:"varint,29,opt,name=in_development,json=inDevelopment,proto3" json:"in_development,omitempty"` } diff --git a/rpc/cc/arduino/cli/debug/v1/debug.pb.go b/rpc/cc/arduino/cli/debug/v1/debug.pb.go index 2d1c9d5973b..11989af3fa8 100644 --- a/rpc/cc/arduino/cli/debug/v1/debug.pb.go +++ b/rpc/cc/arduino/cli/debug/v1/debug.pb.go @@ -216,7 +216,6 @@ func (x *DebugConfigRequest) GetProgrammer() string { return "" } -// type DebugResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/test/test_lib.py b/test/test_lib.py index 7bef2000548..4bfac88f39d 100644 --- a/test/test_lib.py +++ b/test/test_lib.py @@ -49,239 +49,6 @@ def download_lib(url, download_dir): z.close() -def test_list(run_command): - # Init the environment explicitly - run_command(["core", "update-index"]) - - # When output is empty, nothing is printed out, no matter the output format - result = run_command(["lib", "list"]) - assert result.ok - assert "" == result.stderr - assert "No libraries installed." in result.stdout.strip() - result = run_command(["lib", "list", "--format", "json"], hide=True) - assert result.ok - assert "" == result.stderr - assert 0 == len(json.loads(result.stdout)) - - # Install something we can list at a version older than latest - result = run_command(["lib", "install", "ArduinoJson@6.11.0"]) - assert result.ok - - # Look at the plain text output - result = run_command(["lib", "list"]) - assert result.ok - assert "" == result.stderr - lines = result.stdout.strip().splitlines() - assert 2 == len(lines) - toks = [t.strip() for t in lines[1].split(maxsplit=4)] - # Verifies the expected number of field - assert 5 == len(toks) - # be sure line contain the current version AND the available version - assert "" != toks[1] - assert "" != toks[2] - # Verifies library sentence - assert "An efficient and elegant JSON library..." == toks[4] - - # Look at the JSON output - result = run_command(["lib", "list", "--format", "json"], hide=True) - assert result.ok - assert "" == result.stderr - data = json.loads(result.stdout) - assert 1 == len(data) - # be sure data contains the available version - assert "" != data[0]["release"]["version"] - - # Install something we can list without provides_includes field given in library.properties - result = run_command(["lib", "install", "Arduino_APDS9960@1.0.3"]) - assert result.ok - # Look at the JSON output - result = run_command(["lib", "list", "Arduino_APDS9960", "--format", "json"]) - assert result.ok - assert "" == result.stderr - data = json.loads(result.stdout) - assert 1 == len(data) - # be sure data contains the correct provides_includes field - assert "Arduino_APDS9960.h" == data[0]["library"]["provides_includes"][0] - - -def test_list_exit_code(run_command): - # Init the environment explicitly - assert run_command(["core", "update-index"]) - - assert run_command(["core", "list"]) - - # Verifies lib list doesn't fail when platform is not specified - result = run_command(["lib", "list"]) - assert result.ok - assert result.stderr.strip() == "" - - # Verify lib list command fails because specified platform is not installed - result = run_command(["lib", "list", "-b", "arduino:samd:mkr1000"]) - assert result.failed - assert result.stderr.strip() == "Error listing Libraries: Unknown FQBN: platform arduino:samd is not installed" - - assert run_command(["lib", "install", "AllThingsTalk LoRaWAN SDK"]) - - # Verifies lib list command keeps failing - result = run_command(["lib", "list", "-b", "arduino:samd:mkr1000"]) - assert result.failed - assert result.stderr.strip() == "Error listing Libraries: Unknown FQBN: platform arduino:samd is not installed" - - assert run_command(["core", "install", "arduino:samd"]) - - # Verifies lib list command now works since platform has been installed - result = run_command(["lib", "list", "-b", "arduino:samd:mkr1000"]) - assert result.ok - assert result.stderr.strip() == "" - - -def test_list_with_fqbn(run_command): - # Init the environment explicitly - assert run_command(["core", "update-index"]) - - # Install core - assert run_command(["core", "install", "arduino:avr"]) - - # Install some library - assert run_command(["lib", "install", "ArduinoJson"]) - assert run_command(["lib", "install", "wm8978-esp32"]) - - # Look at the plain text output - result = run_command(["lib", "list", "-b", "arduino:avr:uno"]) - assert result.ok - assert "" == result.stderr - lines = result.stdout.strip().splitlines() - assert 2 == len(lines) - - # Verifies library is compatible - toks = [t.strip() for t in lines[1].split(maxsplit=4)] - assert 5 == len(toks) - assert "ArduinoJson" == toks[0] - - # Look at the JSON output - result = run_command(["lib", "list", "-b", "arduino:avr:uno", "--format", "json"], hide=True) - assert result.ok - assert "" == result.stderr - data = json.loads(result.stdout) - assert 1 == len(data) - - # Verifies library is compatible - assert data[0]["library"]["name"] == "ArduinoJson" - assert data[0]["library"]["compatible_with"]["arduino:avr:uno"] - - -def test_list_provides_includes_fallback(run_command): - # Verifies "provides_includes" field is returned even if libraries don't declare - # the "includes" property in their "library.properties" file - assert run_command(["update"]) - - # Install core - assert run_command(["core", "install", "arduino:avr@1.8.3"]) - assert run_command(["lib", "install", "ArduinoJson@6.17.2"]) - - # List all libraries, even the ones installed with the above core - result = run_command(["lib", "list", "--all", "--fqbn", "arduino:avr:uno", "--format", "json"], hide=True) - assert result.ok - assert "" == result.stderr - - data = json.loads(result.stdout) - assert 6 == len(data) - - libs = {l["library"]["name"]: l["library"]["provides_includes"] for l in data} - assert ["SoftwareSerial.h"] == libs["SoftwareSerial"] - assert ["Wire.h"] == libs["Wire"] - assert ["EEPROM.h"] == libs["EEPROM"] - assert ["HID.h"] == libs["HID"] - assert ["SPI.h"] == libs["SPI"] - assert ["ArduinoJson.h", "ArduinoJson.hpp"] == libs["ArduinoJson"] - - -def test_lib_download(run_command, downloads_dir): - - # Download a specific lib version - assert run_command(["lib", "download", "AudioZero@1.0.0"]) - assert Path(downloads_dir, "libraries", "AudioZero-1.0.0.zip").exists() - - # Wrong lib version - result = run_command(["lib", "download", "AudioZero@69.42.0"]) - assert result.failed - - # Wrong lib - result = run_command(["lib", "download", "AudioZ"]) - assert result.failed - - -def test_install(run_command): - libs = ["Arduino_BQ24195", "CMMC MQTT Connector", "WiFiNINA"] - # Should be safe to run install multiple times - assert run_command(["lib", "install"] + libs) - assert run_command(["lib", "install"] + libs) - - # Test failing-install of library with wrong dependency - # (https://github.com/arduino/arduino-cli/issues/534) - res = run_command(["lib", "install", "MD_Parola@3.2.0"]) - assert res.failed - assert "No valid dependencies solution found: dependency 'MD_MAX72xx' is not available" in res.stderr - - -def test_install_library_with_dependencies(run_command): - assert run_command(["update"]) - - # Verifies libraries are not installed - res = run_command(["lib", "list", "--format", "json"]) - assert res.ok - data = json.loads(res.stdout) - installed_libraries = [l["library"]["name"] for l in data] - assert "MD_Parola" not in installed_libraries - assert "MD_MAX72XX" not in installed_libraries - - # Install library - assert run_command(["lib", "install", "MD_Parola@3.5.5"]) - - # Verifies library's dependencies are correctly installed - res = run_command(["lib", "list", "--format", "json"]) - assert res.ok - data = json.loads(res.stdout) - installed_libraries = [l["library"]["name"] for l in data] - assert "MD_Parola" in installed_libraries - assert "MD_MAX72XX" in installed_libraries - - # Try upgrading with --no-overwrite (should fail) and without --no-overwrite (should succeed) - res = run_command(["lib", "install", "MD_Parola@3.6.1", "--no-overwrite"]) - assert res.failed - assert run_command(["lib", "install", "MD_Parola@3.6.1"]) - - # Test --no-overwrite with transitive dependencies - assert run_command(["lib", "install", "SD"]) - assert run_command(["lib", "install", "Arduino_Builtin", "--no-overwrite"]) - assert run_command(["lib", "install", "SD@1.2.3"]) - res = run_command(["lib", "install", "Arduino_Builtin", "--no-overwrite"]) - assert res.failed - - -def test_install_no_deps(run_command): - assert run_command(["update"]) - - # Verifies libraries are not installed - res = run_command(["lib", "list", "--format", "json"]) - assert res.ok - data = json.loads(res.stdout) - installed_libraries = [l["library"]["name"] for l in data] - assert "MD_Parola" not in installed_libraries - assert "MD_MAX72XX" not in installed_libraries - - # Install library skipping dependencies installation - assert run_command(["lib", "install", "MD_Parola@3.5.5", "--no-deps"]) - - # Verifies library's dependencies are not installed - res = run_command(["lib", "list", "--format", "json"]) - assert res.ok - data = json.loads(res.stdout) - installed_libraries = [l["library"]["name"] for l in data] - assert "MD_Parola" in installed_libraries - assert "MD_MAX72XX" not in installed_libraries - - def test_install_git_url_and_zip_path_flags_visibility(run_command, data_dir, downloads_dir): # Verifies installation fail because flags are not found git_url = "https://github.com/arduino-libraries/WiFi101.git" @@ -329,70 +96,6 @@ def test_install_git_url_and_zip_path_flags_visibility(run_command, data_dir, do assert "--git-url and --zip-path flags allow installing untrusted files, use it at your own risk." in res.stdout -def test_install_with_git_url(run_command, data_dir, downloads_dir): - # Initialize configs to enable --git-url flag - env = { - "ARDUINO_DATA_DIR": data_dir, - "ARDUINO_DOWNLOADS_DIR": downloads_dir, - "ARDUINO_SKETCHBOOK_DIR": data_dir, - "ARDUINO_ENABLE_UNSAFE_LIBRARY_INSTALL": "true", - } - assert run_command(["config", "init", "--dest-dir", "."], custom_env=env) - - lib_install_dir = Path(data_dir, "libraries", "WiFi101") - # Verifies library is not already installed - assert not lib_install_dir.exists() - - git_url = "https://github.com/arduino-libraries/WiFi101.git" - - # Test git-url library install - res = run_command(["lib", "install", "--git-url", git_url]) - assert res.ok - assert "--git-url and --zip-path flags allow installing untrusted files, use it at your own risk." in res.stdout - - # Verifies library is installed in expected path - assert lib_install_dir.exists() - - # Reinstall library - assert run_command(["lib", "install", "--git-url", git_url]) - - # Verifies library remains installed - assert lib_install_dir.exists() - - -def test_install_with_git_url_fragment_as_branch(run_command, data_dir, downloads_dir): - # Initialize configs to enable --git-url flag - env = { - "ARDUINO_DATA_DIR": data_dir, - "ARDUINO_DOWNLOADS_DIR": downloads_dir, - "ARDUINO_SKETCHBOOK_DIR": data_dir, - "ARDUINO_ENABLE_UNSAFE_LIBRARY_INSTALL": "true", - } - assert run_command(["config", "init", "--dest-dir", "."], custom_env=env) - - lib_install_dir = Path(data_dir, "libraries", "WiFi101") - # Verifies library is not already installed - assert not lib_install_dir.exists() - - git_url = "https://github.com/arduino-libraries/WiFi101.git" - - # Test that a bad ref fails - res = run_command(["lib", "install", "--git-url", git_url + "#x-ref-does-not-exist"]) - assert res.failed - - # Verifies library is installed in expected path - res = run_command(["lib", "install", "--git-url", git_url + "#0.16.0"]) - assert res.ok - assert lib_install_dir.exists() - - # Reinstall library at an existing ref - assert run_command(["lib", "install", "--git-url", git_url + "#master"]) - assert res.ok - - # Verifies library remains installed - assert lib_install_dir.exists() - - def test_install_with_zip_path(run_command, data_dir, downloads_dir): # Initialize configs to enable --zip-path flag env = { @@ -443,21 +146,6 @@ def test_install_with_zip_path(run_command, data_dir, downloads_dir): assert lib_install_dir / "README.adoc" in files -def test_update_index(run_command): - result = run_command(["lib", "update-index"]) - assert result.ok - lines = [l.strip() for l in result.stdout.splitlines()] - assert "Downloading index: library_index.tar.bz2 downloaded" in lines - - -def test_uninstall(run_command): - libs = ["Arduino_BQ24195", "WiFiNINA"] - assert run_command(["lib", "install"] + libs) - - result = run_command(["lib", "uninstall"] + libs) - assert result.ok - - def test_uninstall_spaces(run_command): key = "LiquidCrystal I2C" assert run_command(["lib", "install", key])