diff options
author | Jeong Arm <kjwonmail@gmail.com> | 2018-01-12 10:44:28 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-01-12 02:44:28 +0100 |
commit | 704053d22172de4924d0fc7baa7ad1a93df697bc (patch) | |
tree | 67381b66fd85896d960c0bd7ba117c53038490c9 /app/views/auth/registrations | |
parent | 35b84985a8b9e57cfd3ffac8a0e3937d3c7a1167 (diff) |
Handle sessions that can't be translated (#6245)
* Handle sessions that can't be translated This commit fixes #6165. * Fix typo
Diffstat (limited to 'app/views/auth/registrations')
-rw-r--r-- | app/views/auth/registrations/_sessions.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/auth/registrations/_sessions.html.haml b/app/views/auth/registrations/_sessions.html.haml index c1e9764b3..8424a8901 100644 --- a/app/views/auth/registrations/_sessions.html.haml +++ b/app/views/auth/registrations/_sessions.html.haml @@ -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 |