lib/gettext.rb in gettext-2.0.3 vs lib/gettext.rb in gettext-2.0.4
- old
+ new
@@ -214,10 +214,10 @@
# * msgid_plural: the plural form.
# * n: a number used to determine the plural form.
# * Returns: the localized text which key is msgid_plural if n is plural(follow plural-rule) or msgid.
# "plural-rule" is defined in po-file.
def npgettext(msgctxt, msgids, arg2 = nil, arg3 = nil)
- if msgids.kind_of?(Array)
+ if msgids.kind_of?(Array)
msgid = msgids[0]
msgid_ctxt = "#{msgctxt}\004#{msgid}"
msgid_plural = msgids[1]
opt1 = arg2
opt2 = arg3