logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 704053d22172de4924d0fc7baa7ad1a93df697bc
parent: 35b84985a8b9e57cfd3ffac8a0e3937d3c7a1167
Author: Jeong Arm <kjwonmail@gmail.com>
Date:   Fri, 12 Jan 2018 10:44:28 +0900

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

* Handle sessions that can't be translated

This commit fixes #6165.

* Fix typo

Diffstat:

Mapp/views/auth/registrations/_sessions.html.haml2+-
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 @@ -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