Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/pendulum/locales/en/locale.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-06-07 06:35 +0000

1# -*- coding: utf-8 -*- 

2from __future__ import unicode_literals 

3 

4from .custom import translations as custom_translations 

5 

6 

7""" 

8en locale file. 

9 

10It has been generated automatically and must not be modified directly. 

11""" 

12 

13 

14locale = { 

15 "plural": lambda n: "one" 

16 if ((n == n and ((n == 1))) and (0 == 0 and ((0 == 0)))) 

17 else "other", 

18 "ordinal": lambda n: "few" 

19 if ( 

20 ((n % 10) == (n % 10) and (((n % 10) == 3))) 

21 and (not ((n % 100) == (n % 100) and (((n % 100) == 13)))) 

22 ) 

23 else "one" 

24 if ( 

25 ((n % 10) == (n % 10) and (((n % 10) == 1))) 

26 and (not ((n % 100) == (n % 100) and (((n % 100) == 11)))) 

27 ) 

28 else "two" 

29 if ( 

30 ((n % 10) == (n % 10) and (((n % 10) == 2))) 

31 and (not ((n % 100) == (n % 100) and (((n % 100) == 12)))) 

32 ) 

33 else "other", 

34 "translations": { 

35 "days": { 

36 "abbreviated": { 

37 0: "Sun", 

38 1: "Mon", 

39 2: "Tue", 

40 3: "Wed", 

41 4: "Thu", 

42 5: "Fri", 

43 6: "Sat", 

44 }, 

45 "narrow": {0: "S", 1: "M", 2: "T", 3: "W", 4: "T", 5: "F", 6: "S"}, 

46 "short": {0: "Su", 1: "Mo", 2: "Tu", 3: "We", 4: "Th", 5: "Fr", 6: "Sa"}, 

47 "wide": { 

48 0: "Sunday", 

49 1: "Monday", 

50 2: "Tuesday", 

51 3: "Wednesday", 

52 4: "Thursday", 

53 5: "Friday", 

54 6: "Saturday", 

55 }, 

56 }, 

57 "months": { 

58 "abbreviated": { 

59 1: "Jan", 

60 2: "Feb", 

61 3: "Mar", 

62 4: "Apr", 

63 5: "May", 

64 6: "Jun", 

65 7: "Jul", 

66 8: "Aug", 

67 9: "Sep", 

68 10: "Oct", 

69 11: "Nov", 

70 12: "Dec", 

71 }, 

72 "narrow": { 

73 1: "J", 

74 2: "F", 

75 3: "M", 

76 4: "A", 

77 5: "M", 

78 6: "J", 

79 7: "J", 

80 8: "A", 

81 9: "S", 

82 10: "O", 

83 11: "N", 

84 12: "D", 

85 }, 

86 "wide": { 

87 1: "January", 

88 2: "February", 

89 3: "March", 

90 4: "April", 

91 5: "May", 

92 6: "June", 

93 7: "July", 

94 8: "August", 

95 9: "September", 

96 10: "October", 

97 11: "November", 

98 12: "December", 

99 }, 

100 }, 

101 "units": { 

102 "year": {"one": "{0} year", "other": "{0} years"}, 

103 "month": {"one": "{0} month", "other": "{0} months"}, 

104 "week": {"one": "{0} week", "other": "{0} weeks"}, 

105 "day": {"one": "{0} day", "other": "{0} days"}, 

106 "hour": {"one": "{0} hour", "other": "{0} hours"}, 

107 "minute": {"one": "{0} minute", "other": "{0} minutes"}, 

108 "second": {"one": "{0} second", "other": "{0} seconds"}, 

109 "microsecond": {"one": "{0} microsecond", "other": "{0} microseconds"}, 

110 }, 

111 "relative": { 

112 "year": { 

113 "future": {"other": "in {0} years", "one": "in {0} year"}, 

114 "past": {"other": "{0} years ago", "one": "{0} year ago"}, 

115 }, 

116 "month": { 

117 "future": {"other": "in {0} months", "one": "in {0} month"}, 

118 "past": {"other": "{0} months ago", "one": "{0} month ago"}, 

119 }, 

120 "week": { 

121 "future": {"other": "in {0} weeks", "one": "in {0} week"}, 

122 "past": {"other": "{0} weeks ago", "one": "{0} week ago"}, 

123 }, 

124 "day": { 

125 "future": {"other": "in {0} days", "one": "in {0} day"}, 

126 "past": {"other": "{0} days ago", "one": "{0} day ago"}, 

127 }, 

128 "hour": { 

129 "future": {"other": "in {0} hours", "one": "in {0} hour"}, 

130 "past": {"other": "{0} hours ago", "one": "{0} hour ago"}, 

131 }, 

132 "minute": { 

133 "future": {"other": "in {0} minutes", "one": "in {0} minute"}, 

134 "past": {"other": "{0} minutes ago", "one": "{0} minute ago"}, 

135 }, 

136 "second": { 

137 "future": {"other": "in {0} seconds", "one": "in {0} second"}, 

138 "past": {"other": "{0} seconds ago", "one": "{0} second ago"}, 

139 }, 

140 }, 

141 "day_periods": { 

142 "midnight": "midnight", 

143 "am": "AM", 

144 "noon": "noon", 

145 "pm": "PM", 

146 "morning1": "in the morning", 

147 "afternoon1": "in the afternoon", 

148 "evening1": "in the evening", 

149 "night1": "at night", 

150 }, 

151 }, 

152 "custom": custom_translations, 

153}