Skip to content

Update search.go #1954

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[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.
  • Loading branch information
per1234 committed Oct 28, 2022
commit 97b0ad93d7831c19507001c5d6a5950330fd4519
2 changes: 1 addition & 1 deletion cli/lib/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down