[Glitch] Add “translate” class to other user strings
Port 603ce7e1f5
to glitch-soc
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
9493606b11
commit
07408600f3
4 changed files with 4 additions and 4 deletions
|
@ -153,7 +153,7 @@ class Poll extends ImmutablePureComponent {
|
||||||
</span>}
|
</span>}
|
||||||
|
|
||||||
<span
|
<span
|
||||||
className='poll__option__text'
|
className='poll__option__text translate'
|
||||||
dangerouslySetInnerHTML={{ __html: titleEmojified }}
|
dangerouslySetInnerHTML={{ __html: titleEmojified }}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ class ReplyIndicator extends ImmutablePureComponent {
|
||||||
)}
|
)}
|
||||||
</header>
|
</header>
|
||||||
<div
|
<div
|
||||||
className='content'
|
className='content translate'
|
||||||
dangerouslySetInnerHTML={{ __html: content || '' }}
|
dangerouslySetInnerHTML={{ __html: content || '' }}
|
||||||
/>
|
/>
|
||||||
{attachments.size > 0 && (
|
{attachments.size > 0 && (
|
||||||
|
|
|
@ -241,7 +241,7 @@ class AccountCard extends ImmutablePureComponent {
|
||||||
|
|
||||||
<div className='directory__card__extra' ref={this.setRef}>
|
<div className='directory__card__extra' ref={this.setRef}>
|
||||||
<div
|
<div
|
||||||
className='account__header__content'
|
className='account__header__content translate'
|
||||||
dangerouslySetInnerHTML={{ __html: account.get('note_emojified') }}
|
dangerouslySetInnerHTML={{ __html: account.get('note_emojified') }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -35,7 +35,7 @@ class AccountAuthorize extends ImmutablePureComponent {
|
||||||
<DisplayName account={account} />
|
<DisplayName account={account} />
|
||||||
</Permalink>
|
</Permalink>
|
||||||
|
|
||||||
<div className='account__header__content' dangerouslySetInnerHTML={content} />
|
<div className='account__header__content translate' dangerouslySetInnerHTML={content} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className='account--panel'>
|
<div className='account--panel'>
|
||||||
|
|
Loading…
Reference in a new issue