# File lib/i18n/exceptions.rb, line 47
47: def html_message
48: key = keys.last.to_s.gsub('_', ' ').gsub(/\b('?[a-z])/) { $1.capitalize }
49: %(<span class="translation_missing" title="translation missing: #{keys.join('.')}">#{key}</span>)
50: end
# File lib/i18n/exceptions.rb, line 52
52: def keys
53: @keys ||= I18n.normalize_keys(locale, key, options[:scope]).tap do |keys|
54: keys << 'no key' if keys.size < 2
55: end
56: end
# File lib/i18n/exceptions.rb, line 58
58: def message
59: "translation missing: #{keys.join('.')}"
60: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.