Sha256: 368334d710a5f5d534db08cc7cf00b7bc93293de10991a41b5abfb3a387a5638

Contents?: true

Size: 261 Bytes

Versions: 14

Compression:

Stored size: 261 Bytes

Contents

#!/usr/bin/ruby
# hello_textdomain.rb - sample for GetText.textdomain.
#
# Copyright (C) 2005 Masao Mutoh
# This file is distributed under the same license as Ruby-GetText-Package.

require 'hello'

include GetText

textdomain("hello")
print _("Hello World\n")

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gettext-1.5.0-mswin32 samples/hello_textdomain.rb
gettext-1.4.0-mswin32 samples/hello_textdomain.rb
gettext-1.3.0-mswin32 samples/hello_textdomain.rb
gettext-1.2.0-mswin32 samples/hello_textdomain.rb
gettext-1.1.1-mswin32 samples/hello_textdomain.rb
gettext-1.1.0-mswin32 samples/hello_textdomain.rb
gettext-1.0.0-mswin32 samples/hello_textdomain.rb
gettext-1.0.0 samples/hello_textdomain.rb
gettext-1.2.0 samples/hello_textdomain.rb
gettext-1.1.0 samples/hello_textdomain.rb
gettext-1.1.1 samples/hello_textdomain.rb
gettext-1.3.0 samples/hello_textdomain.rb
gettext-1.4.0 samples/hello_textdomain.rb
gettext-1.5.0 samples/hello_textdomain.rb