Skip to content

Commit 3283873

Browse files
committed
fix typos
1 parent 091e98e commit 3283873

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

History.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
* Bug fixes
6868
* Fixed HTML labels for cross-browser compatibility. This breaks existing
6969
links but enables cross-browser compatibility. Pull request #330 by Jens
70-
Wille.
70+
Will.
7171
* RDoc handles ASCII-incompatible encodings now. An encoding hint may need
7272
to be added to the file for RDoc to produce correct output, though.
7373
Issue #288 by Manuel Meurer.

lib/rdoc/i18n/locale.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def load(locale_directory)
9292
end
9393

9494
##
95-
# Translates the +message+ into locale. If there is no tranlsation
95+
# Translates the +message+ into locale. If there is no translation
9696
# messages for +message+ in locale, +message+ itself is returned.
9797

9898
def translate(message)

lib/rdoc/rd/block_parser.ry

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def next_token # :nodoc:
466466
[:STRINGLINE, line]
467467
end
468468
else
469-
raise "[BUG] parsing error may occured."
469+
raise "[BUG] parsing error may occurred."
470470
end
471471
end
472472

test/MarkdownTest_1.0.3/Markdown Documentation - Basics.text

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Output:
123123

124124
Unordered (bulleted) lists use asterisks, pluses, and hyphens (`*`,
125125
`+`, and `-`) as list markers. These three markers are
126-
interchangable; this:
126+
interchangeable; this:
127127

128128
* Candy.
129129
* Gum.

test/MarkdownTest_1.0.3/Markdown Documentation - Syntax.text

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Quote Level from the Text menu.
298298

299299
Markdown supports ordered (numbered) and unordered (bulleted) lists.
300300

301-
Unordered lists use asterisks, pluses, and hyphens -- interchangably
301+
Unordered lists use asterisks, pluses, and hyphens -- interchangeably
302302
-- as list markers:
303303

304304
* Red

test/test_rdoc_i18n_text.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_translate_multiple_paragraphs
5959
assert_equal expected, translate(raw)
6060
end
6161

62-
def test_translate_not_transalted_message
62+
def test_translate_not_translated_message
6363
nonexistent_paragraph = <<-PARAGRAPH.strip
6464
Nonexistent paragraph.
6565
PARAGRAPH

test/test_rdoc_markdown_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ def test_markdown_documentation_basics
601601

602602
para("Unordered (bulleted) lists use asterisks, pluses, and hyphens (<code>*</code>,\n" +
603603
"<code>+</code>, and <code>-</code>) as list markers. These three markers are\n" +
604-
"interchangable; this:"),
604+
"interchangeable; this:"),
605605

606606
verb("* Candy.\n",
607607
"* Gum.\n",
@@ -1090,7 +1090,7 @@ def test_markdown_documentation_syntax
10901090

10911091
para("Markdown supports ordered (numbered) and unordered (bulleted) lists."),
10921092

1093-
para("Unordered lists use asterisks, pluses, and hyphens -- interchangably\n" +
1093+
para("Unordered lists use asterisks, pluses, and hyphens -- interchangeably\n" +
10941094
"-- as list markers:"),
10951095

10961096
verb("* Red\n",

test/test_rdoc_ri_driver.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def test_add_method_inherited
282282
assert_equal expected, out
283283
end
284284

285-
def test_add_method_overriden
285+
def test_add_method_overridden
286286
util_multi_store
287287

288288
out = doc
@@ -646,7 +646,7 @@ def test_display_method_inherited
646646
assert_match %r%^=== Implementation from Foo%, out
647647
end
648648

649-
def test_display_method_overriden
649+
def test_display_method_overridden
650650
util_multi_store
651651

652652
out, = capture_io do
@@ -1455,10 +1455,10 @@ def util_store
14551455
@inherit = @cFoo.add_method RDoc::AnyMethod.new(nil, 'inherit')
14561456
@inherit.record_location @top_level
14571457

1458-
# overriden by Bar in multi_store
1459-
@overriden = @cFoo.add_method RDoc::AnyMethod.new(nil, 'override')
1460-
@overriden.comment = 'must not be displayed in Bar#override'
1461-
@overriden.record_location @top_level
1458+
# overridden by Bar in multi_store
1459+
@overridden = @cFoo.add_method RDoc::AnyMethod.new(nil, 'override')
1460+
@overridden.comment = 'must not be displayed in Bar#override'
1461+
@overridden.record_location @top_level
14621462

14631463
@store1.save
14641464

0 commit comments

Comments
 (0)