From 704053d22172de4924d0fc7baa7ad1a93df697bc Mon Sep 17 00:00:00 2001 From: Jeong Arm Date: Fri, 12 Jan 2018 10:44:28 +0900 Subject: [PATCH] Handle sessions that can't be translated (#6245) * Handle sessions that can't be translated This commit fixes #6165. * Fix typo --- app/views/auth/registrations/_sessions.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/auth/registrations/_sessions.html.haml b/app/views/auth/registrations/_sessions.html.haml index c1e9764b3c2..8424a890120 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