chore: refactored the UI locale handling

This commit is contained in:
hugo committed 2026-05-01 15:58:55 +02:00
1 parent 62e44150b3
commit 296a57814f
36 files changed
+114 -40

No files matched your search

@@ -101,5 +101,5 @@ defmodule BDS.Desktop.ShellLive.PostEditor.Persistence do
end
defp translated(text, bindings \\ %{}),
do: ShellData.translate(text, bindings, Process.get(:bds_ui_locale))
do: ShellData.translate(text, bindings, BDS.Desktop.UILocale.current())
end
@@ -186,5 +186,5 @@ defmodule BDS.Desktop.ShellLive.PostEditor.PostMetadata do
end
defp translated(text, bindings \\ %{}),
do: ShellData.translate(text, bindings, Process.get(:bds_ui_locale))
do: ShellData.translate(text, bindings, BDS.Desktop.UILocale.current())
end