Sha256: 3251b03ac33829b631e3dfaf1e14e49d28669e4710552d1ffd069b42765b8fb6

Contents?: true

Size: 180 Bytes

Versions: 11

Compression:

Stored size: 180 Bytes

Contents

# encoding: utf-8

require 'gettext'

class NonAscii
  include GetText
  bindtextdomain("non_ascii", :path => "locale")

  def hello_in_japanese
    _("こんにちは")
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
gettext-2.3.9 test/fixtures/non_ascii.rb
gettext-2.3.8 test/fixtures/non_ascii.rb
gettext-2.3.7 test/fixtures/non_ascii.rb
gettext-2.3.6 test/fixtures/non_ascii.rb
gettext-2.3.5 test/fixtures/non_ascii.rb
gettext-2.3.4 test/fixtures/non_ascii.rb
gettext-2.3.3 test/fixtures/non_ascii.rb
gettext-2.3.2 test/fixtures/non_ascii.rb
gettext-2.3.1 test/fixtures/non_ascii.rb
gettext-2.3.0 test/fixtures/non_ascii.rb
gettext-2.2.1 test/testlib/non_ascii.rb