module Phlex::Translation

def self.included(view)

def self.included(view)
	view.extend(ClassMethods)
end

def translate(key, **options)

def translate(key, **options)
	key = "#{self.class.translation_path}#{key}" if key.start_with?(".")
	::I18n.translate(key, **options)
end