Sha256: 5fe73662b9665f0f6f741a7f00f67d9e8031c4bd2b03376c4a67f36fb16b4d0d

Contents?: true

Size: 1.01 KB

Versions: 19

Compression:

Stored size: 1.01 KB

Contents

# -*- coding: utf-8 -*-
#
# Copyright (C) 2012-2020  Sutou Kouhei <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 => Helper::Path.locale_path)

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
gettext-3.4.9 test/fixtures/ns_/custom.rb
gettext-3.4.8 test/fixtures/ns_/custom.rb
gettext-3.4.7 test/fixtures/ns_/custom.rb
gettext-3.4.6 test/fixtures/ns_/custom.rb
gettext-3.4.5 test/fixtures/ns_/custom.rb
gettext-3.4.4 test/fixtures/ns_/custom.rb
gettext-3.4.3 test/fixtures/ns_/custom.rb
gettext-3.4.2 test/fixtures/ns_/custom.rb
gettext-3.4.1 test/fixtures/ns_/custom.rb
gettext-3.4.0 test/fixtures/ns_/custom.rb
gettext-3.3.9 test/fixtures/ns_/custom.rb
gettext-3.3.8 test/fixtures/ns_/custom.rb
gettext-3.3.7 test/fixtures/ns_/custom.rb
gettext-3.3.6 test/fixtures/ns_/custom.rb
gettext-3.3.5 test/fixtures/ns_/custom.rb
gettext-3.3.4 test/fixtures/ns_/custom.rb
gettext-3.3.3 test/fixtures/ns_/custom.rb
gettext-3.3.2 test/fixtures/ns_/custom.rb
gettext-3.3.1 test/fixtures/ns_/custom.rb