Merge lp:~hjd/command-not-found/typos into lp:command-not-found

Proposed by Hans Joachim Desserud
Status: Merged
Merged at revision: 238
Proposed branch: lp:~hjd/command-not-found/typos
Merge into: lp:command-not-found
Diff against target: 21 lines (+2/-2)
1 file modified
CommandNotFound/CommandNotFound.py (+2/-2)
To merge this branch: bzr merge lp:~hjd/command-not-found/typos
Reviewer Review Type Date Requested Status
Michael Vogt (community) Approve
Review via email: mp+340571@code.launchpad.net

Description of the change

Fixes a couple of typos.

The translation templates should probably be refreshed as a part of this MP, but I don't know how to to that. :)

To post a comment you must log in.
Revision history for this message
Michael Vogt (mvo) wrote :

Looks great, thank you!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CommandNotFound/CommandNotFound.py'
2--- CommandNotFound/CommandNotFound.py 2018-02-28 10:04:40 +0000
3+++ CommandNotFound/CommandNotFound.py 2018-03-04 09:44:43 +0000
4@@ -230,7 +230,7 @@
5 print(_("See 'snap info %s' for additional versions.") % command)
6 print()
7 elif len(packages) == 1 and len(snaps) == 0:
8- print(_("The command '%s' can be intsalled by typing: ") % command, file=sys.stderr)
9+ print(_("The command '%s' can be installed by typing: ") % command, file=sys.stderr)
10 if posix.geteuid() == 0:
11 print("apt install %s" % packages[0][0], file=sys.stderr)
12 self.install_prompt(packages[0][0])
13@@ -239,7 +239,7 @@
14 self.install_prompt(packages[0][0])
15 else:
16 print("apt install %s" % packages[0][0], file=sys.stderr)
17- print(_("Please ask your administrator.'"))
18+ print(_("Please ask your administrator."))
19 if not packages[0][2] in self.sources_list:
20 print(_("You will have to enable the component called '%s'") % packages[0][2], file=sys.stderr)
21 elif len(packages) > 1 and len(snaps) == 0:

Subscribers

People subscribed via source and target branches