en_GB.ts 4.2 KB

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