mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
832cffcdf9
* refactor: support type update * chore: update clear style * chore: bump color picker * chore: use slider * chore: bump color picker * chore: range slider * chore: layout * chore: useModeColor * chore: simplify * chore: bump color picker * refactor: event * chore: tmp lock check * chore: of it * chore: update ts def * chore: update ts def * chore: remove useless ts * chore: linear * chore: adjust style * chore: rm useless code * chore: fill color * chore: basic linear * chore: support toStr * chore: limit minCount * chore: use cache * chore: drag support: * chore: yes * chore: update demo * chore: useLayoutEffect instead * chore: fix click to add point * chore: add smmoth * chore: support of locale * chore: add locale * chore: fix lint * chore: adjust style * chore: fix lint * chore: fix style * test: fix test case * chore: fix popover * test: fix test case * chore: fix test * test: clean up * chore: fix lint * chore: fix lint * chore: fix lint * test: coverage * test: coverage * test: coverage * test: coverage * test: coverage * test: coverage * chore: fix docs * docs: update demo desc * chore: enhance hover range * fix: delete not working * chore: fix lint * test: coverage * test: coverage * chore: clean up * chore: adjust * chore: highlight * chore: adjust style * chore: fix lint * chore: update demo * chore: memo perf * refactor: up to down colors * test: update snapshot
150 lines
4.2 KiB
TypeScript
150 lines
4.2 KiB
TypeScript
/* eslint-disable no-template-curly-in-string */
|
|
import Pagination from 'rc-pagination/lib/locale/eu_ES';
|
|
|
|
import type { Locale } from '.';
|
|
import Calendar from '../calendar/locale/eu_ES';
|
|
import DatePicker from '../date-picker/locale/eu_ES';
|
|
import TimePicker from '../time-picker/locale/eu_ES';
|
|
|
|
const typeTemplate = '${label} ez da ${type} balioduna';
|
|
|
|
const localeValues: Locale = {
|
|
locale: 'eu',
|
|
Pagination,
|
|
DatePicker,
|
|
TimePicker,
|
|
Calendar,
|
|
global: {
|
|
placeholder: 'Aukeratu',
|
|
},
|
|
Table: {
|
|
filterTitle: 'Iragazi menua',
|
|
filterConfirm: 'Onartu',
|
|
filterReset: 'Garbitu',
|
|
filterEmptyText: 'Iragazkirik gabe',
|
|
filterCheckall: 'Hautatu dena',
|
|
filterSearchPlaceholder: 'Bilatu iragazkietan',
|
|
emptyText: 'Daturik gabe',
|
|
selectAll: 'Hautatu dena',
|
|
selectInvert: 'Alderantzikatu hautaketa',
|
|
selectNone: 'Hustu dena',
|
|
selectionAll: 'Hautatu datu guztiak',
|
|
sortTitle: 'Ordenatu',
|
|
expand: 'Zabaldu',
|
|
collapse: 'Itxi',
|
|
triggerDesc: 'Egin klik beheranzko ordenean ordenatzeko',
|
|
triggerAsc: 'Egin klik goranzko ordenean ordenatzeko',
|
|
cancelSort: 'Egin klik ordenamendua ezeztatzeko',
|
|
},
|
|
Tour: {
|
|
Next: 'Hurrengoa',
|
|
Previous: 'Aurrekoa',
|
|
Finish: 'Bukatu',
|
|
},
|
|
Modal: {
|
|
okText: 'Onartu',
|
|
cancelText: 'Utzi',
|
|
justOkText: 'Onartu',
|
|
},
|
|
Popconfirm: {
|
|
okText: 'Onartu',
|
|
cancelText: 'Utzi',
|
|
},
|
|
Transfer: {
|
|
titles: ['', ''],
|
|
searchPlaceholder: 'Bilatu hemen',
|
|
itemUnit: 'elementu',
|
|
itemsUnit: 'elementuak',
|
|
remove: 'Ezabatu',
|
|
selectCurrent: 'Hautatu uneko orria',
|
|
removeCurrent: 'Uneko orria ezabatu',
|
|
selectAll: 'Datu guztiak hautatu',
|
|
removeAll: 'Ezabatu datu guztiak',
|
|
selectInvert: 'Uneko orrialdea alderantzikatu',
|
|
},
|
|
Upload: {
|
|
uploading: 'Igotzen...',
|
|
removeFile: 'Fitxategia ezabatu',
|
|
uploadError: 'Errorea fitxategia igotzerakoan',
|
|
previewFile: 'Aurrebista',
|
|
downloadFile: 'Fitxategia deskargatu',
|
|
},
|
|
Empty: {
|
|
description: 'Ez dago daturik',
|
|
},
|
|
Icon: {
|
|
icon: 'ikono',
|
|
},
|
|
Text: {
|
|
edit: 'Editatu',
|
|
copy: 'Kopiatu',
|
|
copied: 'Kopiatuta',
|
|
expand: 'Zabaldu',
|
|
},
|
|
Form: {
|
|
optional: '(aukerakoa)',
|
|
defaultValidateMessages: {
|
|
default: '${label} eremuaren balidazio errorea',
|
|
required: 'Mesedez, sartu ${label}',
|
|
enum: '${label} [${enum}] -tako bat izan behar da',
|
|
whitespace: '${label} ezin da izan karaktere zuri bat',
|
|
date: {
|
|
format: '${label} dataren formatua baliogabea da',
|
|
parse: '${label} ezin da data batera doitu',
|
|
invalid: '${label} data baliogabea da',
|
|
},
|
|
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} eremuak ${len} karaktere izan dehar ditu',
|
|
min: '${label} eremuak gutxienez ${min} karaktere izan behar ditu',
|
|
max: '${label} eremuak gehienez ${max} karaktere izan behar ditu',
|
|
range: '${label} eremuak ${min}-${max} karaktere artean izan behar ditu',
|
|
},
|
|
number: {
|
|
len: '${label} eremuaren balioa ${len} izan behar da',
|
|
min: '${label} eremuaren balio minimoa ${min} da',
|
|
max: '${label} eremuaren balio maximoa ${max} da',
|
|
range: '${label} eremuaren balioa ${min}-${max} artekoa izan behar da',
|
|
},
|
|
array: {
|
|
len: '${len} ${label} izan behar dira',
|
|
min: 'Gutxienez ${min} ${label}',
|
|
max: 'Gehienez ${max} ${label}',
|
|
range: '${label} kopuruak ${min}-${max} -ra bitartekoa izan behar du',
|
|
},
|
|
pattern: {
|
|
mismatch: '${label} ez dator bat ${pattern} patroiarekin',
|
|
},
|
|
},
|
|
},
|
|
Image: {
|
|
preview: 'Aurrebista',
|
|
},
|
|
QRCode: {
|
|
expired: 'QR kodea kadukatuta',
|
|
refresh: 'Freskatu',
|
|
},
|
|
ColorPicker: {
|
|
presetEmpty: 'Hustu',
|
|
transparent: 'Gardena',
|
|
singleColor: 'Kolore bakarra',
|
|
gradientColor: 'Gradiente kolorea',
|
|
},
|
|
};
|
|
|
|
export default localeValues;
|