[Glitch] Add “translate” class to other user strings

Port 5fcac81302 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
master
ThibG 3 years ago committed by Claire
parent b81710c02c
commit 00e55445b9
  1. 2
      app/javascript/flavours/glitch/components/poll.js
  2. 2
      app/javascript/flavours/glitch/features/compose/components/reply_indicator.js
  3. 2
      app/javascript/flavours/glitch/features/directory/components/account_card.js
  4. 2
      app/javascript/flavours/glitch/features/follow_requests/components/account_authorize.js

@ -153,7 +153,7 @@ class Poll extends ImmutablePureComponent {
</span>}
<span
className='poll__option__text'
className='poll__option__text translate'
dangerouslySetInnerHTML={{ __html: titleEmojified }}
/>

@ -66,7 +66,7 @@ class ReplyIndicator extends ImmutablePureComponent {
)}
</header>
<div
className='content'
className='content translate'
dangerouslySetInnerHTML={{ __html: content || '' }}
/>
{attachments.size > 0 && (

@ -241,7 +241,7 @@ class AccountCard extends ImmutablePureComponent {
<div className='directory__card__extra' ref={this.setRef}>
<div
className='account__header__content'
className='account__header__content translate'
dangerouslySetInnerHTML={{ __html: account.get('note_emojified') }}
/>
</div>

@ -35,7 +35,7 @@ class AccountAuthorize extends ImmutablePureComponent {
<DisplayName account={account} />
</Permalink>
<div className='account__header__content' dangerouslySetInnerHTML={content} />
<div className='account__header__content translate' dangerouslySetInnerHTML={content} />
</div>
<div className='account--panel'>

Loading…
Cancel
Save