Merge branch 'fix-i18n' into 'master'

fix: Convert locale name to atom to pass type check in Linguist

See merge request mythic-insight/legendary!59
This commit is contained in:
Robert Prehn 2021-06-03 18:35:39 +00:00
commit a6442cad7c

View file

@ -12,6 +12,7 @@ defmodule Legendary.I18n do
path path
|> Path.basename() |> Path.basename()
|> Path.rootname() |> Path.rootname()
|> String.to_atom()
locale locale, path locale locale, path
end) end)