Fix Google Translate breaking web interface (#15610)
- marks the page as a whole as untranslatable - still marks user text as translatable Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
= render_initial_state
|
||||
= javascript_pack_tag 'application', crossorigin: 'anonymous'
|
||||
|
||||
.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
||||
.notranslate.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
||||
%noscript
|
||||
= image_pack_tag 'logo.svg', alt: 'Mastodon'
|
||||
|
||||
|
@ -14,4 +14,4 @@
|
||||
%p= t('about.browse_local_posts')
|
||||
|
||||
#mastodon-timeline{ data: { props: Oj.dump(default_props.merge(local: !Setting.show_known_fediverse_at_about_page)) }}
|
||||
#modal-container
|
||||
.notranslate#modal-container
|
||||
|
@ -13,4 +13,4 @@
|
||||
%p= t('about.about_hashtag_html', hashtag: @tag.name)
|
||||
|
||||
#mastodon-timeline{ data: { props: Oj.dump(default_props.merge(hashtag: @tag.name, local: @local)) }}
|
||||
#modal-container
|
||||
.notranslate#modal-container
|
||||
|
Reference in New Issue
Block a user