Packages

An Elixir framework to build your own in-house PaaS (Platform as a Service).

Current section

Files

Jump to
antikythera priv gear_template lib gettext.ex
Raw

priv/gear_template/lib/gettext.ex

use Croma
defmodule <%= gear_name_camel %>.Gettext do
use Antikythera.Gettext, otp_app: :<%= gear_name %>
defun put_locale(locale :: v[String.t]) :: nil do
Gettext.put_locale(__MODULE__, locale)
end
end