1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 14:58:21 +09:00

Merge branch 'yiskah-patch-1'

This commit is contained in:
Eugen Rochko 2017-03-26 12:49:31 +02:00
commit 874d91126c
2 changed files with 7 additions and 7 deletions

View File

@ -4,13 +4,13 @@ import IconButton from '../../../components/icon_button';
const messages = defineMessages({
public_short: { id: 'privacy.public.short', defaultMessage: 'Public' },
public_long: { id: 'privacy.public.long', defaultMessage: 'Anyone can see' },
public_long: { id: 'privacy.public.long', defaultMessage: 'Post to Public Timelines' },
unlisted_short: { id: 'privacy.unlisted.short', defaultMessage: 'Unlisted' },
unlisted_long: { id: 'privacy.unlisted.long', defaultMessage: 'Anyone can see' },
unlisted_long: { id: 'privacy.unlisted.long', defaultMessage: 'Do not show in public timelines' },
private_short: { id: 'privacy.private.short', defaultMessage: 'Private' },
private_long: { id: 'privacy.private.long', defaultMessage: 'Followers can see' },
private_long: { id: 'privacy.private.long', defaultMessage: 'Post to followers only, cannot be boosted' },
direct_short: { id: 'privacy.direct.short', defaultMessage: 'Direct' },
direct_long: { id: 'privacy.direct.long', defaultMessage: 'Mentions can see' }
direct_long: { id: 'privacy.direct.long', defaultMessage: 'Post to mentioned users only' }
});
const PrivacyDropdown = React.createClass({
@ -65,9 +65,9 @@ const PrivacyDropdown = React.createClass({
const options = [
{ icon: 'globe', value: 'public', shortText: intl.formatMessage(messages.public_short), longText: intl.formatMessage(messages.public_long) },
{ icon: 'globe', value: 'unlisted', shortText: intl.formatMessage(messages.unlisted_short), longText: intl.formatMessage(messages.unlisted_long) },
{ icon: 'unlock-alt', value: 'unlisted', shortText: intl.formatMessage(messages.unlisted_short), longText: intl.formatMessage(messages.unlisted_long) },
{ icon: 'lock', value: 'private', shortText: intl.formatMessage(messages.private_short), longText: intl.formatMessage(messages.private_long) },
{ icon: 'envelope', value: 'direct', shortText: intl.formatMessage(messages.direct_short), longText: intl.formatMessage(messages.direct_long) }
{ icon: 'paper-plane', value: 'direct', shortText: intl.formatMessage(messages.direct_short), longText: intl.formatMessage(messages.direct_long) }
];
const valueOption = options.find(item => item.value === value);

View File

@ -1703,7 +1703,7 @@ button.active i.fa-retweet {
.privacy-dropdown__option__content {
flex: 1 1 auto;
color: $color3;
color: darken($color3, 24%);
strong {
font-weight: 500;