Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typos in comments and strings

  • Loading branch information...
commit 63f4d4aed89f550cdc1d406111fe407368e8d12e 1 parent 6956b10
@mo mo authored
View
2  changeset/detectmoves.py
@@ -128,7 +128,7 @@ def findSourceChunk(db, changeset, source_file_ids, target_file, target_chunk, e
if source_file_ids and not source_file.id in source_file_ids: continue
for source_chunk in source_file.chunks:
- # Should't compare chunk to itself, of course.
+ # Shouldn't compare chunk to itself, of course.
if target_file == source_file and target_chunk == source_chunk:
continue
View
2  dbschema.comments.sql
@@ -26,7 +26,7 @@ CREATE TYPE commentchainstate AS ENUM
'open', -- The comment chain is open.
'addressed',-- The commented code was changed by a later commit.
'closed', -- The comment chain is closed.
- 'empty' -- THe comment chain has no comments.
+ 'empty' -- The comment chain has no comments.
);
CREATE TYPE commentchainorigin AS ENUM
( 'old', -- The user commented the old/left-hand side in a diff.
View
2  dbschema.sql
@@ -360,7 +360,7 @@ CREATE TABLE previousreachable
CREATE INDEX previousreachable_rebase ON previousreachable (rebase);
CREATE TYPE reviewfilestate AS ENUM
- ( 'pending', -- No-one's said anything.
+ ( 'pending', -- No one has said anything.
'reviewed' -- The file has been reviewed.
);
CREATE TABLE reviewfiles
View
4 diff/__init__.py
@@ -27,8 +27,8 @@
re_mode = re.compile(r"(?:^|[ \t;])mode:\s*([^;]+)(?:$|;)", re.I)
# Low-level chunk of difference between two versions of a file. One chunk
-# represents a possibly empty set of consequtive lines in the old version of the
-# file being replaced by another possibly empty set of consequtive lines in the
+# represents a possibly empty set of consecutive lines in the old version of the
+# file being replaced by another possibly empty set of consecutive lines in the
# new version of the file. (Both sets are never empty, of course.)
class Chunk:
def __init__(self, delete_offset, delete_count, insert_offset, insert_count, **kwargs):
View
2  installation/files.py
@@ -226,7 +226,7 @@ def generateVersion(label, path):
Current version : %(current)s
Updated version : %(updated)s
-Not installating the updated version can cause unpredictable results.
+Not installing the updated version can cause unpredictable results.
""",
versions={ "installed": target_path + ".org",
"current": target_path,
View
2  resources/checkbranch.js
@@ -131,7 +131,7 @@ function editCommit(sha1, commit_id, has_note, old_review_id)
}
}
- var confirm = $("<div class='comment' title='Confirm Review Rebase'>The review <a href='/r/" + review_id + "'>r/" + review_id + "</a> can be rebased to contain this single commit. If the commit is a squash of all changes in the review, this is the apprioriate thing to do.</div>");
+ var confirm = $("<div class='comment' title='Confirm Review Rebase'>The review <a href='/r/" + review_id + "'>r/" + review_id + "</a> can be rebased to contain this single commit. If the commit is a squash of all changes in the review, this is the appropriate thing to do.</div>");
confirm.dialog({ width: 400, modal: true, buttons: { "Rebase Review": function () { proceed(); }, "Don't Rebase": function () { confirm.dialog("close"); content.dialog("close"); location.reload(); } } });
}
View
2  resources/showreview.js
@@ -436,7 +436,7 @@ function prepareRebase()
if (single.checked)
upstream = "0000000000000000000000000000000000000000";
else if (tag.value != "none" && sha1.value != "")
- alert("Ambigious input! Please leave either SHA-1 or tag empty.");
+ alert("Ambiguous input! Please leave either SHA-1 or tag empty.");
else if (tag.value == "none" && !/^[0-9a-f]{40}$/i.test(sha1.value))
alert("Invalid input! Please specify a full 40-character SHA-1 sum.");
else if (sha1.value != "")
View
2  resources/syntax.css
@@ -61,7 +61,7 @@ td.line b.ch {
color: blue
}
-/* Numberic literals. */
+/* Numeric literals. */
td.line b.fp,
td.line b.int {
color: green
View
6 syntaxhighlight/clexer.py
@@ -38,7 +38,7 @@
#
# Escaped linebreaks outside of preprocessor directives and string literals
# are not handled; in practice the backslash will vanish and the linebreak
-# will be returned as a whitespace token (possibly combined with any folloing
+# will be returned as a whitespace token (possibly combined with any following
# whitespace.) If whitespace preceded the backslash, there will be two
# separate whitespace tokens, split where the backslash was.
#
@@ -106,7 +106,7 @@
# CLexerException
#
# Exception type thrown by the functions group() and group1(). Inherits
-# the builtin Exception type and adds absolutely nothing.
+# the built-in Exception type and adds absolutely nothing.
#
# Token Objects
# =============
@@ -122,7 +122,7 @@
#
# filename()
#
-# Returns the filename from which the token stems. In pracice, either the
+# Returns the filename from which the token stems. In practice, either the
# filename passed to tokenize() or to the Token constructor.
#
# line()
Please sign in to comment.
Something went wrong with that request. Please try again.