summaryrefslogtreecommitdiff
path: root/ext/tk/sample/demos-jp/pendulum.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/sample/demos-jp/pendulum.rb')
-rw-r--r--ext/tk/sample/demos-jp/pendulum.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/tk/sample/demos-jp/pendulum.rb b/ext/tk/sample/demos-jp/pendulum.rb
index 48839aa58a..60556fd70a 100644
--- a/ext/tk/sample/demos-jp/pendulum.rb
+++ b/ext/tk/sample/demos-jp/pendulum.rb
@@ -1,4 +1,4 @@
-# -*- coding: euc-jp -*-
+# -*- coding: utf-8 -*-
#
# This demonstration illustrates how Tcl/Tk can be used to construct
# simulations of physical systems.
@@ -26,15 +26,15 @@ msg = TkLabel.new(base_frame) {
font $font
wraplength '4i'
justify 'left'
- text 'このデモは、物理系のシミュレーションに関わるようなアニメーション実行するために Ruby/Tk をどのように用いることができるかを示しています。左側のキャンバスは単純な振り子である物理系自体のグラフィカル表現であるのに対し、右側のキャンバスは系の位相空間のグラフ(角速度と角度とをプロットしたもの)になっています。左側のキャンバス上でクリックおよびドラッグを行って振り子の重りの位置を変えてみてください。'
+ text '≪膤祉激ャ若激с潟≪≪<若激с喝茵 Ruby/Tk с腓冴障綏眼c潟鴻膣絖с膤肢篏違c茵憗с絲障勀眼c潟鴻膤祉篏悟咲違鐚茹綺茹綺鐚c障綏眼c潟剛с潟違茵c絖篏臀紊帥'
}
msg.pack('side'=>'top')
# create frame
TkFrame.new(base_frame) {|frame|
TkButton.new(frame) {
- #text '了解'
- text '閉じる'
+ #text '篋茹'
+ text ''
command proc{
tmppath = $pendulum_demo
$pendulum_demo = nil
@@ -43,7 +43,7 @@ TkFrame.new(base_frame) {|frame|
}.pack('side'=>'left', 'expand'=>'yes')
TkButton.new(frame) {
- text 'コード参照'
+ text '潟若'
command proc{showCode 'pendulum'}
}.pack('side'=>'left', 'expand'=>'yes')