about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/getting_started/components/announcements.js
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2021-01-21 14:29:54 +0100
committerGitHub <noreply@github.com>2021-01-21 14:29:54 +0100
commit7d0031a515a9ccd552fab9ad55b6edb7e0e5ba32 (patch)
treee8f18b180524893a0eb1d8f3b45c6c7588fe6788 /app/javascript/mastodon/features/getting_started/components/announcements.js
parent80469897883d4b008c2b0ef79a2a855268b69acc (diff)
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>
Diffstat (limited to 'app/javascript/mastodon/features/getting_started/components/announcements.js')
-rw-r--r--app/javascript/mastodon/features/getting_started/components/announcements.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/getting_started/components/announcements.js b/app/javascript/mastodon/features/getting_started/components/announcements.js
index 5bc3abac6..4534f7121 100644
--- a/app/javascript/mastodon/features/getting_started/components/announcements.js
+++ b/app/javascript/mastodon/features/getting_started/components/announcements.js
@@ -145,7 +145,7 @@ class Content extends ImmutablePureComponent {
 
     return (
       <div
-        className='announcements__item__content'
+        className='announcements__item__content translate'
         ref={this.setRef}
         dangerouslySetInnerHTML={{ __html: announcement.get('contentHtml') }}
       />