samples/hello_gtk2.rb in gettext-2.2.1 vs samples/hello_gtk2.rb in gettext-2.3.0
- old
+ new
@@ -1,18 +1,18 @@
#!/usr/bin/ruby
# hello_gtk2.rb - sample for Ruby/GTK2
#
# Copyright (C) 2001-2006 Masao Mutoh
-# This file is distributed under the same license as Ruby-GetText-Package.
+# This file is distributed under the same license as gettext.
require 'rubygems'
require 'gettext'
require 'gtk2'
class LocalizedWindow < Gtk::Window
include GetText
- bindtextdomain("hello_gtk", :path => "locale", :output_charset => "utf-8")
+ bindtextdomain("hello_gtk2", :path => "locale", :output_charset => "utf-8")
def initialize
super
signal_connect('delete-event') do
Gtk.main_quit