Skip to content

Commit 97b0ad9

Browse files
committed
[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.
1 parent 13f2255 commit 97b0ad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/lib/search.go

Lines changed: 1 addition & 1 deletion
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)