From f1f6e40b3b6f029300215d23c4e4b1786914d274 Mon Sep 17 00:00:00 2001 From: Robert Prehn <3952444+prehnRA@users.noreply.github.com> Date: Thu, 3 Jun 2021 13:31:12 -0500 Subject: [PATCH] fix: Convert locale name to atom to pass type check in Linguist --- apps/core/lib/i18n.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/core/lib/i18n.ex b/apps/core/lib/i18n.ex index 48067edc..5ec34367 100644 --- a/apps/core/lib/i18n.ex +++ b/apps/core/lib/i18n.ex @@ -12,6 +12,7 @@ defmodule Legendary.I18n do path |> Path.basename() |> Path.rootname() + |> String.to_atom() locale locale, path end)