diff options
Diffstat (limited to 'ext/tk/sample/demos-jp/goldberg.rb')
-rw-r--r-- | ext/tk/sample/demos-jp/goldberg.rb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/tk/sample/demos-jp/goldberg.rb b/ext/tk/sample/demos-jp/goldberg.rb index ea521b82ec..fc38d877db 100644 --- a/ext/tk/sample/demos-jp/goldberg.rb +++ b/ext/tk/sample/demos-jp/goldberg.rb @@ -1,4 +1,4 @@ -# -*- coding: euc-jp -*- +# -*- coding: utf-8 -*- # # Ruby/Tk Goldverg demo (called by 'widget') # @@ -63,7 +63,7 @@ msg = TkLabel.new($goldberg_demo) { font 'Arial 10' wraplength '4i' justify 'left' - text "これは、あなたが自分のアニメーションをいかに入り組んだものにできるかを示すというだけのためのデモです。ボールをクリックすれば物が動き始めます!\n\n\"Man will always find a difficult means to perform a simple task\"\n - Rube Goldberg" + text "≪<若激с潟ャ腟с腓冴≪с若亥紮障鐚\n\n\"Man will always find a difficult means to perform a simple task\"\n - Rube Goldberg" } msg.pack('side'=>'top') =end @@ -72,7 +72,7 @@ msg.pack('side'=>'top') # frame TkFrame.new($goldberg_demo) {|frame| TkButton.new(frame) { - text '閉じる' + text '' command proc{ tmppath = $goldberg_demo $goldberg_demo = nil @@ -81,7 +81,7 @@ TkFrame.new($goldberg_demo) {|frame| }.pack('side'=>'left', 'expand'=>'yes') TkButton.new(frame) { - text 'コード参照' + text '潟若' command proc{showCode 'goldberg'} }.pack('side'=>'left', 'expand'=>'yes') @@ -99,7 +99,7 @@ class TkGoldberg_Demo @S['speed'] = TkVariable.new(5) @S['cnt'] = TkVariable.new(0) # @S['message'] = TkVariable.new("\\nWelcome\\nto\\nRuby/Tk") - @S['message'] = TkVariable.new("\\n ようこそ!\\nRuby/Tk\\nの\\n世界へ") + @S['message'] = TkVariable.new("\\n 鐚\\nRuby/Tk\\n\\n筝") @S['pause'] = TkVariable.new @S['details'] = TkVariable.new(true) @@ -184,7 +184,7 @@ class TkGoldberg_Demo font 'Arial 10' wraplength 600 justify 'left' - text "これは、あなたが自分のアニメーションをいかに入り組んだものにできるかを示すというだけのためのデモです。ボールをクリックすれば物が動き始めます!\n\"Man will always find a difficult means to perform a simple task\" - Rube Goldberg" + text "≪<若激с潟ャ腟с腓冴≪с若亥紮障鐚\n\"Man will always find a difficult means to perform a simple task\" - Rube Goldberg" } msg.place(:in=>@canvas, :relx=>0, :rely=>0, :anchor=>:nw) @@ -192,7 +192,7 @@ class TkGoldberg_Demo # TkButton.new(frame, :bg=>@C['bg'], :activebackground=>@C['bg']) { Tk::Button.new(frame, :bg=>@C['bg'], :activebackground=>@C['bg']) { - text '閉じる' + text '' command proc{ tmppath = $goldberg_demo $goldberg_demo = nil @@ -202,7 +202,7 @@ class TkGoldberg_Demo # TkButton.new(frame, :bg=>@C['bg'], :activebackground=>@C['bg']) { Tk::Button.new(frame, :bg=>@C['bg'], :activebackground=>@C['bg']) { - text 'コード参照' + text '潟若' command proc{showCode 'goldberg'} }.pack('side'=>'left', 'padx'=>5) @@ -420,7 +420,7 @@ class TkGoldberg_Demo color = @C['0'] TkcText.new(@canvas, # [579, 119], :text=>'START HERE!', - [558, 119], :text=>'ここからスタート!', + [558, 119], :text=>'鴻帥若鐚', :fill=>color, :anchor=>:w, :tag=>'I0', :font=>['Times Roman', 12, :italic, :bold]) TkcLine.new(@canvas, [719, 119, 763, 119], :tag=>'I0', :fill=>color, @@ -1792,7 +1792,7 @@ class TkGoldberg_Demo @canvas.delete('I24', 'I26') TkcText.new(@canvas, 430, 735, :anchor=>:s, :tag=>'I26', #:text=>'click to continue', - :text=>'クリックでリセットします', + :text=>'с祉障', :font=>['Times Roman', 20, :bold]) @canvas.bind('1', proc{reset}) return 4 |