Sha256: 49c2fd4f827d1b617b9e8c8f50845b7474c2fe6d5cb2924281abc7a5ee6baa93
Contents?: true
Size: 248 Bytes
Versions: 6
Compression:
Stored size: 248 Bytes
Contents
class ActionView::Base def vt(label, options = {}) I18n.backend.vulgata_translate(I18n.locale, label, options) end end class String def translate(options = {}) I18n.backend.vulgata_translate(I18n.locale, self.to_s, options) end end
Version data entries
6 entries across 6 versions & 1 rubygems