File size: 4,368 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
import Pagination from 'rc-pagination/lib/locale/lt_LT';
import type { Locale } from '.';
import Calendar from '../calendar/locale/lt_LT';
import DatePicker from '../date-picker/locale/lt_LT';
import TimePicker from '../time-picker/locale/lt_LT';
const typeTemplate: string = '${label} neatitinka tipo ${type}';
const localeValues: Locale = {
locale: 'lt',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Pasirinkite',
close: 'Uždaryti',
},
Table: {
filterTitle: 'Filtras',
filterConfirm: 'Gerai',
filterReset: 'Atstatyti',
filterEmptyText: 'Be filtrų',
filterCheckAll: 'Pasirinkti visus',
filterSearchPlaceholder: 'Ieškoti filtruose',
emptyText: 'Nėra duomenų',
selectAll: 'Pasirinkti viską',
selectInvert: 'Apversti pasirinkimą',
selectNone: 'Išvalyti visus',
selectionAll: 'Rinktis visus',
sortTitle: 'Rikiavimas',
expand: 'Išskleisti',
collapse: 'Suskleisti',
triggerDesc: 'Spustelėkite norėdami rūšiuoti mažėjančia tvarka',
triggerAsc: 'Spustelėkite norėdami rūšiuoti didėjančia tvarka',
cancelSort: 'Spustelėkite, kad atšauktumėte rūšiavimą',
},
Tour: {
Next: 'Kitas',
Previous: 'Ankstesnis',
Finish: 'Baigti',
},
Modal: {
okText: 'Taip',
cancelText: 'Atšaukti',
justOkText: 'Gerai',
},
Popconfirm: {
okText: 'Taip',
cancelText: 'Atšaukti',
},
Transfer: {
titles: ['', ''],
searchPlaceholder: 'Paieška',
itemUnit: 'vnt.',
itemsUnit: 'vnt.',
remove: 'Pašalinti',
selectCurrent: 'Pasirinkti dabartinį puslapį',
removeCurrent: 'Ištrinti dabartinį puslapį',
selectAll: 'Pasirinkti viską',
removeAll: 'Ištrinti viską',
selectInvert: 'Apversti pasirinkimą',
},
Upload: {
uploading: 'Įkeliami duomenys...',
removeFile: 'Ištrinti failą',
uploadError: 'Įkeliant įvyko klaida',
previewFile: 'Failo peržiūra',
downloadFile: 'Atsisiųsti failą',
},
Empty: {
description: 'Nėra duomenų',
},
Icon: {
icon: 'piktograma',
},
Text: {
edit: 'Redaguoti',
copy: 'Kopijuoti',
copied: 'Nukopijuota',
expand: 'Plačiau',
},
Form: {
optional: '(neprivaloma)',
defaultValidateMessages: {
default: 'Klaida laukelyje ${label}',
required: 'Prašome įvesti ${label}',
enum: '${label} turi būti vienas iš [${enum}]',
whitespace: '${label} negali likti tuščias',
date: {
format: '${label} neteisingas datos formatas',
parse: '${label} negali būti konvertuotas į datą',
invalid: '${label} neatitinka datos formato',
},
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} turi būti ${len} simbolių',
min: '${label} turi būti bent ${min} simbolių',
max: '${label} turi būti ne ilgesnis nei ${max} simbolių',
range: 'Laukelio ${label} reikšmės ribos ${min}-${max} simbolių',
},
number: {
len: '${label} turi būti lygi ${len}',
min: '${label} turi būti lygus arba didesnis už ${min}',
max: '${label} turi būti lygus arba mažesnis už ${max}',
range: '${label} turi būti tarp ${min}-${max}',
},
array: {
len: 'Pasirinktas kiekis ${label} turi būti lygus ${len}',
min: 'Pasirinktas kiekis ${label} turi būti bent ${min}',
max: 'Pasirinktas kiekis ${label} turi būti ne ilgesnis nei ${max}',
range: 'Pasirinktas ${label} kiekis turi būti tarp ${min}-${max}',
},
pattern: {
mismatch: '${label} neatitinka modelio ${pattern}',
},
},
},
Image: {
preview: 'Peržiūrėti',
},
QRCode: {
expired: 'QR kodo galiojimas baigėsi',
refresh: 'Atnaujinti',
},
ColorPicker: {
presetEmpty: 'Tuščia',
transparent: 'Permatomas',
singleColor: 'Vieno spalvos',
gradientColor: 'Gradientas',
},
};
export default localeValues;
|