Sha256: 9f1b2c3408e8d8ec9758429ee49dd71bbb5f98b39d25c51d1ad607628c51eb14

Contents?: true

Size: 951 Bytes

Versions: 60

Compression:

Stored size: 951 Bytes

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/>.

require 'gettext'

class Backslash
  include GetText
  bindtextdomain("backslash", :path => "locale")

  def backslash_in_message
    _("You should escape '\\' as '\\\\'.")
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
gettext-3.2.9 test/fixtures/backslash.rb
gettext-3.2.8 test/fixtures/backslash.rb
gettext-3.2.7 test/fixtures/backslash.rb
gettext-3.2.6 test/fixtures/backslash.rb
gettext-3.2.5 test/fixtures/backslash.rb
gettext-3.2.4 test/fixtures/backslash.rb
gettext-3.2.3 test/fixtures/backslash.rb
gettext-3.2.2 test/fixtures/backslash.rb
gettext-3.2.1 test/fixtures/backslash.rb
gettext-3.2.0 test/fixtures/backslash.rb
gettext-3.1.9 test/fixtures/backslash.rb
gettext-3.1.8 test/fixtures/backslash.rb
gettext-3.1.7 test/fixtures/backslash.rb
gettext-3.1.6 test/fixtures/backslash.rb
gettext-3.1.5 test/fixtures/backslash.rb
gettext-3.1.4 test/fixtures/backslash.rb
gettext-3.1.3 test/fixtures/backslash.rb
gettext-3.1.2 test/fixtures/backslash.rb
gettext-3.1.1 test/fixtures/backslash.rb
gettext-3.1.0 test/fixtures/backslash.rb