Commit cdb9ce4d authored by antony liu's avatar antony liu Committed by Bob Van Landuyt

Externalize stirngs of Authentication log page in user profile

parent c7fc58bc
%h5.prepend-top-0 %h5.prepend-top-0
History of authentications = _('History of authentications')
%ul.content-list %ul.content-list
- events.each do |event| - events.each do |event|
%li %li
%span.description %span.description
= audit_icon(event.details[:with], class: "append-right-5") = audit_icon(event.details[:with], class: "append-right-5")
Signed in with = _('Signed in with %{authentication} authentication') % { authentication: event.details[:with]}
= event.details[:with]
authentication
%span.float-right= time_ago_with_tooltip(event.created_at) %span.float-right= time_ago_with_tooltip(event.created_at)
= paginate events, theme: "gitlab" = paginate events, theme: "gitlab"
- page_title "Authentication log" - page_title _('Authentication log')
- @content_class = "limit-container-width" unless fluid_layout - @content_class = "limit-container-width" unless fluid_layout
.row.prepend-top-default .row.prepend-top-default
...@@ -6,6 +6,6 @@ ...@@ -6,6 +6,6 @@
%h4.prepend-top-0 %h4.prepend-top-0
= page_title = page_title
%p %p
This is a security log of important events involving your account. = _('This is a security log of important events involving your account.')
.col-lg-8 .col-lg-8
= render 'event_table', events: @events = render 'event_table', events: @events
...@@ -4934,6 +4934,9 @@ msgstr "" ...@@ -4934,6 +4934,9 @@ msgstr ""
msgid "History" msgid "History"
msgstr "" msgstr ""
msgid "History of authentications"
msgstr ""
msgid "Hook was successfully created." msgid "Hook was successfully created."
msgstr "" msgstr ""
...@@ -8872,6 +8875,9 @@ msgstr "" ...@@ -8872,6 +8875,9 @@ msgstr ""
msgid "Sign-up restrictions" msgid "Sign-up restrictions"
msgstr "" msgstr ""
msgid "Signed in with %{authentication} authentication"
msgstr ""
msgid "Signing in using %{label} has been disabled" msgid "Signing in using %{label} has been disabled"
msgstr "" msgstr ""
...@@ -9906,6 +9912,9 @@ msgstr "" ...@@ -9906,6 +9912,9 @@ msgstr ""
msgid "This is a delayed job to run in %{remainingTime}" msgid "This is a delayed job to run in %{remainingTime}"
msgstr "" msgstr ""
msgid "This is a security log of important events involving your account."
msgstr ""
msgid "This is the author's first Merge Request to this project." msgid "This is the author's first Merge Request to this project."
msgstr "" 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