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

@@ -249,7 +249,7 @@ defmodule BDS.Desktop.ShellData do
end
defp effective_ui_language(nil) do
Process.get(:bds_ui_locale) || ui_language()
BDS.Desktop.UILocale.current() || ui_language()
end
defp effective_ui_language(locale), do: locale