# File lib/i18n/gettext.rb, line 20
20: def extract_scope(msgid, separator)
21: scope = msgid.to_s.split(separator)
22: msgid = scope.pop
23: [scope, msgid]
24: 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 16
16: def plural_keys(locale)
17: @@plural_keys[locale] || @@plural_keys[:en]
18: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.