diff --git a/lib/towerops_web/live/org/gaiia_reconciliation_live.ex b/lib/towerops_web/live/org/gaiia_reconciliation_live.ex index bf79a454..c346faae 100644 --- a/lib/towerops_web/live/org/gaiia_reconciliation_live.ex +++ b/lib/towerops_web/live/org/gaiia_reconciliation_live.ex @@ -68,18 +68,14 @@ defmodule ToweropsWeb.Org.GaiiaReconciliationLive do defp match_flash({:ok, ip_matched, site_matched, remaining}) do total = ip_matched + site_matched - "Auto-matched %{total} device (%{ip} by IP, %{site} by site). %{remaining} remaining." - |> ngettext( + ngettext( + "Auto-matched %{total} device (%{ip} by IP, %{site} by site). %{remaining} remaining.", "Auto-matched %{total} devices (%{ip} by IP, %{site} by site). %{remaining} remaining.", - total - ) - |> then( - &Gettext.dngettext(ToweropsWeb.Gettext, "", &1, &1, - total: total, - ip: ip_matched, - site: site_matched, - remaining: remaining - ) + total, + total: total, + ip: ip_matched, + site: site_matched, + remaining: remaining ) end