diff --git a/Makefile b/Makefile new file mode 100644 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ + + +locale: + mix gettext.extract + mix gettext.merge priv/gettext diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot new file mode 100644 --- /dev/null +++ b/priv/gettext/default.pot @@ -0,0 +1,28 @@ +## This file is a PO Template file. +## +## `msgid`s here are often extracted from source code. +## Add new translations manually only if they're dynamic +## translations that can't be statically extracted. +## +## Run `mix gettext.extract` to bring this file up to +## date. Leave `msgstr`s empty as changing them here as no +## effect: edit them in PO (`.po`) files instead. +msgid "" +msgstr "" +"Language: INSERT LANGUAGE HERE\n" + +#: web/templates/layout/app.html.eex:10 +msgid "Kolab Real Time Communication" +msgstr "" + +#: web/templates/layout/app.html.eex:19 +msgid "Login" +msgstr "" + +#: web/templates/page/index.html.eex:3 +msgid "Real-time communication for the Kolab groupware system." +msgstr "" + +#: web/templates/page/index.html.eex:2 +msgid "Welcome to %{name}" +msgstr "" diff --git a/priv/gettext/errors.pot b/priv/gettext/errors.pot --- a/priv/gettext/errors.pot +++ b/priv/gettext/errors.pot @@ -7,7 +7,6 @@ ## Run `mix gettext.extract` to bring this file up to ## date. Leave `msgstr`s empty as changing them here as no ## effect: edit them in PO (`.po`) files instead. - ## From Ecto.Changeset.cast/4 msgid "can't be blank" msgstr ""