diff --git a/config/config.exs b/config/config.exs index 9771bfdf..1990ca91 100644 --- a/config/config.exs +++ b/config/config.exs @@ -178,6 +178,28 @@ config :ex_cldr, config :http_signatures, adapter: Mobilizon.Federation.HTTPSignatures.Signature +config :mobilizon, :cldr, + locales: [ + "ar", + "be", + "ca", + "cs", + "de", + "en", + "es", + "fi", + "fr", + "gl", + "it", + "ja", + "nl", + "oc", + "pl", + "pt", + "ru", + "sv" + ] + config :mobilizon, :activitypub, # One day actor_stale_period: 3_600 * 48, @@ -241,7 +263,8 @@ config :mobilizon, Oban, log: false, queues: [default: 10, search: 5, mailers: 10, background: 5], crontab: [ - {"@hourly", Mobilizon.Service.Workers.BuildSiteMap, queue: :background} + {"@hourly", Mobilizon.Service.Workers.BuildSiteMap, queue: :background}, + {"17 * * * *", Mobilizon.Service.Workers.RefreshGroups, queue: :background} ] config :mobilizon, :rich_media, diff --git a/config/dev.exs b/config/dev.exs index a58b0c96..26576168 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -92,6 +92,13 @@ config :mobilizon, :instance, # config :mobilizon, :activitypub, sign_object_fetches: false +# No need to compile every locale in development environment +config :mobilizon, :cldr, + locales: [ + "fr", + "en" + ] + config :mobilizon, :anonymous, reports: [ allowed: true diff --git a/js/src/components/Account/ParticipantCard.vue b/js/src/components/Account/ParticipantCard.vue index 5284361d..807e2f3a 100644 --- a/js/src/components/Account/ParticipantCard.vue +++ b/js/src/components/Account/ParticipantCard.vue @@ -65,8 +65,8 @@