diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-18 13:24:31 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-18 13:24:31 -0500 |
commit | 24c40ef9b9549d65f7955db016a95f2c9f10ddf1 (patch) | |
tree | 9c94ce8edfc902230ef4c8bc7ba5eb4b1f16c89e /app/javascript/flavours/glitch/features/compose | |
parent | 881ccb2de130074f0ca64621c53a94ae87c2ffbe (diff) |
add community visibility to the web app
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose')
-rw-r--r-- | app/javascript/flavours/glitch/features/compose/components/options.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/options.js b/app/javascript/flavours/glitch/features/compose/components/options.js index 46b32b4a3..4203eb567 100644 --- a/app/javascript/flavours/glitch/features/compose/components/options.js +++ b/app/javascript/flavours/glitch/features/compose/components/options.js @@ -33,6 +33,14 @@ const messages = defineMessages({ defaultMessage: 'BBdown', id: 'compose.content-type.bbdown', }, + local_short: { + defaultMessage: 'Community', + id: 'privacy.local.short' + }, + local_long: { + defaultMessage: 'Post to community timeline', + id: 'privacy.local.long' + }, change_privacy: { defaultMessage: 'Adjust status privacy', id: 'privacy.change', @@ -236,6 +244,12 @@ class ComposerOptions extends ImmutablePureComponent { name: 'unlisted', text: <FormattedMessage {...messages.unlisted_short} />, }, + local: { + icon: 'users', + meta: <FormattedMessage {...messages.local_long} />, + name: 'local', + text: <FormattedMessage {...messages.local_short} />, + } }; const contentTypeItems = { @@ -320,6 +334,7 @@ class ComposerOptions extends ImmutablePureComponent { icon={(privacyItems[privacy] || {}).icon} items={[ privacyItems.public, + privacyItems.local, privacyItems.unlisted, privacyItems.private, privacyItems.direct, |