mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-24 14:54:13 +00:00
Handle sessions that can't be translated (#6245)
* Handle sessions that can't be translated This commit fixes #6165. * Fix typo
This commit is contained in:
parent
35b84985a8
commit
704053d221
|
@ -16,7 +16,7 @@
|
||||||
%span{ title: session.user_agent }<
|
%span{ title: session.user_agent }<
|
||||||
= fa_icon "#{session_device_icon(session)} fw", 'aria-label' => session_device_icon(session)
|
= 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
|
%td
|
||||||
%samp= session.ip
|
%samp= session.ip
|
||||||
%td
|
%td
|
||||||
|
|
Loading…
Reference in a new issue