Sha256: f82db3808507368b1c1c5277ec7da9caa2496e0052aef9cd4b0af580096046dd
Contents?: true
Size: 334 Bytes
Versions: 8
Compression:
Stored size: 334 Bytes
Contents
# -*- coding: utf-8 -*- require 'gettext' class Simple include GetText bindtextdomain("test1", :path => Helper::Path.locale_path) def test _("language") end def test_formatted_string _("one is %d.") % 1 end def test_plural n_("There is an apple.", "There are %{num} apples.", 5) % {:num => 5} end end
Version data entries
8 entries across 8 versions & 1 rubygems