# File lib/i18n/gettext.rb, line 18 18: def extract_scope(msgid, separator) 19: scope = msgid.to_s.split(separator) 20: msgid = scope.pop 21: [scope, msgid] 22: end
returns an array of plural keys for the given locale so that we can convert from gettext’s integer-index based style TODO move this information to the pluralization module
# File lib/i18n/gettext.rb, line 14 14: def plural_keys(locale) 15: @@plural_keys[locale] || @@plural_keys[:en] 16: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.