fix: Convert locale name to atom to pass type check in Linguist
This commit is contained in:
parent
538364eae3
commit
f1f6e40b3b
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue