uz_UZ.js 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. import Pagination from "rc-pagination/es/locale/uz_UZ";
  2. import Calendar from '../calendar/locale/uz_UZ';
  3. import DatePicker from '../date-picker/locale/uz_UZ';
  4. import TimePicker from '../time-picker/locale/uz_UZ';
  5. const typeTemplate = '${label} ${type} turi emas';
  6. const localeValues = {
  7. // NOTE: In
  8. // https://github.com/react-component/picker/blob/master/src/locale/uz_UZ.ts
  9. // and
  10. // https://github.com/react-component/pagination/blob/master/src/locale/uz_UZ.ts
  11. // both implemented as uz-latn Uzbek
  12. locale: 'uz-latn',
  13. Pagination,
  14. DatePicker,
  15. TimePicker,
  16. Calendar,
  17. global: {
  18. placeholder: 'Iltimos tanlang',
  19. close: 'Yopish'
  20. },
  21. Table: {
  22. filterTitle: 'Filtr',
  23. filterConfirm: 'OK',
  24. filterReset: 'Bekor qilish',
  25. filterEmptyText: 'Filtrlarsiz',
  26. filterCheckAll: 'Barcha elementlarni tanlash',
  27. filterSearchPlaceholder: 'Filtrlarda qidiruv',
  28. emptyText: "Ma'lumotlar topilmadi",
  29. selectAll: 'Barchasini tanlash',
  30. selectInvert: 'Tanlovni aylantirish',
  31. selectNone: "Barcha ma'lumotlarni tozalang",
  32. selectionAll: 'Barchasini tanlash',
  33. sortTitle: 'Tartiblash',
  34. expand: 'Satirni yozish',
  35. collapse: "Satirni yig'ish",
  36. triggerDesc: 'Kamayish tartibida tartiblash uchun bosing',
  37. triggerAsc: "O'sish tartibida tartiblash uchun bosing",
  38. cancelSort: 'Tartiblshni rad etish uchun bosing'
  39. },
  40. Tour: {
  41. Next: "So'ngra",
  42. Previous: 'Ortga',
  43. Finish: 'Tugatish'
  44. },
  45. Modal: {
  46. okText: 'OK',
  47. cancelText: 'Yopish',
  48. justOkText: 'OK'
  49. },
  50. Popconfirm: {
  51. okText: 'OK',
  52. cancelText: 'Bekor qilish'
  53. },
  54. Transfer: {
  55. titles: ['', ''],
  56. searchPlaceholder: 'Qidiruv',
  57. itemUnit: 'elem.',
  58. itemsUnit: 'elem.',
  59. remove: 'Oʻchirish',
  60. selectAll: "Barch ma'lumotlarni tanlash",
  61. selectCurrent: 'Joriy sahifani tanlash',
  62. selectInvert: 'Tanlovni aylantirish',
  63. removeAll: "Barcha ma'lumotlarni o'chirish",
  64. removeCurrent: "Joriy sahifani o'chirish"
  65. },
  66. Upload: {
  67. uploading: 'Yuklanmoqda...',
  68. removeFile: "Faylni o'chirish",
  69. uploadError: 'Yuklashda xatolik yuz berdi',
  70. previewFile: "Faylni oldindan ko'rish",
  71. downloadFile: 'Faylni yuklash'
  72. },
  73. Empty: {
  74. description: 'Maʼlumot topilmadi'
  75. },
  76. Icon: {
  77. icon: 'ikonka'
  78. },
  79. Text: {
  80. edit: 'Tahrirlash',
  81. copy: 'Nusxalash',
  82. copied: 'Nusxalandi',
  83. expand: 'Ochib qoyish'
  84. },
  85. Form: {
  86. optional: '(shart emas)',
  87. defaultValidateMessages: {
  88. default: '${label} maydonini tekshirishda xatolik yuz berdi',
  89. required: 'Iltimos, ${label} kiriting',
  90. enum: '${label}, [${enum}] dan biri boʻlishi kerak',
  91. whitespace: '${label} boʻsh boʻlishi mumkin emas',
  92. date: {
  93. format: '${label} toʻgʻri sana formatida emas',
  94. parse: '${label} sanaga aylantirilmaydi',
  95. invalid: "${label} tog'ri sana emas"
  96. },
  97. types: {
  98. string: typeTemplate,
  99. method: typeTemplate,
  100. array: typeTemplate,
  101. object: typeTemplate,
  102. number: typeTemplate,
  103. date: typeTemplate,
  104. boolean: typeTemplate,
  105. integer: typeTemplate,
  106. float: typeTemplate,
  107. regexp: typeTemplate,
  108. email: typeTemplate,
  109. url: typeTemplate,
  110. hex: typeTemplate
  111. },
  112. string: {
  113. len: '${label}, ${len} ta belgidan iborat boʻlishi kerak',
  114. min: '${label} должна быть больше или равна ${min} символов',
  115. max: '${label}, ${max} belgidan katta yoki teng boʻlishi kerak',
  116. range: '${label} uzunligi ${min}-${max} belgilar orasida boʻlishi kerak'
  117. },
  118. number: {
  119. len: '${label}, ${len} ga teng boʻlishi kerak',
  120. min: '${label}, ${min} dan katta yoki teng boʻlishi kerak',
  121. max: '${label}, ${max} dan kichik yoki teng boʻlishi kerak',
  122. range: '${label}, ${min}-${max} orasida boʻlishi kerak'
  123. },
  124. array: {
  125. len: '${label} elementlari soni ${len} ga teng boʻlishi kerak',
  126. min: '${label} elementlari soni ${min} dan katta yoki teng boʻlishi kerak',
  127. max: '${label} elementlari soni ${max} dan kam yoki teng boʻlishi kerak',
  128. range: '${label} elementlari soni ${min} va ${max} orasida boʻlishi kerak'
  129. },
  130. pattern: {
  131. mismatch: '${label}, ${pattern} andazasiga mos emas'
  132. }
  133. }
  134. },
  135. Image: {
  136. preview: 'Ko‘rib chiqish'
  137. },
  138. QRCode: {
  139. expired: 'QR-kod eskirgan',
  140. refresh: 'Yangilash'
  141. }
  142. };
  143. export default localeValues;