instance method
pgettext
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
pgettext(msgctxt, msgid)
No documentation comment.
Parameters
-
msgctxtreq -
msgidreq
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/gettext/helpers.rb, line 22
def pgettext(msgctxt, msgid)
separator = I18n::Gettext::CONTEXT_SEPARATOR
sgettext([msgctxt, msgid].join(separator), separator)
end
Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/gettext/helpers.rb line 22
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in I18n::Gettext::Helpers