antd
Version:
An enterprise-class UI design language and React components implementation
205 lines (198 loc) • 8.72 kB
JavaScript
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (__hasOwnProp.call(b, prop))
__defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols)
for (var prop of __getOwnPropSymbols(b)) {
if (__propIsEnum.call(b, prop))
__defNormalProp(a, prop, b[prop]);
}
return a;
};
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// components/locale/si_LK.tsx
var si_LK_exports = {};
__export(si_LK_exports, {
default: () => si_LK_default4
});
module.exports = __toCommonJS(si_LK_exports);
var import_si_LK4 = __toESM(require("rc-pagination/lib/locale/si_LK"));
// components/date-picker/locale/si_LK.tsx
var import_si_LK = __toESM(require("rc-picker/lib/locale/si_LK"));
// components/time-picker/locale/si_LK.tsx
var locale = {
placeholder: "වේලාව තෝරන්න",
rangePlaceholder: ["ආරම්භක වේලාව", "නිමවන වේලාව"]
};
var si_LK_default = locale;
// components/date-picker/locale/si_LK.tsx
var locale2 = {
lang: __spreadValues({
placeholder: "දිනය තෝරන්න",
yearPlaceholder: "අවුරුද්ද තෝරන්න",
quarterPlaceholder: "කාර්තුව තෝරන්න",
monthPlaceholder: "මාසය තෝරන්න",
weekPlaceholder: "සතිය තෝරන්න",
rangePlaceholder: ["ආරම්භක දිනය", "නිමවන දිනය"],
rangeYearPlaceholder: ["ආර්ම්භක අවුරුද්ද", "නිමවන අවුරුද්ද"],
rangeQuarterPlaceholder: ["ආරම්භක කාර්තුව", "නිමවන කාර්තුව"],
rangeMonthPlaceholder: ["ආරම්භක මාසය", "නිමවන මාසය"],
rangeWeekPlaceholder: ["ආරම්භක සතිය", "නිමවන සතිය"]
}, import_si_LK.default),
timePickerLocale: __spreadValues({}, si_LK_default)
};
var si_LK_default2 = locale2;
// components/calendar/locale/si_LK.tsx
var si_LK_default3 = si_LK_default2;
// components/locale/si_LK.tsx
var typeTemplate = "${label} වලංගු ${type} ක් නොවේ";
var localeValues = {
locale: "si",
Pagination: import_si_LK4.default,
DatePicker: si_LK_default2,
TimePicker: si_LK_default,
Calendar: si_LK_default3,
global: {
placeholder: "කරුණාකර තෝරන්න"
},
Table: {
filterTitle: "පෙරහන්",
filterConfirm: "හරි",
filterReset: "යළි සකසන්න",
filterEmptyText: "පෙරහන් නැත",
filterCheckall: "සියළු අථක තෝරන්න",
filterSearchPlaceholder: "පෙරහන් තුළ සොයන්න",
emptyText: "දත්ත නැත",
selectAll: "වත්මන් පිටුව තෝරන්න",
selectInvert: "වත්මන් පිටුව යටියනය",
selectNone: "සියළු දත්ත ඉවතලන්න",
selectionAll: "සියළු දත්ත තෝරන්න",
sortTitle: "පෙළගැසීම",
expand: "පේළිය දිගහරින්න",
collapse: "පේළිය හකුළන්න",
triggerDesc: "අවරෝහණව පෙළගැසීමට ඔබන්න",
triggerAsc: "ආරෝහණව පෙළගැසීමට ඔබන්න",
cancelSort: "පෙළගැසීම අවලංගු කිරීමට ඔබන්න"
},
Modal: {
okText: "හරි",
cancelText: "අවලංගු කරන්න",
justOkText: "හරි"
},
Popconfirm: {
okText: "හරි",
cancelText: "අවලංගු කරන්න"
},
Transfer: {
titles: ["", ""],
searchPlaceholder: "මෙතැන සොයන්න",
itemUnit: "අථකය",
itemsUnit: "අථක",
remove: "ඉවත් කරන්න",
selectCurrent: "වත්මන් පිටුව තෝරන්න",
removeCurrent: "වත්මන් පිටුව ඉවත් කරන්න",
selectAll: "සියළු දත්ත තෝරන්න",
removeAll: "සියළු දත්ත ඉවතලන්න",
selectInvert: "වත්මන් පිටුව යටියනය"
},
Upload: {
uploading: "උඩුගත වෙමින්...",
removeFile: "ගොනුව ඉවතලන්න",
uploadError: "උඩුගත වීමේ දෝෂයකි",
previewFile: "ගොනුවේ පෙරදසුන",
downloadFile: "ගොනුව බාගන්න"
},
Empty: {
description: "දත්ත නැත"
},
Icon: {
icon: "නිරූපකය"
},
Text: {
edit: "සංස්කරණය",
copy: "පිටපත්",
copied: "පිටපත් විය",
expand: "විහිදුවන්න"
},
PageHeader: {
back: "ආපසු"
},
Form: {
optional: "(විකල්පයකි)",
defaultValidateMessages: {
default: "${label} සඳහා ක්ෂේත්රය වලංගුකරණයේ දෝෂයකි",
required: "${label} ඇතුල් කරන්න",
enum: "[${enum}] වලින් එකක් ${label} විය යුතුය",
whitespace: "${label} හිස් අකුරක් නොවිය යුතුය",
date: {
format: "${label} දිනයේ ආකෘතිය වැරදිය",
parse: "${label} දිනයකට පරිවර්තනය කළ නොහැකිය",
invalid: "${label} වලංගු නොවන දිනයකි"
},
types: {
string: typeTemplate,
method: typeTemplate,
array: typeTemplate,
object: typeTemplate,
number: typeTemplate,
date: typeTemplate,
boolean: typeTemplate,
integer: typeTemplate,
float: typeTemplate,
regexp: typeTemplate,
email: typeTemplate,
url: typeTemplate,
hex: typeTemplate
},
string: {
len: "${label} අකුරු ${len}ක් විය යුතුය",
min: "${label} අවමය අකුරු ${min}ක් විය යුතුය",
max: "${label} අකුරු ${max}ක් දක්වා විය යුතුය",
range: "${label} අකුරු ${min}-${max}ක් අතර විය යුතුය"
},
number: {
len: "${label} නිසැකව ${len} සමාන විය යුතුය",
min: "${label} අවමය ${min} විය යුතුය",
max: "${label} උපරිමය ${max} විය යුතුය",
range: "${label} නිසැකව ${min}-${max} අතර විය යුතුය"
},
array: {
len: "${len} ${label} විය යුතුය",
min: "අවම වශයෙන් ${min} ${label}",
max: "උපරිම වශයෙන් ${max} ${label}",
range: "${label} ගණන ${min}-${max} අතර විය යුතුය"
},
pattern: {
mismatch: "${pattern} රටාවට ${label} නොගැළපේ"
}
}
},
Image: {
preview: "පෙරදසුන"
}
};
var si_LK_default4 = localeValues;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});