en_US.ts 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. import { enUS } from 'date-fns/locale';
  2. import { Locale } from '../interface';
  3. const local: Locale = {
  4. code: 'en-US',
  5. dateFnsLocale: enUS,
  6. Pagination: {
  7. pageSize: 'Items per page: ${pageSize}',
  8. total: 'Total pages: ${total}',
  9. jumpTo: 'Jump to',
  10. page: ' page',
  11. },
  12. Modal: {
  13. confirm: 'Confirm',
  14. cancel: 'Cancel',
  15. },
  16. Tabs: {
  17. more: "More"
  18. },
  19. TimePicker: {
  20. placeholder: {
  21. time: 'Select time',
  22. timeRange: 'Select a time range',
  23. },
  24. begin: 'Start Time',
  25. end: 'End Time',
  26. hour: '',
  27. minute: '',
  28. second: '',
  29. AM: 'AM',
  30. PM: 'PM',
  31. },
  32. DatePicker: {
  33. placeholder: {
  34. date: 'Select date',
  35. dateTime: 'Select date and time',
  36. dateRange: ['Start date', 'End date'],
  37. dateTimeRange: ['Start date', 'End date'],
  38. monthRange: ['Start month', 'End month'],
  39. },
  40. presets: 'Presets',
  41. footer: {
  42. confirm: 'Confirm',
  43. cancel: 'Cancel',
  44. },
  45. selectDate: 'Select Date',
  46. selectTime: 'Select Time',
  47. year: 'year',
  48. month: 'month',
  49. day: 'day',
  50. monthText: '${month} ${year}',
  51. months: {
  52. 1: 'Jan',
  53. 2: 'Feb',
  54. 3: 'Mar',
  55. 4: 'Apr',
  56. 5: 'May',
  57. 6: 'Jun',
  58. 7: 'Jul',
  59. 8: 'Aug',
  60. 9: 'Sep',
  61. 10: 'Oct',
  62. 11: 'Nov',
  63. 12: 'Dec',
  64. },
  65. fullMonths: {
  66. 1: 'January',
  67. 2: 'February',
  68. 3: 'March',
  69. 4: 'April',
  70. 5: 'May',
  71. 6: 'June',
  72. 7: 'July',
  73. 8: 'August',
  74. 9: 'September',
  75. 10: 'October',
  76. 11: 'November',
  77. 12: 'December',
  78. },
  79. weeks: {
  80. Mon: 'Mon',
  81. Tue: 'Tue',
  82. Wed: 'Wed',
  83. Thu: 'Thu',
  84. Fri: 'Fri',
  85. Sat: 'Sat',
  86. Sun: 'Sun',
  87. },
  88. localeFormatToken: {
  89. FORMAT_SWITCH_DATE: 'MM/dd/yyyy',
  90. },
  91. },
  92. Popconfirm: {
  93. confirm: 'Confirm',
  94. cancel: 'Cancel',
  95. },
  96. Navigation: {
  97. collapseText: 'Collapse Sidebar',
  98. expandText: 'Expand Sidebar',
  99. },
  100. Table: {
  101. emptyText: 'No Result',
  102. pageText: 'Showing ${currentStart} to ${currentEnd} of ${total}',
  103. descend: 'Click to descend',
  104. ascend: 'Click to ascend',
  105. cancelSort: 'Cancel sorting',
  106. },
  107. Select: {
  108. emptyText: 'No Result',
  109. createText: 'Create',
  110. },
  111. Cascader: {
  112. emptyText: 'No Result',
  113. },
  114. Tree: {
  115. emptyText: 'No Result',
  116. searchPlaceholder: 'Search',
  117. },
  118. List: {
  119. emptyText: 'No Result',
  120. },
  121. Calendar: {
  122. allDay: 'All Day',
  123. AM: '${time} AM',
  124. PM: '${time} PM',
  125. datestring: '',
  126. remaining: '${remained} more',
  127. },
  128. Upload: {
  129. mainText: 'Click to Upload File or Drag File to here',
  130. illegalTips: 'This type of file is not supported',
  131. legalTips: 'Release and start uploading',
  132. retry: 'Retry',
  133. replace: 'Replace File',
  134. clear: 'Clear',
  135. selectedFiles: 'Selected Files',
  136. illegalSize: 'Illegal file size',
  137. fail: 'Upload fail',
  138. },
  139. TreeSelect: {
  140. searchPlaceholder: 'Search',
  141. },
  142. Typography: {
  143. copy: 'Copy',
  144. copied: 'Copied',
  145. expand: 'Expand',
  146. collapse: 'Collapse',
  147. },
  148. Transfer: {
  149. emptyLeft: 'No Data',
  150. emptySearch: 'No search results',
  151. emptyRight: 'No content, check from the left',
  152. placeholder: 'Search',
  153. clear: 'Clear',
  154. selectAll: 'Select all',
  155. clearSelectAll: 'Unselect all',
  156. total: 'Total items: ${total}',
  157. selected: 'Items selected: ${total}',
  158. },
  159. Form: {
  160. optional: '(optional)',
  161. },
  162. Image: {
  163. preview: 'Preview',
  164. loading: 'Loading',
  165. loadError: 'Failed to load',
  166. prevTip: 'Previous',
  167. nextTip: 'Next',
  168. zoomInTip: 'Zoom in',
  169. zoomOutTip: 'Zoom out',
  170. rotateTip: 'Rotate',
  171. downloadTip: 'Download',
  172. adaptiveTip: 'Adapt to the page',
  173. originTip: 'Original size',
  174. },
  175. Chat: {
  176. deleteConfirm: 'Are you sure you want to delete this session?',
  177. clearContext: 'Context cleared',
  178. copySuccess: 'Copy successful.',
  179. stop: 'Stop',
  180. copy: 'Copy',
  181. copied: 'Copied',
  182. dropAreaText: 'Put the file here',
  183. }
  184. };
  185. // [i18n-English(US)]
  186. export default local;