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:
commit
a6442cad7c
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ defmodule Legendary.I18n do
|
|||
path
|
||||
|> Path.basename()
|
||||
|> Path.rootname()
|
||||
|> String.to_atom()
|
||||
|
||||
locale locale, path
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue