From 20c410789cd04220f3b1a98bab1d93426481bd5f Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Mon, 4 Dec 2023 14:34:02 +0100 Subject: [PATCH] Remove extra newline in errors.pot from installer template After creating a new project, running `mix gettext.extract --merge` would remove that line anyway, causing an unnecessary change. --- installer/templates/phx_gettext/errors.pot | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/installer/templates/phx_gettext/errors.pot b/installer/templates/phx_gettext/errors.pot index 4774673451..577244ef36 100644 --- a/installer/templates/phx_gettext/errors.pot +++ b/installer/templates/phx_gettext/errors.pot @@ -7,8 +7,7 @@ ## Run `mix gettext.extract` to bring this file up to ## date. Leave `msgstr`s empty as changing them here has no ## effect: edit them in PO (`.po`) files instead. -<%= if @ecto do %> -## From Ecto.Changeset.cast/4 +<%= if @ecto do %>## From Ecto.Changeset.cast/4 msgid "can't be blank" msgstr ""