mattermost-mobile/app/screens/post_priority_picker/utils.ts
Kyriakos Z ab4f65020a
[MM-49540] Message Priority Phase 3 (#7142)
* Init

* i18 and types

* Acknowledge button, api

* Ack button + display ackd users

* Saves priority on draft and addresses some comments

* Addresses review comments round 2

* Moves fetching userprofiles upon opening ACKs

* Adds metadata column in drafts table

+ Addresses some more review comments.

* Small refactor according to review comments

* Addresses some review comments

* Addresses some review comments

* Uses local action when ACKing

* Fixes first time selecting priority and other

* Updates snapshots

* Fixes i18n

* Fixes ts errors

---------

Co-authored-by: Anurag Shivarathri <anurag6713@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-27 11:22:03 +00: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 '@app/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.',
},
},
};