Sha256: 05952d3f19d18a3bd7ebd4d67789e4bb2d53367d4d1eb0ee051e2002b8540dfa

Contents?: true

Size: 1.01 KB

Versions: 41

Compression:

Stored size: 1.01 KB

Contents

# -*- coding: utf-8 -*-
#
# Copyright (C) 2012  Kouhei Sutou <kou@clear-code.com>
#
# License: Ruby's or LGPL
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

module Fixtures
  module Methodns_
    class Custom
      include GetText

      bindtextdomain("ns_", :path => GetTextTestUtils.locale_path)

      def message
        ns_("context|context$message", "context|context$messages", 1, "$")
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
gettext-3.1.0 test/fixtures/ns_/custom.rb
gettext-3.0.9 test/fixtures/ns_/custom.rb
gettext-3.0.8 test/fixtures/ns_/custom.rb
gettext-3.0.7 test/fixtures/ns_/custom.rb
gettext-3.0.6 test/fixtures/ns_/custom.rb
gettext-3.0.5 test/fixtures/ns_/custom.rb
gettext-3.0.4 test/fixtures/ns_/custom.rb
gettext-3.0.3 test/fixtures/ns_/custom.rb
gettext-3.0.2 test/fixtures/ns_/custom.rb
gettext-3.0.1 test/fixtures/ns_/custom.rb
gettext-3.0.0 test/fixtures/ns_/custom.rb
gettext-2.3.9 test/fixtures/ns_/custom.rb
gettext-2.3.8 test/fixtures/ns_/custom.rb
gettext-2.3.7 test/fixtures/ns_/custom.rb
gettext-2.3.6 test/fixtures/ns_/custom.rb
gettext-2.3.5 test/fixtures/ns_/custom.rb
gettext-2.3.4 test/fixtures/ns_/custom.rb
gettext-2.3.3 test/fixtures/ns_/custom.rb
gettext-2.3.2 test/fixtures/ns_/custom.rb
gettext-2.3.1 test/fixtures/ns_/custom.rb