Commit ab141ade authored by Jonathan Schafer's avatar Jonathan Schafer

Change string interpolation

parent 468cbac2
<% if vulnerability.is_a? Vulnerability %>
<%= _("Issue created from vulnerability #{link_to vulnerability.id, vulnerability_url(vulnerability)}".html_safe) %>
<%= _("Issue created from vulnerability %{vulnerability_link}".html_safe) % { vulnerability_link: link_to(vulnerability.id, vulnerability_url(vulnerability)) } %>
<% end %>
### <%= _("Description") %>:
......
......@@ -8,8 +8,6 @@ msgid ""
msgstr ""
"Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-22 19:32+0200\n"
"PO-Revision-Date: 2020-09-22 19:32+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
......@@ -14045,6 +14043,9 @@ msgstr ""
msgid "Issue cannot be found."
msgstr ""
msgid "Issue created from vulnerability %{vulnerability_link}"
msgstr ""
msgid "Issue events"
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment