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.4.9 test/fixtures/backslash.rb
gettext-3.4.8 test/fixtures/backslash.rb
gettext-3.4.7 test/fixtures/backslash.rb
gettext-3.4.6 test/fixtures/backslash.rb
gettext-3.4.5 test/fixtures/backslash.rb
gettext-3.4.4 test/fixtures/backslash.rb
gettext-3.4.3 test/fixtures/backslash.rb
gettext-3.4.2 test/fixtures/backslash.rb
gettext-3.4.1 test/fixtures/backslash.rb
gettext-3.4.0 test/fixtures/backslash.rb
gettext-3.3.9 test/fixtures/backslash.rb
gettext-3.3.8 test/fixtures/backslash.rb
gettext-3.3.7 test/fixtures/backslash.rb
gettext-3.3.6 test/fixtures/backslash.rb
gettext-3.3.5 test/fixtures/backslash.rb
gettext-3.3.4 test/fixtures/backslash.rb
gettext-3.3.3 test/fixtures/backslash.rb
gettext-3.3.2 test/fixtures/backslash.rb
gettext-3.3.1 test/fixtures/backslash.rb
gettext-3.3.0 test/fixtures/backslash.rb