From 97b0ad93d7831c19507001c5d6a5950330fd4519 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 27 Oct 2022 21:16:00 -0700 Subject: [PATCH] [skip changelog] Use correct plurality for word in error message The `lib search` command accepts search keywords as an argument. All libraries with metadata within the search scope matching those keywords will be returned. Previously, the error message used the singular form "library". Since the command is as likely to be used to search for libraries, using the plural form "libraries" is more appropriate. Users opened a task inside Transifex requesting this change. --- cli/lib/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/lib/search.go b/cli/lib/search.go index 0248a98ec7b..7a3885f5c31 100644 --- a/cli/lib/search.go +++ b/cli/lib/search.go @@ -76,7 +76,7 @@ func runSearchCommand(cmd *cobra.Command, args []string) { Query: (strings.Join(args, " ")), }) if err != nil { - feedback.Errorf(tr("Error searching for Library: %v"), err) + feedback.Errorf(tr("Error searching for Libraries: %v"), err) os.Exit(errorcodes.ErrGeneric) }