summaryrefslogtreecommitdiff
path: root/ext/tk/sample
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-27 09:57:12 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-27 09:57:12 +0000
commit98e3c058fa42fdcc2a6e0a24b47786dcaf808ec8 (patch)
tree4a4e7f687b66b03dcc71fe33274535439e4604bd /ext/tk/sample
parent2a4729a40d8f45adf595f3cbf8a39a6f1a9430d3 (diff)
Typo: widget (?)
* ext/tk/lib/tk.rb: wiget => widget * ext/tk/sample/demos-en/{floor.rb,floor2.rb,puzzle.rb}: widet => widget * ext/tk/sample/demos-en/textpeer.rb: Wdget => widget * ext/tk/sample/demos-jp/puzzle.rb: widet => widget * ext/tk/sample/demos-jp/textpeer.rb: Wdget => widget * ext/tk/sample/tkextlib/bwidget/basic.rb: widtet => widget git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample')
-rw-r--r--ext/tk/sample/demos-en/floor.rb2
-rw-r--r--ext/tk/sample/demos-en/floor2.rb2
-rw-r--r--ext/tk/sample/demos-en/puzzle.rb2
-rw-r--r--ext/tk/sample/demos-en/textpeer.rb2
-rw-r--r--ext/tk/sample/demos-jp/puzzle.rb2
-rw-r--r--ext/tk/sample/demos-jp/textpeer.rb2
-rw-r--r--ext/tk/sample/tkextlib/bwidget/basic.rb2
7 files changed, 7 insertions, 7 deletions
diff --git a/ext/tk/sample/demos-en/floor.rb b/ext/tk/sample/demos-en/floor.rb
index b22ccec..4b77ea6 100644
--- a/ext/tk/sample/demos-en/floor.rb
+++ b/ext/tk/sample/demos-en/floor.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: false
# floor.rb
#
-# This demonstration script creates a canvas widet that displays the
+# This demonstration script creates a canvas widget that displays the
# floorplan for DEC's Western Research Laboratory.
#
# floorDisplay widget demo (called by 'widget')
diff --git a/ext/tk/sample/demos-en/floor2.rb b/ext/tk/sample/demos-en/floor2.rb
index a95bfed..518dd3b 100644
--- a/ext/tk/sample/demos-en/floor2.rb
+++ b/ext/tk/sample/demos-en/floor2.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: false
%# floor2.rb
#
-# This demonstration script creates a canvas widet that displays the
+# This demonstration script creates a canvas widget that displays the
# floorplan for DEC's Western Research Laboratory.
#
# floorDisplay widget demo (called by 'widget')
diff --git a/ext/tk/sample/demos-en/puzzle.rb b/ext/tk/sample/demos-en/puzzle.rb
index 6cf502f..edefa66 100644
--- a/ext/tk/sample/demos-en/puzzle.rb
+++ b/ext/tk/sample/demos-en/puzzle.rb
@@ -4,7 +4,7 @@
# This demonstration script creates a 15-puzzle game using a collection
# of buttons.
#
-# widet demo 'puzzle' (called by 'widget')
+# widget demo 'puzzle' (called by 'widget')
#
# toplevel widget
diff --git a/ext/tk/sample/demos-en/textpeer.rb b/ext/tk/sample/demos-en/textpeer.rb
index c3298e2..26f8f9f 100644
--- a/ext/tk/sample/demos-en/textpeer.rb
+++ b/ext/tk/sample/demos-en/textpeer.rb
@@ -11,7 +11,7 @@ end
# demo toplevel widget
$textpeer_demo = TkToplevel.new {|w|
- title("Text Wdget Peering Demonstration")
+ title("Text Widget Peering Demonstration")
iconname("textpeer")
positionWindow(w)
}
diff --git a/ext/tk/sample/demos-jp/puzzle.rb b/ext/tk/sample/demos-jp/puzzle.rb
index 61fb4cb..8a0803a 100644
--- a/ext/tk/sample/demos-jp/puzzle.rb
+++ b/ext/tk/sample/demos-jp/puzzle.rb
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# frozen_string_literal: false
#
-# widet demo 'puzzle' (called by 'widget')
+# widget demo 'puzzle' (called by 'widget')
#
# toplevel widget が存在すれば削除する
diff --git a/ext/tk/sample/demos-jp/textpeer.rb b/ext/tk/sample/demos-jp/textpeer.rb
index 31e467a..341e621 100644
--- a/ext/tk/sample/demos-jp/textpeer.rb
+++ b/ext/tk/sample/demos-jp/textpeer.rb
@@ -12,7 +12,7 @@ end
# demo toplevel widget
$textpeer_demo = TkToplevel.new {|w|
- title("Text Wdget Peering Demonstration")
+ title("Text Widget Peering Demonstration")
iconname("textpeer")
positionWindow(w)
}
diff --git a/ext/tk/sample/tkextlib/bwidget/basic.rb b/ext/tk/sample/tkextlib/bwidget/basic.rb
index 6a7bdbc..11122ac 100644
--- a/ext/tk/sample/tkextlib/bwidget/basic.rb
+++ b/ext/tk/sample/tkextlib/bwidget/basic.rb
@@ -42,7 +42,7 @@ module DemoBasic
def self._entry(parent)
ent = Tk::BWidget::Entry.new(parent, :text=>'Press enter',
- :helptext=>'Entry widtet',
+ :helptext=>'Entry widget',
:command=>proc{
@@var['entcmd'] = 'command called'
Tk.after(500, proc{@@var['entcmd'] = ''})