uz_UZ.js 4.8 KB

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