antd
Version:
An enterprise-class UI design language and React components implementation
195 lines (188 loc) • 6.3 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/ga_IE.tsx
var ga_IE_exports = {};
__export(ga_IE_exports, {
default: () => ga_IE_default4
});
module.exports = __toCommonJS(ga_IE_exports);
var import_ga_IE4 = __toESM(require("rc-pagination/lib/locale/ga_IE"));
// components/date-picker/locale/ga_IE.tsx
var import_ga_IE = __toESM(require("rc-picker/lib/locale/ga_IE"));
// components/time-picker/locale/ga_IE.tsx
var locale = {
placeholder: "Roghnaigh am",
rangePlaceholder: ["Am tosaigh", "Am deiridh"]
};
var ga_IE_default = locale;
// components/date-picker/locale/ga_IE.tsx
var locale2 = {
lang: __spreadValues({
placeholder: "Roghnaigh dáta",
yearPlaceholder: "Roghnaigh bliain",
quarterPlaceholder: "Roghnaigh ráithe",
monthPlaceholder: "Roghnaigh mí",
weekPlaceholder: "Roghnaigh seachtain",
rangePlaceholder: ["Dáta tosaigh", "Dáta deiridh"],
rangeYearPlaceholder: ["Tús na bliana", "Deireadh na bliana"],
rangeMonthPlaceholder: ["Tosaigh mhí", "Deireadh mhí"],
rangeWeekPlaceholder: ["Tosaigh an tseachtain", "Deireadh na seachtaine"]
}, import_ga_IE.default),
timePickerLocale: __spreadValues({}, ga_IE_default)
};
var ga_IE_default2 = locale2;
// components/calendar/locale/ga_IE.tsx
var ga_IE_default3 = ga_IE_default2;
// components/locale/ga_IE.tsx
var typeTemplate = "${label} is not a valid ${type}";
var localeValues = {
locale: "ga",
Pagination: import_ga_IE4.default,
DatePicker: ga_IE_default2,
TimePicker: ga_IE_default,
Calendar: ga_IE_default3,
global: {
placeholder: "Please select"
},
Table: {
filterTitle: "Filter menu",
filterConfirm: "OK",
filterReset: "Reset",
selectAll: "Select current page",
selectInvert: "Invert current page",
selectionAll: "Select all data",
sortTitle: "Sort",
expand: "Expand row",
collapse: "Collapse row",
triggerDesc: "Click to sort descending",
triggerAsc: "Click to sort ascending",
cancelSort: "Click to cancel sorting"
},
Modal: {
okText: "OK",
cancelText: "Cancel",
justOkText: "OK"
},
Popconfirm: {
okText: "OK",
cancelText: "Cancel"
},
Transfer: {
titles: ["", ""],
searchPlaceholder: "Search here",
itemUnit: "item",
itemsUnit: "items",
remove: "Remove",
selectCurrent: "Select current page",
removeCurrent: "Remove current page",
selectAll: "Select all data",
removeAll: "Remove all data",
selectInvert: "Invert current page"
},
Upload: {
uploading: "Uploading...",
removeFile: "Remove file",
uploadError: "Upload error",
previewFile: "Preview file",
downloadFile: "Download file"
},
Empty: {
description: "No Data"
},
Icon: {
icon: "icon"
},
Text: {
edit: "Edit",
copy: "Copy",
copied: "Copied",
expand: "Expand"
},
PageHeader: {
back: "Back"
},
Form: {
defaultValidateMessages: {
default: "Field validation error for ${label}",
required: "Please enter ${label}",
enum: "${label} must be one of [${enum}]",
whitespace: "${label} cannot be a blank character",
date: {
format: "${label} date format is invalid",
parse: "${label} cannot be converted to a date",
invalid: "${label} is an invalid date"
},
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} must be ${len} characters",
min: "${label} must be at least ${min} characters",
max: "${label} must be up to ${max} characters",
range: "${label} must be between ${min}-${max} characters"
},
number: {
len: "${label} must be equal to ${len}",
min: "${label} must be minimum ${min}",
max: "${label} must be maximum ${max}",
range: "${label} must be between ${min}-${max}"
},
array: {
len: "Must be ${len} ${label}",
min: "At least ${min} ${label}",
max: "At most ${max} ${label}",
range: "The amount of ${label} must be between ${min}-${max}"
},
pattern: {
mismatch: "${label} does not match the pattern ${pattern}"
}
}
}
};
var ga_IE_default4 = localeValues;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});