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

2 statements  

« prev     ^ index     » next       coverage.py v7.3.1, created at 2023-09-30 06:11 +0000

1from .custom import translations as custom_translations 

2 

3 

4""" 

5en locale file. 

6 

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

8""" 

9 

10 

11locale = { 

12 "plural": lambda n: "one" 

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

14 else "other", 

15 "ordinal": lambda n: "few" 

16 if ( 

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

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

19 ) 

20 else "one" 

21 if ( 

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

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

24 ) 

25 else "two" 

26 if ( 

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

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

29 ) 

30 else "other", 

31 "translations": { 

32 "days": { 

33 "abbreviated": { 

34 0: "Mon", 

35 1: "Tue", 

36 2: "Wed", 

37 3: "Thu", 

38 4: "Fri", 

39 5: "Sat", 

40 6: "Sun", 

41 }, 

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

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

44 "wide": { 

45 0: "Monday", 

46 1: "Tuesday", 

47 2: "Wednesday", 

48 3: "Thursday", 

49 4: "Friday", 

50 5: "Saturday", 

51 6: "Sunday", 

52 }, 

53 }, 

54 "months": { 

55 "abbreviated": { 

56 1: "Jan", 

57 2: "Feb", 

58 3: "Mar", 

59 4: "Apr", 

60 5: "May", 

61 6: "Jun", 

62 7: "Jul", 

63 8: "Aug", 

64 9: "Sep", 

65 10: "Oct", 

66 11: "Nov", 

67 12: "Dec", 

68 }, 

69 "narrow": { 

70 1: "J", 

71 2: "F", 

72 3: "M", 

73 4: "A", 

74 5: "M", 

75 6: "J", 

76 7: "J", 

77 8: "A", 

78 9: "S", 

79 10: "O", 

80 11: "N", 

81 12: "D", 

82 }, 

83 "wide": { 

84 1: "January", 

85 2: "February", 

86 3: "March", 

87 4: "April", 

88 5: "May", 

89 6: "June", 

90 7: "July", 

91 8: "August", 

92 9: "September", 

93 10: "October", 

94 11: "November", 

95 12: "December", 

96 }, 

97 }, 

98 "units": { 

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

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

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

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

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

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

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

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

107 }, 

108 "relative": { 

109 "year": { 

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

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

112 }, 

113 "month": { 

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

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

116 }, 

117 "week": { 

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

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

120 }, 

121 "day": { 

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

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

124 }, 

125 "hour": { 

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

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

128 }, 

129 "minute": { 

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

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

132 }, 

133 "second": { 

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

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

136 }, 

137 }, 

138 "day_periods": { 

139 "midnight": "midnight", 

140 "am": "AM", 

141 "noon": "noon", 

142 "pm": "PM", 

143 "morning1": "in the morning", 

144 "afternoon1": "in the afternoon", 

145 "evening1": "in the evening", 

146 "night1": "at night", 

147 }, 

148 "week_data": { 

149 "min_days": 1, 

150 "first_day": 6, 

151 "weekend_start": 5, 

152 "weekend_end": 6, 

153 }, 

154 }, 

155 "custom": custom_translations, 

156}