Browse Source

Handle sessions that can't be translated (#6245)

* Handle sessions that can't be translated

This commit fixes #6165.

* Fix typo
master
Jeong Arm 6 years ago
committed by Eugen Rochko
parent
commit
704053d221
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/auth/registrations/_sessions.html.haml

+ 1
- 1
app/views/auth/registrations/_sessions.html.haml View File

@ -16,7 +16,7 @@
%span{ title: session.user_agent }<
= fa_icon "#{session_device_icon(session)} fw", 'aria-label' => session_device_icon(session)
= ' '
= t 'sessions.description', browser: t("sessions.browsers.#{session.browser}"), platform: t("sessions.platforms.#{session.platform}")
= t 'sessions.description', browser: t("sessions.browsers.#{session.browser}", default: "#{session.browser}"), platform: t("sessions.platforms.#{session.platform}", default: "#{session.platform}")
%td
%samp= session.ip
%td

Loading…
Cancel
Save