# File lib/i18n/gettext.rb, line 18 def extract_scope(msgid, separator) scope = msgid.to_s.split(separator) msgid = scope.pop [scope, msgid] end