Mayel de Borniol 2022-07-04 10:21:05 +12:00
parent f3d3847ebd
commit 14174b47fe
5 changed files with 8 additions and 6 deletions

View file

@ -13,7 +13,7 @@ config :bonfire_common,
config :bonfire_common, Bonfire.Common.Localise.Cldr,
default_locale: default_locale,
locales: ["fr", "en", "es"], # locales that will be made available on top of those for which gettext localisation files are available
locales: ["fr", "en", "es", "it", "vi"], # locales that will be made available on top of those for which gettext localisation files are available
providers: [Cldr.Language],
gettext: Bonfire.Common.Localise.Gettext,
extra_gettext: [Timex.Gettext], # extra Gettex modules from dependencies not using the one from Bonfire.Common, so we can change their locale too

View file

@ -526,6 +526,7 @@ localise-extract:
@localise-tx-pull:
tx pull --all --minimum-perc=5 --force
just mix deps.compile bonfire_common --force
@localise-tx-push:
tx push --source

View file

@ -10,7 +10,8 @@ defmodule Bonfire.Web.EndpointTemplate do
store: :cookie,
key: "_bonfire_key",
signing_salt: Config.get!(:signing_salt),
encryption_salt: Config.get!(:encryption_salt)
encryption_salt: Config.get!(:encryption_salt),
max_age: Config.get(:session_time_to_remember, 60*60*24*60) # 60 days by default
]
end

View file

@ -13,7 +13,7 @@
"benchee_html": {:hex, :benchee_html, "1.0.0", "5b4d24effebd060f466fb460ec06576e7b34a00fc26b234fe4f12c4f05c95947", [:mix], [{:benchee, ">= 0.99.0 and < 2.0.0", [hex: :benchee, repo: "hexpm", optional: false]}, {:benchee_json, "~> 1.0", [hex: :benchee_json, repo: "hexpm", optional: false]}], "hexpm", "5280af9aac432ff5ca4216d03e8a93f32209510e925b60e7f27c33796f69e699"},
"benchee_json": {:hex, :benchee_json, "1.0.0", "cc661f4454d5995c08fe10dd1f2f72f229c8f0fb1c96f6b327a8c8fc96a91fe5", [:mix], [{:benchee, ">= 0.99.0 and < 2.0.0", [hex: :benchee, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "da05d813f9123505f870344d68fb7c86a4f0f9074df7d7b7e2bb011a63ec231c"},
"bonfire_api_graphql": {:git, "https://github.com/bonfire-networks/bonfire_api_graphql", "9ef9fa6f332aa91fd908a7d6be31008961a00a2d", [branch: "main"]},
"bonfire_boundaries": {:git, "https://github.com/bonfire-networks/bonfire_boundaries", "d872b4c7e57e4d7da5536206e684149f415b33f7", [branch: "main"]},
"bonfire_boundaries": {:git, "https://github.com/bonfire-networks/bonfire_boundaries", "2bb6bd81398e2f872b0293926b3a936a612a4dec", [branch: "main"]},
"bonfire_breadpub": {:git, "https://github.com/bonfire-networks/bonfire_breadpub", "0ed0d29681aee5990ad3d03af31020fa058e8b86", [branch: "main"]},
"bonfire_classify": {:git, "https://github.com/bonfire-networks/bonfire_classify", "2a4d691550ce7816153aade4644f34522d488331", [branch: "main"]},
"bonfire_common": {:git, "https://github.com/bonfire-networks/bonfire_common", "931c56b0bdaa69f6f1b38767f1939b1aafe47d58", [branch: "main"]},

View file

@ -45,7 +45,7 @@ msgstr ""
#: lib/components/extensions/extensions_live.sface:31
#, elixir-autogen, elixir-format
msgid "Bonfire Extensions"
msgstr ""
msgstr "Bonfire-Erweiterungen "
#: lib/components/extensions/extensions_live.sface:6
#, elixir-autogen, elixir-format
@ -335,7 +335,7 @@ msgstr ""
#: lib/components/placeholders/empty_feed.sface:97
#, elixir-autogen, elixir-format
msgid "Take a deep breath..."
msgstr ""
msgstr "atme tief durch..."
#: lib/components/widgets/widget_feedbacks/widget_feedback_live.sface:7
#, elixir-autogen, elixir-format
@ -391,7 +391,7 @@ msgstr "an"
#: lib/ui_common.ex:109
#, elixir-autogen, elixir-format
msgid "Unexpected data"
msgstr ""
msgstr "unerwartete Daten"
#: lib/components/actions/follow/follow_button_live.sface:35
#, elixir-autogen, elixir-format