mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
Improve Gettext compilation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
de047c8939
commit
6bb0b6d08a
3 changed files with 6 additions and 0 deletions
|
@ -179,6 +179,8 @@ config :phoenix, :filter_parameters, ["password", "token"]
|
||||||
config :absinthe, schema: Mobilizon.GraphQL.Schema
|
config :absinthe, schema: Mobilizon.GraphQL.Schema
|
||||||
config :absinthe, Absinthe.Logger, filter_variables: ["token", "password", "secret"]
|
config :absinthe, Absinthe.Logger, filter_variables: ["token", "password", "secret"]
|
||||||
|
|
||||||
|
config :mobilizon, Mobilizon.Web.Gettext, one_module_per_locale: true
|
||||||
|
|
||||||
config :ex_cldr,
|
config :ex_cldr,
|
||||||
default_locale: "en",
|
default_locale: "en",
|
||||||
default_backend: Mobilizon.Cldr
|
default_backend: Mobilizon.Cldr
|
||||||
|
|
|
@ -58,6 +58,8 @@ config :logger, :console, format: "[$level] $message\n", level: :debug
|
||||||
|
|
||||||
config :mobilizon, Mobilizon.Service.Geospatial, service: Mobilizon.Service.Geospatial.Nominatim
|
config :mobilizon, Mobilizon.Service.Geospatial, service: Mobilizon.Service.Geospatial.Nominatim
|
||||||
|
|
||||||
|
config :mobilizon, Mobilizon.Web.Gettext, allowed_locales: ["fr", "en"]
|
||||||
|
|
||||||
# Set a higher stacktrace during development. Avoid configuring such
|
# Set a higher stacktrace during development. Avoid configuring such
|
||||||
# in production as building large stacktraces may be expensive.
|
# in production as building large stacktraces may be expensive.
|
||||||
config :phoenix, :stacktrace_depth, 20
|
config :phoenix, :stacktrace_depth, 20
|
||||||
|
|
|
@ -77,6 +77,8 @@ config :mobilizon, Mobilizon.Web.Auth.Guardian, secret_key: "some secret"
|
||||||
|
|
||||||
config :mobilizon, :activitypub, sign_object_fetches: false
|
config :mobilizon, :activitypub, sign_object_fetches: false
|
||||||
|
|
||||||
|
config :mobilizon, Mobilizon.Web.Gettext, allowed_locales: ["fr", "en"]
|
||||||
|
|
||||||
config :junit_formatter, report_dir: "."
|
config :junit_formatter, report_dir: "."
|
||||||
|
|
||||||
if System.get_env("DOCKER", "false") == "false" && File.exists?("./config/test.secret.exs") do
|
if System.get_env("DOCKER", "false") == "false" && File.exists?("./config/test.secret.exs") do
|
||||||
|
|
Loading…
Reference in a new issue