mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-11 11:49:15 +00:00
Make lint happy
This commit is contained in:
parent
ff0bb3a3ac
commit
845e5769ce
1 changed files with 2 additions and 0 deletions
|
@ -55,8 +55,10 @@ defmodule Pleroma.Web.Gettext do
|
||||||
cond do
|
cond do
|
||||||
variant?(locale) ->
|
variant?(locale) ->
|
||||||
[locale]
|
[locale]
|
||||||
|
|
||||||
supports_locale?(locale) ->
|
supports_locale?(locale) ->
|
||||||
[locale]
|
[locale]
|
||||||
|
|
||||||
true ->
|
true ->
|
||||||
Gettext.known_locales(Pleroma.Web.Gettext)
|
Gettext.known_locales(Pleroma.Web.Gettext)
|
||||||
|> Enum.filter(fn l -> String.starts_with?(l, locale <> "_") end)
|
|> Enum.filter(fn l -> String.starts_with?(l, locale <> "_") end)
|
||||||
|
|
Loading…
Reference in a new issue