Make lint happy
This commit is contained in:
parent
2b8a625083
commit
ef1a046a2d
1 changed files with 2 additions and 0 deletions
|
@ -55,8 +55,10 @@ def supported_variants_of_locale(locale) do
|
|||
cond do
|
||||
variant?(locale) ->
|
||||
[locale]
|
||||
|
||||
supports_locale?(locale) ->
|
||||
[locale]
|
||||
|
||||
true ->
|
||||
Gettext.known_locales(Pleroma.Web.Gettext)
|
||||
|> Enum.filter(fn l -> String.starts_with?(l, locale <> "_") end)
|
||||
|
|
Loading…
Reference in a new issue