Skip to content

Commit b759820

Browse files
[skip changelog] Use correct plurality for word in error message (#1954)
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. Co-authored-by: per1234 <[email protected]>
1 parent 13f2255 commit b759820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cli/lib/search.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func runSearchCommand(cmd *cobra.Command, args []string) {
7676
Query: (strings.Join(args, " ")),
7777
})
7878
if err != nil {
79-
feedback.Errorf(tr("Error searching for Library: %v"), err)
79+
feedback.Errorf(tr("Error searching for Libraries: %v"), err)
8080
os.Exit(errorcodes.ErrGeneric)
8181
}
8282

0 commit comments

Comments
 (0)