mattermost-mobile/app/screens/post_priority_picker/utils.ts
Daniel Espino García 5a610f1620
Fix post priority bottom sheet (#7350)
* Fix post priority bottom sheet

* Remove unneeded tablet handling
2023-05-16 19:13:06 +02:00

45 lines
1.4 KiB
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {t} from '@i18n';
export const labels = {
standard: {
label: {
id: t('post_priority.picker.label.standard'),
defaultMessage: 'Standard',
},
},
urgent: {
label: {
id: t('post_priority.picker.label.urgent'),
defaultMessage: 'Urgent',
},
},
important: {
label: {
id: t('post_priority.picker.label.important'),
defaultMessage: 'Important',
},
},
requestAck: {
label: {
id: t('post_priority.picker.label.request_ack'),
defaultMessage: 'Request acknowledgement',
},
description: {
id: t('post_priority.picker.label.request_ack.description'),
defaultMessage: 'An acknowledgement button appears with your message.',
},
},
persistentNotifications: {
label: {
id: t('post_priority.picker.label.persistent_notifications'),
defaultMessage: 'Send persistent notifications',
},
description: {
id: t('post_priority.picker.label.persistent_notifications.description'),
defaultMessage: 'Recipients are notified every five minutes until they acknowledge or reply.',
},
},
};