Commit 00cf6243 authored by Jonathan Schafer's avatar Jonathan Schafer

Fix HAML format and locale file

parent 1afc3fbf
......@@ -34,14 +34,14 @@
- if location['start_line']
- link_text = _("%{link_text}:%{line}") % { link_text: link_text, line: location['start_line'] }
- offset = _("#L%{start_line}") % { start_line: location['start_line'] }
File:
= _('File:')
%a{ href: project_blob_path(@project, tree_join(@vulnerability.project.default_branch, location['file'])) + offset,
target: '_blank', rel: 'noopener noreferrer' }= link_text
- if location['class']
%li= _("Class: %{className}") % { className: location['class'] }
- if location['method']
%li
Method:
= _('Method:')
%code= _("%{method}") % { method: location['method'] }
- if @vulnerability.finding.links.any?
......
......@@ -71,6 +71,9 @@ msgstr ""
msgid "\"%{path}\" did not exist on \"%{ref}\""
msgstr ""
msgid "#L%{start_line}"
msgstr ""
msgid "%d changed file"
msgid_plural "%d changed files"
msgstr[0] ""
......@@ -305,7 +308,7 @@ msgstr ""
msgid "%{filePath} deleted"
msgstr ""
msgid "%{file}:%{line}"
msgid "%{file}"
msgstr ""
msgid "%{firstLabel} +%{labelCount} more"
......@@ -353,6 +356,9 @@ msgstr ""
msgid "%{link_start}Read more%{link_end} about role permissions"
msgstr ""
msgid "%{link_text}:%{line}"
msgstr ""
msgid "%{link} can be used for binding events when something is happening within the project."
msgstr ""
......@@ -8897,9 +8903,6 @@ msgstr ""
msgid "File Hooks (%{count})"
msgstr ""
msgid "File Location"
msgstr ""
msgid "File added"
msgstr ""
......@@ -8930,6 +8933,9 @@ msgstr ""
msgid "File upload error."
msgstr ""
msgid "File:"
msgstr ""
msgid "Files"
msgstr ""
......@@ -12152,6 +12158,9 @@ msgstr ""
msgid "Localization"
msgstr ""
msgid "Location"
msgstr ""
msgid "Lock"
msgstr ""
......@@ -12731,6 +12740,9 @@ msgstr ""
msgid "Method"
msgstr ""
msgid "Method:"
msgstr ""
msgid "Metric was successfully added."
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