cmd/snap: fix snap empty list text LP: #1587445 #1249

Merged
merged 4 commits into from Jun 1, 2016

Conversation

Projects
None yet
6 participants
Contributor

snappy-m-o commented May 31, 2016

Can one of the admins verify this patch?

Collaborator

mvo5 commented Jun 1, 2016

add to whitelist

cmd/snap/cmd_list.go
@@ -59,6 +59,9 @@ func listSnaps(args []string) error {
snaps, err := cli.ListSnaps(args)
if err != nil {
return err
+ } else if len(snaps) == 0 {
+ fmt.Println(i18n.G("No snaps are installed yet. Try 'snap install hello'."))
@elopio

elopio Jun 1, 2016

Member

It should be hello-world, instead of hello.

Member

elopio commented Jun 1, 2016

Thanks for your contribution, and welcome!

thibran commented Jun 1, 2016

Hi all. I signed the CLA and fixed the string, what is left to do to get the patch merged?

Paradiesstaub added some commits Jun 1, 2016

Contributor

zyga commented Jun 1, 2016

test this please

Contributor

zyga commented Jun 1, 2016

(this is a comment to our CI system, the author of the patch doesn't have to do anything)

Contributor

zyga commented Jun 1, 2016

Looks good to me, LGTM

@@ -367,10 +367,12 @@ msgstr ""
msgid "no interfaces found"
msgstr ""
+msgid "No snaps are installed yet. Try 'snap install hello'."
@zyga

zyga Jun 1, 2016

Contributor

This should be regenerated with ./update-pot but we can do that easily at release time.

Collaborator

mvo5 commented Jun 1, 2016

👍

@mvo5 mvo5 merged commit 48dc478 into snapcore:master Jun 1, 2016

1 of 3 checks passed

Integration tests Started
Details
autopkgtest Started
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@zyga zyga changed the title from fixed snap empty list text #1587445 to cmd/snap: fix snap empty list text LP: #1587445 Jun 1, 2016

@thibran thibran deleted the thibran:fix_snap_list_lp1587445 branch Jun 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment