chore: refactored the UI locale handling

This commit is contained in:
2026-05-01 15:58:55 +02:00
parent 62e44150b3
commit 296a57814f
36 changed files with 114 additions and 40 deletions

View File

@@ -229,5 +229,5 @@ defmodule BDS.Desktop.ShellLive.ChatSurface do
end
end
defp translated(text), do: ShellData.translate(text, %{}, Process.get(:bds_ui_locale))
defp translated(text), do: ShellData.translate(text, %{}, BDS.Desktop.UILocale.current())
end