← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~jugmac00/launchpad:fix-typos-in-stringformatter into launchpad:master

 

Jürgen Gmach has proposed merging ~jugmac00/launchpad:fix-typos-in-stringformatter into launchpad:master.

Commit message:
Fix typos in stringformatter.py

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~jugmac00/launchpad/+git/launchpad/+merge/448510
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/launchpad:fix-typos-in-stringformatter into launchpad:master.
diff --git a/lib/lp/app/browser/stringformatter.py b/lib/lp/app/browser/stringformatter.py
index 79913d5..62a1571 100644
--- a/lib/lp/app/browser/stringformatter.py
+++ b/lib/lp/app/browser/stringformatter.py
@@ -134,7 +134,7 @@ def add_word_breaks(word):
     any HTML tags.
 
     Breaks are inserted at least every 7 to 15 characters,
-    preferably after puctuation.
+    preferably after punctuation.
     """
     broken = []
     pos = 0
@@ -228,7 +228,7 @@ def linkify_bug_numbers(text):
             # string:
             # "LP: #9, #999"
             # replacing #9 with some HTML would also interfere with
-            # #999.  The liklihood of this happening is very, very
+            # #999.  The likelihood of this happening is very, very
             # small, however.
             text = text.replace(
                 replace_text, FormattersAPI._linkify_substitution(bug_match)