1
0
Fork 0
forked from gitea/nas

Add: ローカルからフォローされていない全てのアカウントからのフォローを拒否する設定 (#592)

* Add: ローカルからフォローされていない全てのアカウントからのフォローを拒否する設定

* Fix test

* Fix test
This commit is contained in:
KMY(雪あすか) 2024-02-18 11:39:09 +09:00 committed by GitHub
parent 1efeedf896
commit c35c13ffba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 58 additions and 2 deletions

View file

@ -20,7 +20,7 @@ import { IconButton } from '../../../components/icon_button';
const messages = defineMessages({
remove: { id: 'lists.account.remove', defaultMessage: 'Remove from list' },
add: { id: 'lists.account.add', defaultMessage: 'Add to list' },
exclusive: { id: 'lists.exclusive', defaultMessage: 'Exclusive from home' },
exclusive: { id: 'lists.exclusive', defaultMessage: 'Hide list or antenna account posts from home' },
});
const MapStateToProps = (state, { listId, added }) => ({

View file

@ -221,7 +221,7 @@ class ListTimeline extends PureComponent {
<div className='setting-toggle'>
<Toggle id={`list-${id}-exclusive`} checked={isExclusive} onChange={this.onExclusiveToggle} />
<label htmlFor={`list-${id}-exclusive`} className='setting-toggle__label'>
<FormattedMessage id='lists.exclusive' defaultMessage='Hide these posts from home or STL' />
<FormattedMessage id='lists.exclusive' defaultMessage='Hide list or antenna account posts from home' />
</label>
</div>