--- !ruby/object:RI::MethodDescription 
aliases: 
- !ruby/object:RI::AliasName 
  name: ns_
block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: The nsgettext is similar to the ngettext. But if there are no localized text, it returns a last part of msgid separeted &quot;div&quot;.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "msgid: the singular form with &quot;div&quot;. (e.g. &quot;Special|An apple&quot;)"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "msgid_plural: the plural form. (e.g. &quot;%{num} Apples&quot;)"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "n: a number used to determine the plural form."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "Returns: the localized text which key is msgid_plural if n is plural(follow plural-rule) or msgid. &quot;plural-rule&quot; is defined in po-file."
  type: :BULLET
full_name: GetText#nsgettext
is_singleton: false
name: nsgettext
params: |
  nsgettext(msgid, msgid_plural, n, div = "|")
  nsgettext(msgids, n, div = "|")  # msgids = [msgid, msgid_plural]
  n_(msgid, msgid_plural, n, div = "|")
  n_(msgids, n, div = "|")  # msgids = [msgid, msgid_plural]

visibility: public
