kopia lustrzana https://github.com/nextcloud/social
Use mastodon's label for visibilities description
Signed-off-by: Louis Chemineau <louis@chmn.me>pull/1715/head
rodzic
896108ea40
commit
7eb659a90d
|
@ -5,7 +5,7 @@ import { translate as t } from '@nextcloud/l10n'
|
|||
* @typedef {object} Visibility
|
||||
* @property {string} id - One of 'public', 'followers', 'direct', 'unlisted'
|
||||
* @property {string} text - Short label of the visibility
|
||||
* @property {string} longtext - Description of the visibility
|
||||
* @property {string} description - Description of the visibility
|
||||
*/
|
||||
|
||||
/** @type {Visibility[]} */
|
||||
|
@ -13,21 +13,21 @@ export default [
|
|||
{
|
||||
id: 'public',
|
||||
text: t('social', 'Public'),
|
||||
longtext: t('social', 'Post to public timelines'),
|
||||
description: t('social', 'Visible for all'),
|
||||
},
|
||||
{
|
||||
id: 'unlisted',
|
||||
text: t('social', 'Unlisted'),
|
||||
longtext: t('social', 'Do not post to public timelines'),
|
||||
description: t('social', 'Visible for all, but opted-out of discovery features'),
|
||||
},
|
||||
{
|
||||
id: 'followers',
|
||||
text: t('social', 'Followers'),
|
||||
longtext: t('social', 'Post to followers only'),
|
||||
description: t('social', 'Visible to followers only'),
|
||||
},
|
||||
{
|
||||
id: 'direct',
|
||||
text: t('social', 'Direct'),
|
||||
longtext: t('social', 'Post to mentioned users only'),
|
||||
description: t('social', 'Visible to mentioned users only'),
|
||||
},
|
||||
]
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<template #icon>
|
||||
<VisibilityIcon :visibility="visibilityDetails.id" :size="20" />
|
||||
</template>
|
||||
{{ visibilityDetails.longtext }}
|
||||
{{ visibilityDetails.description }}
|
||||
</NcActionButton>
|
||||
</NcActions>
|
||||
</template>
|
||||
|
|
Ładowanie…
Reference in New Issue