Closed misdoro closed 1 year ago
I18n.t and I18n.t! both accept a scope argument that enables translation of a key within a particular namespace.
I18n.t
I18n.t!
scope
Add the same argument to exists? method, so that both I18n.t and I18n.exists? can be used with the same call pattern.
exists?
I18n.exists?
Thanks @misdoro!
I18n.t
andI18n.t!
both accept ascope
argument that enables translation of a key within a particular namespace.Add the same argument to
exists?
method, so that bothI18n.t
andI18n.exists?
can be used with the same call pattern.