instance method sgettext

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

sgettext(msgid, separator = '|')

No documentation comment.

Parameters

msgid req
separator opt = '|'
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/gettext/helpers.rb, line 16
      def sgettext(msgid, separator = '|')
        scope, msgid = I18n::Gettext.extract_scope(msgid, separator)
        I18n.t(msgid, :scope => scope, :default => msgid, :separator => separator)
      end

Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/gettext/helpers.rb line 16 · View on GitHub · Improve this page · Find usages on GitHub

Defined in I18n::Gettext::Helpers

Type at least 2 characters to search.

↑↓ navigate · open · esc close