-
Notifications
You must be signed in to change notification settings - Fork 7
/
messages.js
37 lines (36 loc) · 1.07 KB
/
messages.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* DurationMessage Messages
*
* This contains all the text for the DurationMessage component.
*/
import { defineMessages } from 'react-intl';
export default defineMessages({
duration: {
id: 'react-intl-formatted-duration.duration',
defaultMessage: '{value} {unit}',
},
longFormatting: {
id: 'react-intl-formatted-duration.longFormatting',
defaultMessage: '{minutes} {seconds}',
},
timerFormatting: {
id: 'react-intl-formatted-duration.timerFormatting',
defaultMessage: '{minutes}:{seconds}',
},
daysUnit: {
id: 'react-intl-formatted-duration.daysUnit',
defaultMessage: '{value, plural, one {day} other {days}}',
},
hoursUnit: {
id: 'react-intl-formatted-duration.hoursUnit',
defaultMessage: '{value, plural, one {hour} other {hours}}',
},
minutesUnit: {
id: 'react-intl-formatted-duration.minutesUnit',
defaultMessage: '{value, plural, one {minute} other {minutes}}',
},
secondsUnit: {
id: 'react-intl-formatted-duration.secondsUnit',
defaultMessage: '{value, plural, one {second} other {seconds}}',
},
});