Browse Source

feat: ConfigProvider support locale (#17816)

* ConfigProvider support locale

* update docs

* update category

* clean up

* moving locale

* update check script

* update related code

* add test case

* demo link

* update doc

* hide one rule of md with eslint

* update error link
pull/17976/head
zombieJ 5 years ago
committed by GitHub
parent
commit
81d8eb8afe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.zh-CN.md
  2. 7
      components/_util/warning.tsx
  3. 187
      components/config-provider/demo/locale.md
  4. 1
      components/config-provider/index.en-US.md
  5. 21
      components/config-provider/index.tsx
  6. 1
      components/config-provider/index.zh-CN.md
  7. 2
      components/date-picker/index.en-US.md
  8. 2
      components/date-picker/index.zh-CN.md
  9. 17
      components/locale-provider/__tests__/index.test.js
  10. 43
      components/locale-provider/ar_EG.tsx
  11. 43
      components/locale-provider/bg_BG.tsx
  12. 35
      components/locale-provider/ca_ES.tsx
  13. 41
      components/locale-provider/cs_CZ.tsx
  14. 43
      components/locale-provider/da_DK.tsx
  15. 43
      components/locale-provider/de_DE.tsx
  16. 62
      components/locale-provider/default.tsx
  17. 43
      components/locale-provider/el_GR.tsx
  18. 43
      components/locale-provider/en_GB.tsx
  19. 4
      components/locale-provider/en_US.tsx
  20. 59
      components/locale-provider/es_ES.tsx
  21. 43
      components/locale-provider/et_EE.tsx
  22. 43
      components/locale-provider/fa_IR.tsx
  23. 44
      components/locale-provider/fi_FI.tsx
  24. 41
      components/locale-provider/fr_BE.tsx
  25. 41
      components/locale-provider/fr_FR.tsx
  26. 43
      components/locale-provider/he_IL.tsx
  27. 51
      components/locale-provider/hi_IN.tsx
  28. 57
      components/locale-provider/hr_HR.tsx
  29. 44
      components/locale-provider/hu_HU.tsx
  30. 45
      components/locale-provider/id_ID.tsx
  31. 6
      components/locale-provider/index.en-US.md
  32. 10
      components/locale-provider/index.tsx
  33. 6
      components/locale-provider/index.zh-CN.md
  34. 43
      components/locale-provider/is_IS.tsx
  35. 56
      components/locale-provider/it_IT.tsx
  36. 43
      components/locale-provider/ja_JP.tsx
  37. 51
      components/locale-provider/kn_IN.tsx
  38. 43
      components/locale-provider/ko_KR.tsx
  39. 43
      components/locale-provider/ku_IQ.tsx
  40. 43
      components/locale-provider/lv_LV.tsx
  41. 43
      components/locale-provider/mn_MN.tsx
  42. 63
      components/locale-provider/ms_MY.tsx
  43. 43
      components/locale-provider/nb_NO.tsx
  44. 44
      components/locale-provider/ne-NP.tsx
  45. 3
      components/locale-provider/ne_NP.tsx
  46. 43
      components/locale-provider/nl_BE.tsx
  47. 43
      components/locale-provider/nl_NL.tsx
  48. 43
      components/locale-provider/pl_PL.tsx
  49. 43
      components/locale-provider/pt_BR.tsx
  50. 44
      components/locale-provider/pt_PT.tsx
  51. 53
      components/locale-provider/ru_RU.tsx
  52. 43
      components/locale-provider/sk_SK.tsx
  53. 43
      components/locale-provider/sl_SI.tsx
  54. 43
      components/locale-provider/sr_RS.tsx
  55. 35
      components/locale-provider/sv_SE.tsx
  56. 43
      components/locale-provider/th_TH.tsx
  57. 57
      components/locale-provider/tr_TR.tsx
  58. 43
      components/locale-provider/uk_UA.tsx
  59. 43
      components/locale-provider/vi_VN.tsx
  60. 62
      components/locale-provider/zh_CN.tsx
  61. 46
      components/locale-provider/zh_TW.tsx
  62. 42
      components/locale/ar_EG.tsx
  63. 42
      components/locale/bg_BG.tsx
  64. 34
      components/locale/ca_ES.tsx
  65. 40
      components/locale/cs_CZ.tsx
  66. 42
      components/locale/da_DK.tsx
  67. 42
      components/locale/de_DE.tsx
  68. 61
      components/locale/default.tsx
  69. 42
      components/locale/el_GR.tsx
  70. 42
      components/locale/en_GB.tsx
  71. 3
      components/locale/en_US.tsx
  72. 58
      components/locale/es_ES.tsx
  73. 42
      components/locale/et_EE.tsx
  74. 42
      components/locale/fa_IR.tsx
  75. 43
      components/locale/fi_FI.tsx
  76. 40
      components/locale/fr_BE.tsx
  77. 40
      components/locale/fr_FR.tsx
  78. 42
      components/locale/he_IL.tsx
  79. 50
      components/locale/hi_IN.tsx
  80. 56
      components/locale/hr_HR.tsx
  81. 43
      components/locale/hu_HU.tsx
  82. 44
      components/locale/id_ID.tsx
  83. 42
      components/locale/is_IS.tsx
  84. 55
      components/locale/it_IT.tsx
  85. 42
      components/locale/ja_JP.tsx
  86. 50
      components/locale/kn_IN.tsx
  87. 42
      components/locale/ko_KR.tsx
  88. 42
      components/locale/ku_IQ.tsx
  89. 42
      components/locale/lv_LV.tsx
  90. 42
      components/locale/mn_MN.tsx
  91. 62
      components/locale/ms_MY.tsx
  92. 42
      components/locale/nb_NO.tsx
  93. 43
      components/locale/ne_NP.tsx
  94. 42
      components/locale/nl_BE.tsx
  95. 42
      components/locale/nl_NL.tsx
  96. 42
      components/locale/pl_PL.tsx
  97. 42
      components/locale/pt_BR.tsx
  98. 43
      components/locale/pt_PT.tsx
  99. 52
      components/locale/ru_RU.tsx
  100. 42
      components/locale/sk_SK.tsx

2
CHANGELOG.zh-CN.md

@ -2012,7 +2012,7 @@ timeline: true
```javascript
import { LocaleProvider } from 'antd';
import zhCN from 'antd/lib/locale-provider/zh_CN';
import zhCN from 'antd/lib/locale/zh_CN';
ReactDOM.render(
<LocaleProvider locale={zhCN}>

7
components/_util/warning.tsx

@ -1,6 +1,11 @@
import warning from 'warning';
const warned: Record<string, boolean> = {};
let warned: Record<string, boolean> = {};
export function resetWarned() {
warned = {};
}
export default (valid: boolean, component: string, message: string): void => {
if (!valid && !warned[message]) {
warning(false, `[antd: ${component}] ${message}`);

187
components/config-provider/demo/locale.md

@ -0,0 +1,187 @@
---
order: 1
title:
zh-CN: 国际化
en-US: Locale
---
## zh-CN
此处列出 Ant Design 中需要国际化支持的组件,你可以在演示里切换语言。
## en-US
Components which need localization support are listed here, you can toggle the language in the demo.
```jsx
import {
ConfigProvider,
Pagination,
DatePicker,
TimePicker,
Calendar,
Popconfirm,
Table,
Modal,
Button,
Select,
Transfer,
Radio,
} from 'antd';
import zhCN from 'antd/lib/locale/zh_CN';
import moment from 'moment';
import 'moment/locale/zh-cn';
moment.locale('en');
const { Option } = Select;
const { RangePicker } = DatePicker;
const columns = [
{
title: 'Name',
dataIndex: 'name',
filters: [
{
text: 'filter1',
value: 'filter1',
},
],
},
{
title: 'Age',
dataIndex: 'age',
},
];
class Page extends React.Component {
state = {
visible: false,
};
showModal = () => {
this.setState({ visible: true });
};
hideModal = () => {
this.setState({ visible: false });
};
render() {
const info = () => {
Modal.info({
title: 'some info',
content: 'some info',
});
};
const confirm = () => {
Modal.confirm({
title: 'some info',
content: 'some info',
});
};
return (
<div className="locale-components">
<div className="example">
<Pagination defaultCurrent={1} total={50} showSizeChanger />
</div>
<div className="example">
<Select showSearch style={{ width: 200 }}>
<Option value="jack">jack</Option>
<Option value="lucy">lucy</Option>
</Select>
<DatePicker />
<TimePicker />
<RangePicker style={{ width: 200 }} />
</div>
<div className="example">
<Button type="primary" onClick={this.showModal}>
Show Modal
</Button>
<Button onClick={info}>Show info</Button>
<Button onClick={confirm}>Show confirm</Button>
<Popconfirm title="Question?">
<a href="#">Click to confirm</a>
</Popconfirm>
</div>
<div className="example">
<Transfer dataSource={[]} showSearch targetKeys={[]} render={item => item.title} />
</div>
<div style={{ width: 319, border: '1px solid #d9d9d9', borderRadius: 4 }}>
<Calendar fullscreen={false} value={moment()} />
</div>
<div className="example">
<Table dataSource={[]} columns={columns} />
</div>
<Modal title="Locale Modal" visible={this.state.visible} onCancel={this.hideModal}>
<p>Locale Modal</p>
</Modal>
</div>
);
}
}
class App extends React.Component {
constructor() {
super();
this.state = {
locale: null,
};
}
changeLocale = e => {
const localeValue = e.target.value;
this.setState({ locale: localeValue });
if (!localeValue) {
moment.locale('en');
} else {
moment.locale('zh-cn');
}
};
render() {
const { locale } = this.state;
return (
<div>
<div className="change-locale">
<span style={{ marginRight: 16 }}>Change locale of components: </span>
<Radio.Group defaultValue={undefined} onChange={this.changeLocale}>
<Radio.Button key="en" value={undefined}>
English
</Radio.Button>
<Radio.Button key="cn" value={zhCN}>
中文
</Radio.Button>
</Radio.Group>
</div>
<ConfigProvider locale={locale}>
<Page
key={locale ? locale.locale : 'en' /* Have to refresh for production environment */}
/>
</ConfigProvider>
</div>
);
}
}
ReactDOM.render(<App />, mountNode);
```
```css
.locale-components {
border-top: 1px solid #d9d9d9;
padding-top: 16px;
}
.example {
margin: 16px 0;
}
.example > * {
margin-right: 8px;
}
.change-locale {
margin-bottom: 16px;
}
```

1
components/config-provider/index.en-US.md

@ -41,4 +41,5 @@ Some component use dynamic style to support wave effect. You can config `csp` pr
| csp | Set [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) config | { nonce: string } | - | 3.13.1 |
| renderEmpty | set empty content of components. Ref [Empty](/components/empty/) | Function(componentName: string): ReactNode | - | 3.12.2 |
| getPopupContainer | to set the container of the popup element. The default is to create a `div` element in `body`. | Function(triggerNode) | `() => document.body` | 3.11.0 |
| locale | language package setting, you can find the packages in [antd/es/locale](http://unpkg.com/antd/es/locale/) | object | 3.21.0 |
| prefixCls | set prefix class | string | ant | 3.12.0 |

21
components/config-provider/index.tsx

@ -2,6 +2,7 @@ import * as React from 'react';
import createReactContext from '@ant-design/create-react-context';
import defaultRenderEmpty, { RenderEmptyHandler } from './renderEmpty';
import LocaleProvider, { Locale, ANT_MARK } from '../locale-provider';
export { RenderEmptyHandler };
@ -16,6 +17,7 @@ export interface ConfigConsumerProps {
renderEmpty: RenderEmptyHandler;
csp?: CSPConfig;
autoInsertSpaceInButton?: boolean;
locale?: Locale;
}
export const configConsumerProps = [
@ -25,6 +27,7 @@ export const configConsumerProps = [
'renderEmpty',
'csp',
'autoInsertSpaceInButton',
'locale',
];
export interface ConfigProviderProps {
@ -34,6 +37,7 @@ export interface ConfigProviderProps {
renderEmpty?: RenderEmptyHandler;
csp?: CSPConfig;
autoInsertSpaceInButton?: boolean;
locale?: Locale;
}
const ConfigContext = createReactContext<ConfigConsumerProps>({
@ -59,7 +63,14 @@ class ConfigProvider extends React.Component<ConfigProviderProps> {
};
renderProvider = (context: ConfigConsumerProps) => {
const { children, getPopupContainer, renderEmpty, csp, autoInsertSpaceInButton } = this.props;
const {
children,
getPopupContainer,
renderEmpty,
csp,
autoInsertSpaceInButton,
locale,
} = this.props;
const config: ConfigConsumerProps = {
...context,
@ -75,7 +86,13 @@ class ConfigProvider extends React.Component<ConfigProviderProps> {
config.renderEmpty = renderEmpty;
}
return <ConfigContext.Provider value={config}>{children}</ConfigContext.Provider>;
return (
<ConfigContext.Provider value={config}>
<LocaleProvider locale={locale} _ANT_MARK__={ANT_MARK}>
{children}
</LocaleProvider>
</ConfigContext.Provider>
);
};
render() {

1
components/config-provider/index.zh-CN.md

@ -42,4 +42,5 @@ return (
| csp | 设置 [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) 配置 | { nonce: string } | - | 3.13.1 |
| renderEmpty | 自定义组件空状态。参考 [空状态](/components/empty/) | Function(componentName: string): ReactNode | - | 3.12.2 |
| getPopupContainer | 弹出框(Select, Tooltip, Menu 等等)渲染父节点,默认渲染到 body 上。 | Function(triggerNode) | () => document.body | 3.11.0 |
| locale | 语言包配置,语言包可到 [antd/es/locale](http://unpkg.com/antd/es/locale/) 目录下寻找 | object | - | 3.21.0 |
| prefixCls | 设置统一样式前缀 | string | ant | 3.12.0 |

2
components/date-picker/index.en-US.md

@ -21,7 +21,7 @@ There are four kinds of picker:
### Localization
The default locale is en-US, if you need to use other languages, recommend to use internationalized components provided by us at the entrance. Look at: [LocaleProvider](http://ant.design/components/locale-provider/).
The default locale is en-US, if you need to use other languages, recommend to use internationalized components provided by us at the entrance. Look at: [ConfigProvider](http://ant.design/components/config-provider/).
If there are special needs (only modifying single component language), Please use the property: local. Example: [default](https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json).

2
components/date-picker/index.zh-CN.md

@ -22,7 +22,7 @@ subtitle: 日期选择框
### 国际化配置
默认配置为 en-US,如果你需要设置其他语言,推荐在入口处使用我们提供的国际化组件,详见:[LocaleProvider 国际化](http://ant.design/components/locale-provider-cn/)。
默认配置为 en-US,如果你需要设置其他语言,推荐在入口处使用我们提供的国际化组件,详见:[ConfigProvider 国际化](http://ant.design/components/config-provider-cn/)。
如有特殊需求(仅修改单一组件的语言),请使用 locale 参数,参考:[默认配置](https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json)。

17
components/locale-provider/__tests__/index.test.js

@ -3,6 +3,7 @@ import React from 'react';
import { mount } from 'enzyme';
import moment from 'moment';
import MockDate from 'mockdate';
import { resetWarned } from '../../_util/warning';
import {
LocaleProvider,
Pagination,
@ -231,4 +232,20 @@ describe('Locale Provider', () => {
wrapper.setState({ locale: null });
expect(wrapper.render()).toMatchSnapshot();
});
it('warning if use LocaleProvider', () => {
const errorSpy = jest.spyOn(console, 'error').mockImplementation(() => {});
resetWarned();
mount(
<LocaleProvider locale={{}}>
<div />
</LocaleProvider>,
);
expect(errorSpy).toHaveBeenCalledWith(
'Warning: [antd: LocaleProvider] `LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale',
);
errorSpy.mockRestore();
});
});

43
components/locale-provider/ar_EG.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/ar_EG';
import DatePicker from '../date-picker/locale/ar_EG';
import TimePicker from '../time-picker/locale/ar_EG';
import Calendar from '../calendar/locale/ar_EG';
import locale from '../locale/ar_EG';
export default {
locale: 'ar',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'الفلاتر',
filterConfirm: 'تأكيد',
filterReset: 'إعادة ضبط',
selectAll: 'اختيار الكل',
selectInvert: 'إلغاء الاختيار',
},
Modal: {
okText: 'تأكيد',
cancelText: 'إلغاء',
justOkText: 'تأكيد',
},
Popconfirm: {
okText: 'تأكيد',
cancelText: 'إلغاء',
},
Transfer: {
searchPlaceholder: 'ابحث هنا',
itemUnit: 'عنصر',
itemsUnit: 'عناصر',
},
Upload: {
uploading: 'جاري الرفع...',
removeFile: 'احذف الملف',
uploadError: 'مشكلة فى الرفع',
previewFile: 'استعرض الملف',
},
Empty: {
description: 'لا توجد بيانات',
},
};
export default locale;

43
components/locale-provider/bg_BG.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/bg_BG';
import DatePicker from '../date-picker/locale/bg_BG';
import TimePicker from '../time-picker/locale/bg_BG';
import Calendar from '../calendar/locale/bg_BG';
import locale from '../locale/bg_BG';
export default {
locale: 'bg',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Филтриране',
filterConfirm: 'Добре',
filterReset: 'Нулриане',
selectAll: 'Избор на текуща страница',
selectInvert: 'Обръщане',
},
Modal: {
okText: 'Добре',
cancelText: 'Отказ',
justOkText: 'Добре',
},
Popconfirm: {
okText: 'Добре',
cancelText: 'Отказ',
},
Transfer: {
searchPlaceholder: 'Търсене',
itemUnit: 'избор',
itemsUnit: 'избори',
},
Upload: {
uploading: 'Качване...',
removeFile: 'Премахване',
uploadError: 'Грешка при качването',
previewFile: 'Преглед',
},
Empty: {
description: 'Няма данни',
},
};
export default locale;

35
components/locale-provider/ca_ES.tsx

@ -1,34 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/ca_ES';
import DatePicker from '../date-picker/locale/ca_ES';
import TimePicker from '../time-picker/locale/ca_ES';
import Calendar from '../calendar/locale/ca_ES';
import locale from '../locale/ca_ES';
export default {
locale: 'ca',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtrar Menu',
filterConfirm: 'OK',
filterReset: 'Restablir',
},
Modal: {
okText: 'OK',
cancelText: 'Cancel·lar',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Cancel·lar',
},
Transfer: {
searchPlaceholder: 'Cercar aquí',
itemUnit: 'item',
itemsUnit: 'items',
},
Empty: {
description: 'Sense dades',
},
};
export default locale;

41
components/locale-provider/cs_CZ.tsx

@ -1,40 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/cs_CZ';
import DatePicker from '../date-picker/locale/cs_CZ';
import TimePicker from '../time-picker/locale/cs_CZ';
import Calendar from '../calendar/locale/cs_CZ';
import locale from '../locale/cs_CZ';
export default {
locale: 'cs',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtr',
filterConfirm: 'Potvrdit',
filterReset: 'Obnovit',
},
Modal: {
okText: 'Ok',
cancelText: 'Storno',
justOkText: 'Ok',
},
Popconfirm: {
okText: 'Ok',
cancelText: 'Storno',
},
Transfer: {
searchPlaceholder: 'Vyhledávání',
itemUnit: 'položka',
itemsUnit: 'položek',
},
Upload: {
uploading: 'Nahrávání...',
removeFile: 'Odstranit soubor',
uploadError: 'Chyba při nahrávání',
previewFile: 'Zobrazit soubor',
},
Empty: {
description: 'Žádná data',
},
};
export default locale;

43
components/locale-provider/da_DK.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/da_DK';
import DatePicker from '../date-picker/locale/da_DK';
import TimePicker from '../time-picker/locale/da_DK';
import Calendar from '../calendar/locale/da_DK';
import locale from '../locale/da_DK';
export default {
locale: 'da',
DatePicker,
TimePicker,
Calendar,
Pagination,
Table: {
filterTitle: 'Filtermenu',
filterConfirm: 'OK',
filterReset: 'Nulstil',
selectAll: 'Vælg alle',
selectInvert: 'Inverter valg',
},
Modal: {
okText: 'OK',
cancelText: 'Afbryd',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Afbryd',
},
Transfer: {
searchPlaceholder: 'Søg her',
itemUnit: 'element',
itemsUnit: 'elementer',
},
Upload: {
uploading: 'Uploader...',
removeFile: 'Fjern fil',
uploadError: 'Fejl ved upload',
previewFile: 'Forhåndsvisning',
},
Empty: {
description: 'Ingen data',
},
};
export default locale;

43
components/locale-provider/de_DE.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/de_DE';
import DatePicker from '../date-picker/locale/de_DE';
import TimePicker from '../time-picker/locale/de_DE';
import Calendar from '../calendar/locale/de_DE';
import locale from '../locale/de_DE';
export default {
locale: 'de',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filter-Menü',
filterConfirm: 'OK',
filterReset: 'Zurücksetzen',
selectAll: 'Selektiere Alle',
selectInvert: 'Selektion Invertieren',
},
Modal: {
okText: 'OK',
cancelText: 'Abbrechen',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Abbrechen',
},
Transfer: {
searchPlaceholder: 'Suchen',
itemUnit: 'Eintrag',
itemsUnit: 'Einträge',
},
Upload: {
uploading: 'Hochladen...',
removeFile: 'Datei entfernen',
uploadError: 'Fehler beim Hochladen',
previewFile: 'Dateivorschau',
},
Empty: {
description: 'Keine Daten',
},
};
export default locale;

62
components/locale-provider/default.tsx

@ -1,61 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/en_US';
import DatePicker from '../date-picker/locale/en_US';
import TimePicker from '../time-picker/locale/en_US';
import Calendar from '../calendar/locale/en_US';
import locale from '../locale/default';
export default {
locale: 'en',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Please select',
},
Table: {
filterTitle: 'Filter menu',
filterConfirm: 'OK',
filterReset: 'Reset',
selectAll: 'Select current page',
selectInvert: 'Invert current page',
sortTitle: 'Sort',
expand: 'Expand row',
collapse: 'Collapse row',
},
Modal: {
okText: 'OK',
cancelText: 'Cancel',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Cancel',
},
Transfer: {
titles: ['', ''],
searchPlaceholder: 'Search here',
itemUnit: 'item',
itemsUnit: 'items',
},
Upload: {
uploading: 'Uploading...',
removeFile: 'Remove file',
uploadError: 'Upload error',
previewFile: 'Preview file',
},
Empty: {
description: 'No Data',
},
Icon: {
icon: 'icon',
},
Text: {
edit: 'edit',
copy: 'copy',
copied: 'copy success',
expand: 'expand',
},
PageHeader: {
back: 'back',
},
};
export default locale;

43
components/locale-provider/el_GR.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/el_GR';
import DatePicker from '../date-picker/locale/el_GR';
import TimePicker from '../time-picker/locale/el_GR';
import Calendar from '../calendar/locale/el_GR';
import locale from '../locale/el_GR';
export default {
locale: 'el',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Μενού φίλτρων',
filterConfirm: 'ΟΚ',
filterReset: 'Επαναφορά',
selectAll: 'Επιλογή τρέχουσας σελίδας',
selectInvert: 'Αντιστροφή τρέχουσας σελίδας',
},
Modal: {
okText: 'ΟΚ',
cancelText: 'Άκυρο',
justOkText: 'ΟΚ',
},
Popconfirm: {
okText: 'ΟΚ',
cancelText: 'Άκυρο',
},
Transfer: {
searchPlaceholder: 'Αναζήτηση',
itemUnit: 'αντικείμενο',
itemsUnit: 'αντικείμενα',
},
Upload: {
uploading: 'Μεταφόρτωση...',
removeFile: 'Αφαίρεση αρχείου',
uploadError: 'Σφάλμα μεταφόρτωσης',
previewFile: 'Προεπισκόπηση αρχείου',
},
Empty: {
description: 'Δεν υπάρχουν δεδομένα',
},
};
export default locale;

43
components/locale-provider/en_GB.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/en_GB';
import DatePicker from '../date-picker/locale/en_GB';
import TimePicker from '../time-picker/locale/en_GB';
import Calendar from '../calendar/locale/en_GB';
import locale from '../locale/en_GB';
export default {
locale: 'en-gb',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filter menu',
filterConfirm: 'OK',
filterReset: 'Reset',
selectAll: 'Select current page',
selectInvert: 'Invert current page',
},
Modal: {
okText: 'OK',
cancelText: 'Cancel',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Cancel',
},
Transfer: {
searchPlaceholder: 'Search here',
itemUnit: 'item',
itemsUnit: 'items',
},
Upload: {
uploading: 'Uploading...',
removeFile: 'Remove file',
uploadError: 'Upload error',
previewFile: 'Preview file',
},
Empty: {
description: 'No data',
},
};
export default locale;

4
components/locale-provider/en_US.tsx

@ -1,3 +1,3 @@
import defaultLocale from './default';
import locale from '../locale/en_US';
export default defaultLocale;
export default locale;

59
components/locale-provider/es_ES.tsx

@ -1,58 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/es_ES';
import DatePicker from '../date-picker/locale/es_ES';
import TimePicker from '../time-picker/locale/es_ES';
import Calendar from '../calendar/locale/es_ES';
import locale from '../locale/es_ES';
export default {
locale: 'es',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Seleccione',
},
Table: {
filterTitle: 'Filtrar menú',
filterConfirm: 'Aceptar',
filterReset: 'Reiniciar',
selectAll: 'Seleccionar todo',
selectInvert: 'Invertir selección',
sortTitle: 'Ordenar',
},
Modal: {
okText: 'Aceptar',
cancelText: 'Cancelar',
justOkText: 'Aceptar',
},
Popconfirm: {
okText: 'Aceptar',
cancelText: 'Cancelar',
},
Transfer: {
searchPlaceholder: 'Buscar aquí',
itemUnit: 'elemento',
itemsUnit: 'elementos',
},
Upload: {
uploading: 'Subiendo...',
removeFile: 'Eliminar archivo',
uploadError: 'Error al subir el archivo',
previewFile: 'Vista previa',
},
Empty: {
description: 'No hay datos',
},
Icon: {
icon: 'ícono',
},
Text: {
edit: 'editar',
copy: 'copiar',
copied: 'copiado',
expand: 'expandir',
},
PageHeader: {
back: 'volver',
},
};
export default locale;

43
components/locale-provider/et_EE.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/et_EE';
import DatePicker from '../date-picker/locale/et_EE';
import TimePicker from '../time-picker/locale/et_EE';
import Calendar from '../calendar/locale/et_EE';
import locale from '../locale/et_EE';
export default {
locale: 'et',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtri menüü',
filterConfirm: 'OK',
filterReset: 'Nulli',
selectAll: 'Vali kõik',
selectInvert: 'Inverteeri valik',
},
Modal: {
okText: 'OK',
cancelText: 'Tühista',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Tühista',
},
Transfer: {
searchPlaceholder: 'Otsi siit',
itemUnit: 'kogus',
itemsUnit: 'kogus',
},
Upload: {
uploading: 'Üleslaadimine...',
removeFile: 'Eemalda fail',
uploadError: 'Üleslaadimise tõrge',
previewFile: 'Faili eelvaade',
},
Empty: {
description: 'Andmed puuduvad',
},
};
export default locale;

43
components/locale-provider/fa_IR.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/fa_IR';
import DatePicker from '../date-picker/locale/fa_IR';
import TimePicker from '../time-picker/locale/fa_IR';
import Calendar from '../calendar/locale/fa_IR';
import locale from '../locale/fa_IR';
export default {
locale: 'fa',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'منوی فیلتر',
filterConfirm: 'تایید',
filterReset: 'پاک کردن',
selectAll: 'انتخاب صفحه‌ی کنونی',
selectInvert: 'معکوس کردن انتخاب‌ها در صفحه ی کنونی',
},
Modal: {
okText: 'تایید',
cancelText: 'لغو',
justOkText: 'تایید',
},
Popconfirm: {
okText: 'تایید',
cancelText: 'لغو',
},
Transfer: {
searchPlaceholder: 'جستجو',
itemUnit: '',
itemsUnit: '',
},
Upload: {
uploading: 'در حال آپلود...',
removeFile: 'حذف فایل',
uploadError: 'خطا در آپلود',
previewFile: 'مشاهده‌ی فایل',
},
Empty: {
description: 'داده‌ای موجود نیست',
},
};
export default locale;

44
components/locale-provider/fi_FI.tsx

@ -1,43 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/fi_FI';
import DatePicker from '../date-picker/locale/fi_FI';
import TimePicker from '../time-picker/locale/fi_FI';
import Calendar from '../calendar/locale/fi_FI';
import locale from '../locale/fi_FI';
export default {
locale: 'fi',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Suodatus valikko',
filterConfirm: 'OK',
filterReset: 'Tyhjennä',
selectAll: 'Valitse kaikki',
selectInvert: 'Valitse päinvastoin',
sortTitle: 'Lajittele',
},
Modal: {
okText: 'OK',
cancelText: 'Peruuta',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Peruuta',
},
Transfer: {
searchPlaceholder: 'Etsi täältä',
itemUnit: 'kohde',
itemsUnit: 'kohdetta',
},
Upload: {
uploading: 'Lähetetään...',
removeFile: 'Poista tiedosto',
uploadError: 'Virhe lähetyksessä',
previewFile: 'Esikatsele tiedostoa',
},
Empty: {
description: 'Ei kohteita',
},
};
export default locale;

41
components/locale-provider/fr_BE.tsx

@ -1,40 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/fr_BE';
import DatePicker from '../date-picker/locale/fr_BE';
import TimePicker from '../time-picker/locale/fr_BE';
import Calendar from '../calendar/locale/fr_BE';
import locale from '../locale/fr_BE';
export default {
locale: 'fr',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtrer',
filterConfirm: 'OK',
filterReset: 'Réinitialiser',
},
Modal: {
okText: 'OK',
cancelText: 'Annuler',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Annuler',
},
Transfer: {
searchPlaceholder: 'Recherche',
itemUnit: 'élément',
itemsUnit: 'éléments',
},
Empty: {
description: 'Aucune donnée',
},
Text: {
edit: 'éditer',
copy: 'copier',
copied: 'copie effectuée',
expand: 'développer',
},
};
export default locale;

41
components/locale-provider/fr_FR.tsx

@ -1,40 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/fr_FR';
import DatePicker from '../date-picker/locale/fr_FR';
import TimePicker from '../time-picker/locale/fr_FR';
import Calendar from '../calendar/locale/fr_FR';
import locale from '../locale/fr_FR';
export default {
locale: 'fr',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtrer',
filterConfirm: 'OK',
filterReset: 'Réinitialiser',
},
Modal: {
okText: 'OK',
cancelText: 'Annuler',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Annuler',
},
Transfer: {
searchPlaceholder: 'Recherche',
itemUnit: 'élément',
itemsUnit: 'éléments',
},
Empty: {
description: 'Aucune donnée',
},
Text: {
edit: 'éditer',
copy: 'copier',
copied: 'copie effectuée',
expand: 'développer',
},
};
export default locale;

43
components/locale-provider/he_IL.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/he_IL';
import DatePicker from '../date-picker/locale/he_IL';
import TimePicker from '../time-picker/locale/he_IL';
import Calendar from '../calendar/locale/he_IL';
import locale from '../locale/he_IL';
export default {
locale: 'he',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'תפריט סינון',
filterConfirm: 'אישור',
filterReset: 'איפוס',
selectAll: 'בחר הכל',
selectInvert: 'הפוך בחירה',
},
Modal: {
okText: 'אישור',
cancelText: 'ביטול',
justOkText: 'אישור',
},
Popconfirm: {
okText: 'אישור',
cancelText: 'ביטול',
},
Transfer: {
searchPlaceholder: 'חפש כאן',
itemUnit: 'פריט',
itemsUnit: 'פריטים',
},
Upload: {
uploading: 'מעלה...',
removeFile: 'הסר קובץ',
uploadError: 'שגיאת העלאה',
previewFile: 'הצג קובץ',
},
Empty: {
description: 'אין מידע',
},
};
export default locale;

51
components/locale-provider/hi_IN.tsx

@ -1,50 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/hi_IN';
import DatePicker from '../date-picker/locale/hi_IN';
import TimePicker from '../time-picker/locale/hi_IN';
import Calendar from '../calendar/locale/hi_IN';
import locale from '../locale/hi_IN';
export default {
locale: 'hi',
Pagination,
DatePicker,
TimePicker,
Calendar,
// locales for all comoponents
global: {
placeholder: 'कृपया चुनें',
},
Table: {
filterTitle: 'सूची बंद करें',
filterConfirm: 'अच्छी तरह से',
filterReset: 'रीसेट',
emptyText: 'कोई जानकारी नहीं',
selectAll: 'वर्तमान पृष्ठ का चयन करें',
selectInvert: 'वर्तमान पृष्ठ घुमाएं',
sortTitle: 'द्वारा क्रमबद्ध करें',
},
Modal: {
okText: 'अच्छी तरह से',
cancelText: 'रद्द करना',
justOkText: 'अच्छी तरह से',
},
Popconfirm: {
okText: 'अच्छी तरह से',
cancelText: 'रद्द करना',
},
Transfer: {
titles: ['', ''],
notFoundContent: 'नहीं मिला',
searchPlaceholder: 'यहां खोजें',
itemUnit: 'तत्त्व',
itemsUnit: 'विषय-वस्तु',
},
Select: {
notFoundContent: 'नहीं मिला',
},
Upload: {
uploading: 'अपलोडिंग...',
removeFile: 'फ़ाइल निकालें',
uploadError: 'अपलोड में त्रुटि',
previewFile: 'फ़ाइल पूर्वावलोकन',
},
};
export default locale;

57
components/locale-provider/hr_HR.tsx

@ -1,56 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/hr_HR';
import DatePicker from '../date-picker/locale/hr_HR';
import TimePicker from '../time-picker/locale/hr_HR';
import Calendar from '../calendar/locale/hr_HR';
import locale from '../locale/hr_HR';
export default {
locale: 'hr',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Molimo označite',
},
Table: {
filterTitle: 'Filter meni',
filterConfirm: 'OK',
filterReset: 'Reset',
selectAll: 'Označi trenutnu stranicu',
selectInvert: 'Invertiraj trenutnu stranicu',
sortTitle: 'Sortiraj',
},
Modal: {
okText: 'OK',
cancelText: 'Odustani',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Odustani',
},
Transfer: {
titles: ['', ''],
searchPlaceholder: 'Pretraži ovdje',
itemUnit: 'stavka',
itemsUnit: 'stavke',
},
Upload: {
uploading: 'Upload u tijeku...',
removeFile: 'Makni datoteku',
uploadError: 'Greška kod uploada',
previewFile: 'Pogledaj datoteku',
},
Empty: {
description: 'Nema podataka',
},
Icon: {
icon: 'ikona',
},
Text: {
edit: 'uredi',
copy: 'kopiraj',
copied: 'kopiranje uspješno',
expand: 'proširi',
},
};
export default locale;

44
components/locale-provider/hu_HU.tsx

@ -1,43 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/hu_HU';
import DatePicker from '../date-picker/locale/hu_HU';
import TimePicker from '../time-picker/locale/hu_HU';
import Calendar from '../calendar/locale/hu_HU';
import locale from '../locale/hu_HU';
export default {
locale: 'hu',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Szűrők',
filterConfirm: 'Alkalmazás',
filterReset: 'Visszaállítás',
selectAll: 'Jelenlegi oldal kiválasztása',
selectInvert: 'Jelenlegi oldal inverze',
sortTitle: 'Rendezés',
},
Modal: {
okText: 'Alkalmazás',
cancelText: 'Visszavonás',
justOkText: 'Alkalmazás',
},
Popconfirm: {
okText: 'Alkalmazás',
cancelText: 'Visszavonás',
},
Transfer: {
searchPlaceholder: 'Keresés',
itemUnit: 'elem',
itemsUnit: 'elemek',
},
Upload: {
uploading: 'Feltöltés...',
removeFile: 'Fájl eltávolítása',
uploadError: 'Feltöltési hiba',
previewFile: 'Fájl előnézet',
},
Empty: {
description: 'Nincs adat',
},
};
export default locale;

45
components/locale-provider/id_ID.tsx

@ -1,44 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/id_ID';
import DatePicker from '../date-picker/locale/id_ID';
import TimePicker from '../time-picker/locale/id_ID';
import Calendar from '../calendar/locale/id_ID';
import locale from '../locale/id_ID';
export default {
locale: 'id',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Saring',
filterConfirm: 'OK',
filterReset: 'Hapus',
selectAll: 'Pilih semua di halaman ini',
selectInvert: 'Balikkan pilihan di halaman ini',
sortTitle: 'Urutkan',
},
Modal: {
okText: 'OK',
cancelText: 'Batal',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Batal',
},
Transfer: {
titles: ['', ''],
searchPlaceholder: 'Cari',
itemUnit: 'item',
itemsUnit: 'item',
},
Upload: {
uploading: 'Mengunggah...',
removeFile: 'Hapus file',
uploadError: 'Kesalahan pengunggahan',
previewFile: 'File pratinjau',
},
Empty: {
description: 'Tidak ada data',
},
};
export default locale;

6
components/locale-provider/index.en-US.md

@ -1,11 +1,11 @@
---
category: Components
type: Other
type: Deprecated
cols: 1
title: LocaleProvider
title: LocaleProvider (Deprecated)
---
`LocaleProvider` provides a uniform localization support for built-in text of components.
`LocaleProvider` component. Deprecated, please use [ConfigProvider](/components/config-provider) instead.
## Usage

10
components/locale-provider/index.tsx

@ -3,6 +3,9 @@ import * as PropTypes from 'prop-types';
import * as moment from 'moment';
import interopDefault from '../_util/interopDefault';
import { ModalLocale, changeConfirmLocale } from '../modal/locale';
import warning from '../_util/warning';
export const ANT_MARK = 'internalMark';
export interface Locale {
locale: string;
@ -21,6 +24,7 @@ export interface Locale {
export interface LocaleProviderProps {
locale: Locale;
children?: React.ReactNode;
_ANT_MARK__?: string;
}
function setMomentLocale(locale: Locale) {
@ -48,6 +52,12 @@ export default class LocaleProvider extends React.Component<LocaleProviderProps,
super(props);
setMomentLocale(props.locale);
changeConfirmLocale(props.locale && props.locale.Modal);
warning(
props._ANT_MARK__ === ANT_MARK,
'LocaleProvider',
'`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale',
);
}
getChildContext() {

6
components/locale-provider/index.zh-CN.md

@ -1,12 +1,12 @@
---
category: Components
subtitle: 国际化
subtitle: 国际化(废弃)
cols: 1
type: 其他
type: 废弃
title: LocaleProvider
---
为组件内建文案提供统一的国际化支持
国际化组件。已废弃,请使用 [ConfigProvider](/components/config-provider) 代替
## 使用

43
components/locale-provider/is_IS.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/is_IS';
import DatePicker from '../date-picker/locale/is_IS';
import TimePicker from '../time-picker/locale/is_IS';
import Calendar from '../calendar/locale/is_IS';
import locale from '../locale/is_IS';
export default {
locale: 'is',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Afmarkanir',
filterConfirm: 'Staðfesta',
filterReset: 'Núllstilla',
selectAll: 'Velja allt',
selectInvert: 'Viðsnúa vali',
},
Modal: {
okText: 'Áfram',
cancelText: 'Hætta við',
justOkText: 'Í lagi',
},
Popconfirm: {
okText: 'Áfram',
cancelText: 'Hætta við',
},
Transfer: {
searchPlaceholder: 'Leita hér',
itemUnit: 'færsla',
itemsUnit: 'færslur',
},
Upload: {
uploading: 'Hleð upp...',
removeFile: 'Fjarlægja skrá',
uploadError: 'Villa við að hlaða upp',
previewFile: 'Forskoða skrá',
},
Empty: {
description: 'Engin gögn',
},
};
export default locale;

56
components/locale-provider/it_IT.tsx

@ -1,55 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/it_IT';
import DatePicker from '../date-picker/locale/it_IT';
import TimePicker from '../time-picker/locale/it_IT';
import Calendar from '../calendar/locale/it_IT';
import locale from '../locale/it_IT';
export default {
locale: 'it',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Selezionare',
},
Table: {
filterTitle: 'Menù Filtro',
filterConfirm: 'OK',
filterReset: 'Reset',
selectAll: 'Seleziona pagina corrente',
selectInvert: 'Inverti selezione nella pagina corrente',
sortTitle: 'Ordina',
},
Modal: {
okText: 'OK',
cancelText: 'Annulla',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Annulla',
},
Transfer: {
searchPlaceholder: 'Cerca qui',
itemUnit: 'elemento',
itemsUnit: 'elementi',
},
Upload: {
uploading: 'Caricamento...',
removeFile: 'Rimuovi il file',
uploadError: 'Errore di caricamento',
previewFile: 'Anteprima file',
},
Empty: {
description: 'Nessun dato',
},
Icon: {
icon: 'icona',
},
Text: {
edit: 'modifica',
copy: 'copia',
copied: 'copia effettuata',
expand: 'espandi',
},
};
export default locale;

43
components/locale-provider/ja_JP.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/ja_JP';
import DatePicker from '../date-picker/locale/ja_JP';
import TimePicker from '../time-picker/locale/ja_JP';
import Calendar from '../calendar/locale/ja_JP';
import locale from '../locale/ja_JP';
export default {
locale: 'ja',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'メニューをフィルター',
filterConfirm: 'OK',
filterReset: 'リセット',
selectAll: 'すべてを選択',
selectInvert: '選択を反転',
},
Modal: {
okText: 'OK',
cancelText: 'キャンセル',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'キャンセル',
},
Transfer: {
searchPlaceholder: 'ここを検索',
itemUnit: 'アイテム',
itemsUnit: 'アイテム',
},
Upload: {
uploading: 'アップロード中...',
removeFile: 'ファイルを削除',
uploadError: 'アップロードエラー',
previewFile: 'ファイルをプレビュー',
},
Empty: {
description: 'データがありません',
},
};
export default locale;

51
components/locale-provider/kn_IN.tsx

@ -1,50 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/kn_IN';
import DatePicker from '../date-picker/locale/kn_IN';
import TimePicker from '../time-picker/locale/kn_IN';
import Calendar from '../calendar/locale/kn_IN';
import locale from '../locale/kn_IN';
export default {
locale: 'kn',
Pagination,
DatePicker,
TimePicker,
Calendar,
// locales for all comoponents
global: {
placeholder: 'ದಯವಿಟ್ಟು ಆರಿಸಿ',
},
Table: {
filterTitle: 'ಪಟ್ಟಿ ಸೋಸಿ',
filterConfirm: 'ಸರಿ',
filterReset: 'ಮರುಹೊಂದಿಸಿ',
emptyText: 'ಮಾಹಿತಿ ಇಲ್ಲ',
selectAll: 'ಪ್ರಸ್ತುತ ಪುಟವನ್ನು ಆಯ್ಕೆಮಾಡಿ',
selectInvert: 'ಪ್ರಸ್ತುತ ಪುಟವನ್ನು ತಿರುಗಿಸಿ',
sortTitle: 'ವಿಂಗಡಿಸಿ',
},
Modal: {
okText: 'ಸರಿ',
cancelText: 'ರದ್ದು',
justOkText: 'ಸರಿ',
},
Popconfirm: {
okText: 'ಸರಿ',
cancelText: 'ರದ್ದು',
},
Transfer: {
titles: ['', ''],
notFoundContent: 'ದೊರೆತಿಲ್ಲ',
searchPlaceholder: 'ಇಲ್ಲಿ ಹುಡುಕಿ',
itemUnit: 'ವಿಷಯ',
itemsUnit: 'ವಿಷಯಗಳು',
},
Select: {
notFoundContent: 'ದೊರೆತಿಲ್ಲ',
},
Upload: {
uploading: 'ಏರಿಸಿ...',
removeFile: 'ಫೈಲ್ ತೆಗೆದುಹಾಕಿ',
uploadError: 'ಏರಿಸುವ ದೋಷ',
previewFile: 'ಫೈಲ್ ಮುನ್ನೋಟ',
},
};
export default locale;

43
components/locale-provider/ko_KR.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/ko_KR';
import DatePicker from '../date-picker/locale/ko_KR';
import TimePicker from '../time-picker/locale/ko_KR';
import Calendar from '../calendar/locale/ko_KR';
import locale from '../locale/ko_KR';
export default {
locale: 'ko',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: '필터 메뉴',
filterConfirm: '확인',
filterReset: '초기화',
selectAll: '모두 선택',
selectInvert: '선택 반전',
},
Modal: {
okText: '확인',
cancelText: '취소',
justOkText: '확인',
},
Popconfirm: {
okText: '확인',
cancelText: '취소',
},
Transfer: {
searchPlaceholder: '여기에 검색하세요',
itemUnit: '개',
itemsUnit: '개',
},
Upload: {
uploading: '업로드 중...',
removeFile: '파일 삭제',
uploadError: '업로드 실패',
previewFile: '파일 미리보기',
},
Empty: {
description: '데이터 없음',
},
};
export default locale;

43
components/locale-provider/ku_IQ.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/ku_IQ';
import DatePicker from '../date-picker/locale/ku_IQ';
import TimePicker from '../time-picker/locale/ku_IQ';
import Calendar from '../calendar/locale/ku_IQ';
import locale from '../locale/ku_IQ';
export default {
locale: 'ku-iq',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Menuê peldanka',
filterConfirm: 'Temam',
filterReset: 'Jê bibe',
selectAll: 'Hemî hilbijêre',
selectInvert: 'Hilbijartinan veguhere',
},
Modal: {
okText: 'Temam',
cancelText: 'Betal ke',
justOkText: 'Temam',
},
Popconfirm: {
okText: 'Temam',
cancelText: 'Betal ke',
},
Transfer: {
searchPlaceholder: 'Lêgerîn',
itemUnit: 'tişt',
itemsUnit: 'tişt',
},
Upload: {
uploading: 'Bardike...',
removeFile: 'Pelê rabike',
uploadError: 'Xeta barkirine',
previewFile: 'Pelê pêşbibîne',
},
Empty: {
description: 'Agahî tune',
},
};
export default locale;

43
components/locale-provider/lv_LV.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/lv_LV';
import DatePicker from '../date-picker/locale/lv_LV';
import TimePicker from '../time-picker/locale/lv_LV';
import Calendar from '../calendar/locale/lv_LV';
import locale from '../locale/lv_LV';
export default {
locale: 'lv',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtrēšanas izvēlne',
filterConfirm: 'OK',
filterReset: 'Atiestatīt',
selectAll: 'Atlasiet pašreizējo lapu',
selectInvert: 'Pārvērst pašreizējo lapu',
},
Modal: {
okText: 'OK',
cancelText: 'Atcelt',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Atcelt',
},
Transfer: {
searchPlaceholder: 'Meklēt šeit',
itemUnit: 'vienumu',
itemsUnit: 'vienumus',
},
Upload: {
uploading: 'Augšupielāde...',
removeFile: 'Noņemt failu',
uploadError: 'Augšupielādes kļūda',
previewFile: 'Priekšskatiet failu',
},
Empty: {
description: 'Nav datu',
},
};
export default locale;

43
components/locale-provider/mn_MN.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/mn_MN';
import DatePicker from '../date-picker/locale/mn_MN';
import TimePicker from '../time-picker/locale/mn_MN';
import Calendar from '../calendar/locale/mn_MN';
import locale from '../locale/mn_MN';
export default {
locale: 'mn-mn',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Хайх цэс',
filterConfirm: 'OK',
filterReset: 'Цэвэрлэх',
selectAll: 'Бүгдийг сонгох',
selectInvert: 'Бусдыг сонгох',
},
Modal: {
okText: 'OK',
cancelText: 'Цуцлах',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Цуцлах',
},
Transfer: {
searchPlaceholder: 'Хайх',
itemUnit: 'Зүйл',
itemsUnit: 'Зүйлүүд',
},
Upload: {
uploading: 'Хуулж байна...',
removeFile: 'Файл устгах',
uploadError: 'Хуулахад алдаа гарлаа',
previewFile: 'Файлыг түргэн үзэх',
},
Empty: {
description: 'Мэдээлэл байхгүй байна',
},
};
export default locale;

63
components/locale-provider/ms_MY.tsx

@ -1,62 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/ms_MY';
import DatePicker from '../date-picker/locale/ms_MY';
import TimePicker from '../time-picker/locale/ms_MY';
import Calendar from '../calendar/locale/ms_MY';
import locale from '../locale/ms_MY';
export default {
locale: 'ms-my',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Sila pilih',
},
PageHeader: {
back: 'Kembali',
},
Text: {
edit: 'Sunting',
copy: 'Salin',
copied: 'Berjaya menyalin',
expand: 'Kembang',
},
Empty: {
description: 'Tiada data',
},
Table: {
filterTitle: 'Cari dengan tajuk',
filterConfirm: 'Ok',
filterReset: 'Menetapkan semula',
emptyText: 'Tiada data',
selectAll: 'Pilih semua',
selectInvert: 'Terbalikkan',
},
Modal: {
okText: 'OK',
cancelText: 'Batal',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Batal',
},
Transfer: {
notFoundContent: 'Tidak dijumpai',
searchPlaceholder: 'Carian di sini',
itemUnit: 'item',
itemsUnit: 'item',
},
Icon: {
icon: 'ikon',
},
Select: {
notFoundContent: 'Tidak Dijumpai',
},
Upload: {
uploading: 'Sedang memuat naik...',
removeFile: 'Buang fail',
uploadError: 'Masalah muat naik',
previewFile: 'Tengok fail',
},
};
export default locale;

43
components/locale-provider/nb_NO.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/nb_NO';
import DatePicker from '../date-picker/locale/nb_NO';
import TimePicker from '../time-picker/locale/nb_NO';
import Calendar from '../calendar/locale/nb_NO';
import locale from '../locale/nb_NO';
export default {
locale: 'nb',
DatePicker,
TimePicker,
Calendar,
Pagination,
Table: {
filterTitle: 'Filtermeny',
filterConfirm: 'OK',
filterReset: 'Nullstill',
selectAll: 'Velg alle',
selectInvert: 'Inverter valg',
},
Modal: {
okText: 'OK',
cancelText: 'Avbryt',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Avbryt',
},
Transfer: {
searchPlaceholder: 'Søk her',
itemUnit: 'element',
itemsUnit: 'elementer',
},
Upload: {
uploading: 'Laster opp...',
removeFile: 'Fjern fil',
uploadError: 'Feil ved opplastning',
previewFile: 'Forhåndsvisning',
},
Empty: {
description: 'Ingen data',
},
};
export default locale;

44
components/locale-provider/ne-NP.tsx

@ -1,43 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/en_US';
import DatePicker from '../date-picker/locale/en_US';
import TimePicker from '../time-picker/locale/en_US';
import Calendar from '../calendar/locale/en_US';
import locale from '../locale/ne_NP';
export default {
locale: 'ne-np',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'फिल्टर मेनु',
filterConfirm: 'हो',
filterReset: 'रीसेट',
selectAll: 'सबै छान्नुुहोस्',
selectInvert: 'छनौट उल्टाउनुहोस',
},
Modal: {
okText: 'हो',
cancelText: 'होईन',
justOkText: 'हो',
},
Popconfirm: {
okText: 'हो',
cancelText: 'होईन',
},
Transfer: {
titles: ['', ''],
searchPlaceholder: 'यहाँ खोज्नुहोस्',
itemUnit: 'वस्तु',
itemsUnit: 'वस्तुहरू',
},
Upload: {
uploading: 'अपलोड गर्दै...',
removeFile: 'फाइल हटाउनुहोस्',
uploadError: 'अप्लोडमा समस्या भयो',
previewFile: 'फाइल पूर्वावलोकन गर्नुहोस्',
},
Empty: {
description: 'डाटा छैन',
},
};
export default locale;

3
components/locale-provider/ne_NP.tsx

@ -0,0 +1,3 @@
import locale from '../locale/ne_NP';
export default locale;

43
components/locale-provider/nl_BE.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/nl_BE';
import DatePicker from '../date-picker/locale/nl_BE';
import TimePicker from '../time-picker/locale/nl_BE';
import Calendar from '../calendar/locale/nl_BE';
import locale from '../locale/nl_BE';
export default {
locale: 'nl-be',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'FilterMenu',
filterConfirm: 'OK',
filterReset: 'Reset',
selectAll: 'Selecteer huidige pagina',
selectInvert: 'Selecteer huidige pagina',
},
Modal: {
okText: 'OK',
cancelText: 'Annuleer',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Annuleer',
},
Transfer: {
searchPlaceholder: 'Zoek hier',
itemUnit: 'item',
itemsUnit: 'items',
},
Upload: {
uploading: 'Uploaden...',
removeFile: 'Bestand verwijderen',
uploadError: 'Upload fout',
previewFile: 'Preview bestand',
},
Empty: {
description: 'Geen gegevens',
},
};
export default locale;

43
components/locale-provider/nl_NL.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/nl_NL';
import DatePicker from '../date-picker/locale/nl_NL';
import TimePicker from '../time-picker/locale/nl_NL';
import Calendar from '../calendar/locale/nl_NL';
import locale from '../locale/nl_NL';
export default {
locale: 'nl',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filteren',
filterConfirm: 'OK',
filterReset: 'Reset',
selectAll: 'Selecteer huidige pagina',
selectInvert: 'Deselecteer huidige pagina',
},
Modal: {
okText: 'OK',
cancelText: 'Annuleren',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Annuleren',
},
Transfer: {
searchPlaceholder: 'Zoeken',
itemUnit: 'item',
itemsUnit: 'items',
},
Upload: {
uploading: 'Uploaden...',
removeFile: 'Verwijder bestand',
uploadError: 'Fout tijdens uploaden',
previewFile: 'Bekijk bestand',
},
Empty: {
description: 'Geen gegevens',
},
};
export default locale;

43
components/locale-provider/pl_PL.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/pl_PL';
import DatePicker from '../date-picker/locale/pl_PL';
import TimePicker from '../time-picker/locale/pl_PL';
import Calendar from '../calendar/locale/pl_PL';
import locale from '../locale/pl_PL';
export default {
locale: 'pl',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Menu filtra',
filterConfirm: 'OK',
filterReset: 'Wyczyść',
selectAll: 'Zaznacz bieżącą stronę',
selectInvert: 'Odwróć zaznaczenie',
},
Modal: {
okText: 'OK',
cancelText: 'Anuluj',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Anuluj',
},
Transfer: {
searchPlaceholder: 'Szukaj',
itemUnit: 'obiekt',
itemsUnit: 'obiekty',
},
Upload: {
uploading: 'Wysyłanie...',
removeFile: 'Usuń plik',
uploadError: 'Błąd wysyłania',
previewFile: 'Podejrzyj plik',
},
Empty: {
description: 'Brak danych',
},
};
export default locale;

43
components/locale-provider/pt_BR.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/pt_BR';
import DatePicker from '../date-picker/locale/pt_BR';
import TimePicker from '../time-picker/locale/pt_BR';
import Calendar from '../calendar/locale/pt_BR';
import locale from '../locale/pt_BR';
export default {
locale: 'pt-br',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtro',
filterConfirm: 'OK',
filterReset: 'Resetar',
selectAll: 'Selecionar página atual',
selectInvert: 'Inverter seleção',
},
Modal: {
okText: 'OK',
cancelText: 'Cancelar',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Cancelar',
},
Transfer: {
searchPlaceholder: 'Procurar',
itemUnit: 'item',
itemsUnit: 'items',
},
Upload: {
uploading: 'Enviando...',
removeFile: 'Remover arquivo',
uploadError: 'Erro no envio',
previewFile: 'Visualizar arquivo',
},
Empty: {
description: 'Não há dados',
},
};
export default locale;

44
components/locale-provider/pt_PT.tsx

@ -1,43 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/pt_PT';
import DatePicker from '../date-picker/locale/pt_PT';
import TimePicker from '../time-picker/locale/pt_PT';
import Calendar from '../calendar/locale/pt_PT';
import locale from '../locale/pt_PT';
export default {
locale: 'pt',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtro',
filterConfirm: 'Aplicar',
filterReset: 'Reiniciar',
selectAll: 'Selecionar página atual',
selectInvert: 'Inverter seleção',
sortTitle: 'Ordenação',
},
Modal: {
okText: 'OK',
cancelText: 'Cancelar',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Cancelar',
},
Transfer: {
searchPlaceholder: 'Procurar...',
itemUnit: 'item',
itemsUnit: 'itens',
},
Upload: {
uploading: 'A carregar...',
removeFile: 'Remover',
uploadError: 'Erro ao carregar',
previewFile: 'Pré-visualizar',
},
Empty: {
description: 'Sem resultados',
},
};
export default locale;

53
components/locale-provider/ru_RU.tsx

@ -1,52 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/ru_RU';
import DatePicker from '../date-picker/locale/ru_RU';
import TimePicker from '../time-picker/locale/ru_RU';
import Calendar from '../calendar/locale/ru_RU';
import locale from '../locale/ru_RU';
export default {
locale: 'ru',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Фильтр',
filterConfirm: 'OK',
filterReset: 'Сбросить',
selectAll: 'Выбрать всё',
selectInvert: 'Инвертировать выбор',
sortTitle: 'Сортировка',
},
Modal: {
okText: 'OK',
cancelText: 'Отмена',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Отмена',
},
Transfer: {
searchPlaceholder: 'Поиск',
itemUnit: 'элем.',
itemsUnit: 'элем.',
},
Upload: {
uploading: 'Загрузка...',
removeFile: 'Удалить файл',
uploadError: 'При загрузке произошла ошибка',
previewFile: 'Предпросмотр файла',
},
Empty: {
description: 'Нет данных',
},
Text: {
edit: 'редактировать',
copy: 'копировать',
copied: 'скопировано',
expand: 'раскрыть',
},
PageHeader: {
back: 'назад',
},
};
export default locale;

43
components/locale-provider/sk_SK.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/sk_SK';
import DatePicker from '../date-picker/locale/sk_SK';
import TimePicker from '../time-picker/locale/sk_SK';
import Calendar from '../calendar/locale/sk_SK';
import locale from '../locale/sk_SK';
export default {
locale: 'sk',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filter',
filterConfirm: 'OK',
filterReset: 'Obnoviť',
selectAll: 'Vybrať všetko',
selectInvert: 'Vybrať opačné',
},
Modal: {
okText: 'OK',
cancelText: 'Zrušiť',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Zrušiť',
},
Transfer: {
searchPlaceholder: 'Vyhľadávanie',
itemUnit: 'položka',
itemsUnit: 'položiek',
},
Upload: {
uploading: 'Nahrávanie...',
removeFile: 'Odstrániť súbor',
uploadError: 'Chyba pri nahrávaní',
previewFile: 'Zobraziť súbor',
},
Empty: {
description: 'Žiadne dáta',
},
};
export default locale;

43
components/locale-provider/sl_SI.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/sl_SI';
import DatePicker from '../date-picker/locale/sl_SI';
import TimePicker from '../time-picker/locale/sl_SI';
import Calendar from '../calendar/locale/sl_SI';
import locale from '../locale/sl_SI';
export default {
locale: 'sl',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filter',
filterConfirm: 'Filtriraj',
filterReset: 'Pobriši filter',
selectAll: 'Izberi vse na trenutni strani',
selectInvert: 'Obrni izbor na trenutni strani',
},
Modal: {
okText: 'V redu',
cancelText: 'Prekliči',
justOkText: 'V redu',
},
Popconfirm: {
okText: 'v redu',
cancelText: 'Prekliči',
},
Transfer: {
searchPlaceholder: 'Išči tukaj',
itemUnit: 'Objekt',
itemsUnit: 'Objektov',
},
Upload: {
uploading: 'Nalaganje...',
removeFile: 'Odstrani datoteko',
uploadError: 'Napaka pri nalaganju',
previewFile: 'Predogled datoteke',
},
Empty: {
description: 'Ni podatkov',
},
};
export default locale;

43
components/locale-provider/sr_RS.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/sr_RS';
import DatePicker from '../date-picker/locale/sr_RS';
import TimePicker from '../time-picker/locale/sr_RS';
import Calendar from '../calendar/locale/sr_RS';
import locale from '../locale/sr_RS';
export default {
locale: 'sr',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filter',
filterConfirm: 'Primeni filter',
filterReset: 'Resetuj filter',
selectAll: 'Obeleži sve na trenutnoj strani',
selectInvert: 'Obrni selekciju na trenutnoj stranici',
},
Modal: {
okText: 'U redu',
cancelText: 'Otkaži',
justOkText: 'U redu',
},
Popconfirm: {
okText: 'U redu',
cancelText: 'Otkaži',
},
Transfer: {
searchPlaceholder: 'Pretražite ovde',
itemUnit: 'stavka',
itemsUnit: 'stavki',
},
Upload: {
uploading: 'Slanje...',
removeFile: 'Ukloni fajl',
uploadError: 'Greška prilikom slanja',
previewFile: 'Pogledaj fajl',
},
Empty: {
description: 'Nema podataka',
},
};
export default locale;

35
components/locale-provider/sv_SE.tsx

@ -1,34 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/sv_SE';
import DatePicker from '../date-picker/locale/sv_SE';
import TimePicker from '../time-picker/locale/sv_SE';
import Calendar from '../calendar/locale/sv_SE';
import locale from '../locale/sv_SE';
export default {
locale: 'sv',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtermeny',
filterConfirm: 'OK',
filterReset: 'Rensa',
},
Modal: {
okText: 'OK',
cancelText: 'Avbryt',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Avbryt',
},
Transfer: {
searchPlaceholder: 'Sök',
itemUnit: 'element',
itemsUnit: 'element',
},
Empty: {
description: 'Ingen information',
},
};
export default locale;

43
components/locale-provider/th_TH.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/th_TH';
import DatePicker from '../date-picker/locale/th_TH';
import TimePicker from '../time-picker/locale/th_TH';
import Calendar from '../calendar/locale/th_TH';
import locale from '../locale/th_TH';
export default {
locale: 'th',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'ตัวกรอง',
filterConfirm: 'ยืนยัน',
filterReset: 'รีเซ็ต',
selectAll: 'เลือกทั้งหมดในหน้านี้',
selectInvert: 'เลือกสถานะตรงกันข้าม',
},
Modal: {
okText: 'ตกลง',
cancelText: 'ยกเลิก',
justOkText: 'ตกลง',
},
Popconfirm: {
okText: 'ตกลง',
cancelText: 'ยกเลิก',
},
Transfer: {
searchPlaceholder: 'ค้นหา',
itemUnit: 'ชิ้น',
itemsUnit: 'ชิ้น',
},
Upload: {
uploading: 'กำลังอัปโหลด...',
removeFile: 'ลบไฟล์',
uploadError: 'เกิดข้อผิดพลาดในการอัปโหลด',
previewFile: 'ดูตัวอย่างไฟล์',
},
Empty: {
description: 'ไม่มีข้อมูล',
},
};
export default locale;

57
components/locale-provider/tr_TR.tsx

@ -1,56 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/tr_TR';
import DatePicker from '../date-picker/locale/tr_TR';
import TimePicker from '../time-picker/locale/tr_TR';
import Calendar from '../calendar/locale/tr_TR';
import locale from '../locale/tr_TR';
export default {
locale: 'tr',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Lütfen seçiniz',
},
Table: {
filterTitle: 'Menü Filtrele',
filterConfirm: 'Tamam',
filterReset: 'Sıfırla',
selectAll: 'Hepsini Seç',
selectInvert: 'Tersini Seç',
sortTitle: 'Sırala',
},
Modal: {
okText: 'Tamam',
cancelText: 'İptal',
justOkText: 'Tamam',
},
Popconfirm: {
okText: 'Tamam',
cancelText: 'İptal',
},
Transfer: {
titles: ['', ''],
searchPlaceholder: 'Arama',
itemUnit: 'Öğe',
itemsUnit: 'Öğeler',
},
Upload: {
uploading: 'Yükleniyor...',
removeFile: `Dosyayı kaldır`,
uploadError: 'Yükleme Hatası',
previewFile: `Dosyayı Önizle`,
},
Empty: {
description: 'Veri Yok',
},
Icon: {
icon: 'icon',
},
Text: {
edit: 'düzenle',
copy: 'kopyala',
copied: 'kopyalandı',
expand: 'genişlet',
},
};
export default locale;

43
components/locale-provider/uk_UA.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/uk_UA';
import DatePicker from '../date-picker/locale/uk_UA';
import TimePicker from '../time-picker/locale/uk_UA';
import Calendar from '../calendar/locale/uk_UA';
import locale from '../locale/uk_UA';
export default {
locale: 'uk',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Фільтрувати',
filterConfirm: 'OK',
filterReset: 'Скинути',
selectAll: 'Обрати всі',
selectInvert: 'Інвертувати вибір',
},
Modal: {
okText: 'Гаразд',
cancelText: 'Скасувати',
justOkText: 'Гаразд',
},
Popconfirm: {
okText: 'Гаразд',
cancelText: 'Скасувати',
},
Transfer: {
searchPlaceholder: 'Введіть текст для пошуку',
itemUnit: 'item',
itemsUnit: 'items',
},
Upload: {
uploading: 'Завантаження ...',
removeFile: 'Видалити файл',
uploadError: 'Помилка завантаження',
previewFile: 'Попередній перегляд файлу',
},
Empty: {
description: 'Даних немає',
},
};
export default locale;

43
components/locale-provider/vi_VN.tsx

@ -1,42 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/vi_VN';
import DatePicker from '../date-picker/locale/vi_VN';
import TimePicker from '../time-picker/locale/vi_VN';
import Calendar from '../calendar/locale/vi_VN';
import locale from '../locale/vi_VN';
export default {
locale: 'vi',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Bộ ',
filterConfirm: 'OK',
filterReset: 'Tạo Lại',
selectAll: 'Chọn Tất Cả',
selectInvert: 'Chọn Ngược Lại',
},
Modal: {
okText: 'OK',
cancelText: 'Huỷ',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Huỷ',
},
Transfer: {
searchPlaceholder: 'Tìm ở đây',
itemUnit: 'mục',
itemsUnit: 'mục',
},
Upload: {
uploading: 'Đang tải lên...',
removeFile: 'Gỡ bỏ tập tin',
uploadError: 'Lỗi tải lên',
previewFile: 'Xem thử tập tin',
},
Empty: {
description: 'Trống',
},
};
export default locale;

62
components/locale-provider/zh_CN.tsx

@ -1,61 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/zh_CN';
import DatePicker from '../date-picker/locale/zh_CN';
import TimePicker from '../time-picker/locale/zh_CN';
import Calendar from '../calendar/locale/zh_CN';
import locale from '../locale/zh_CN';
export default {
locale: 'zh-cn',
Pagination,
DatePicker,
TimePicker,
Calendar,
// locales for all comoponents
global: {
placeholder: '请选择',
},
Table: {
filterTitle: '筛选',
filterConfirm: '确定',
filterReset: '重置',
selectAll: '全选当页',
selectInvert: '反选当页',
sortTitle: '排序',
expand: '展开行',
collapse: '关闭行',
},
Modal: {
okText: '确定',
cancelText: '取消',
justOkText: '知道了',
},
Popconfirm: {
cancelText: '取消',
okText: '确定',
},
Transfer: {
searchPlaceholder: '请输入搜索内容',
itemUnit: '项',
itemsUnit: '项',
},
Upload: {
uploading: '文件上传中',
removeFile: '删除文件',
uploadError: '上传错误',
previewFile: '预览文件',
},
Empty: {
description: '暂无数据',
},
Icon: {
icon: '图标',
},
Text: {
edit: '编辑',
copy: '复制',
copied: '复制成功',
expand: '展开',
},
PageHeader: {
back: '返回',
},
};
export default locale;

46
components/locale-provider/zh_TW.tsx

@ -1,45 +1,3 @@
import Pagination from 'rc-pagination/lib/locale/zh_TW';
import DatePicker from '../date-picker/locale/zh_TW';
import TimePicker from '../time-picker/locale/zh_TW';
import Calendar from '../calendar/locale/zh_TW';
import locale from '../locale/zh_TW';
export default {
locale: 'zh-tw',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: '篩選器',
filterConfirm: '確 定',
filterReset: '重 置',
selectAll: '全部選取',
selectInvert: '反向選取',
},
Modal: {
okText: '確 定',
cancelText: '取 消',
justOkText: 'OK',
},
Popconfirm: {
okText: '確 定',
cancelText: '取 消',
},
Transfer: {
searchPlaceholder: '搜尋資料',
itemUnit: '項目',
itemsUnit: '項目',
},
Upload: {
uploading: '正在上傳...',
removeFile: '刪除檔案',
uploadError: '上傳失敗',
previewFile: '檔案預覽',
},
Empty: {
description: '無此資料',
},
PageHeader: {
back: '返回',
},
};
export default locale;

42
components/locale/ar_EG.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/ar_EG';
import DatePicker from '../date-picker/locale/ar_EG';
import TimePicker from '../time-picker/locale/ar_EG';
import Calendar from '../calendar/locale/ar_EG';
export default {
locale: 'ar',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'الفلاتر',
filterConfirm: 'تأكيد',
filterReset: 'إعادة ضبط',
selectAll: 'اختيار الكل',
selectInvert: 'إلغاء الاختيار',
},
Modal: {
okText: 'تأكيد',
cancelText: 'إلغاء',
justOkText: 'تأكيد',
},
Popconfirm: {
okText: 'تأكيد',
cancelText: 'إلغاء',
},
Transfer: {
searchPlaceholder: 'ابحث هنا',
itemUnit: 'عنصر',
itemsUnit: 'عناصر',
},
Upload: {
uploading: 'جاري الرفع...',
removeFile: 'احذف الملف',
uploadError: 'مشكلة فى الرفع',
previewFile: 'استعرض الملف',
},
Empty: {
description: 'لا توجد بيانات',
},
};

42
components/locale/bg_BG.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/bg_BG';
import DatePicker from '../date-picker/locale/bg_BG';
import TimePicker from '../time-picker/locale/bg_BG';
import Calendar from '../calendar/locale/bg_BG';
export default {
locale: 'bg',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Филтриране',
filterConfirm: 'Добре',
filterReset: 'Нулриане',
selectAll: 'Избор на текуща страница',
selectInvert: 'Обръщане',
},
Modal: {
okText: 'Добре',
cancelText: 'Отказ',
justOkText: 'Добре',
},
Popconfirm: {
okText: 'Добре',
cancelText: 'Отказ',
},
Transfer: {
searchPlaceholder: 'Търсене',
itemUnit: 'избор',
itemsUnit: 'избори',
},
Upload: {
uploading: 'Качване...',
removeFile: 'Премахване',
uploadError: 'Грешка при качването',
previewFile: 'Преглед',
},
Empty: {
description: 'Няма данни',
},
};

34
components/locale/ca_ES.tsx

@ -0,0 +1,34 @@
import Pagination from 'rc-pagination/lib/locale/ca_ES';
import DatePicker from '../date-picker/locale/ca_ES';
import TimePicker from '../time-picker/locale/ca_ES';
import Calendar from '../calendar/locale/ca_ES';
export default {
locale: 'ca',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtrar Menu',
filterConfirm: 'OK',
filterReset: 'Restablir',
},
Modal: {
okText: 'OK',
cancelText: 'Cancel·lar',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Cancel·lar',
},
Transfer: {
searchPlaceholder: 'Cercar aquí',
itemUnit: 'item',
itemsUnit: 'items',
},
Empty: {
description: 'Sense dades',
},
};

40
components/locale/cs_CZ.tsx

@ -0,0 +1,40 @@
import Pagination from 'rc-pagination/lib/locale/cs_CZ';
import DatePicker from '../date-picker/locale/cs_CZ';
import TimePicker from '../time-picker/locale/cs_CZ';
import Calendar from '../calendar/locale/cs_CZ';
export default {
locale: 'cs',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtr',
filterConfirm: 'Potvrdit',
filterReset: 'Obnovit',
},
Modal: {
okText: 'Ok',
cancelText: 'Storno',
justOkText: 'Ok',
},
Popconfirm: {
okText: 'Ok',
cancelText: 'Storno',
},
Transfer: {
searchPlaceholder: 'Vyhledávání',
itemUnit: 'položka',
itemsUnit: 'položek',
},
Upload: {
uploading: 'Nahrávání...',
removeFile: 'Odstranit soubor',
uploadError: 'Chyba při nahrávání',
previewFile: 'Zobrazit soubor',
},
Empty: {
description: 'Žádná data',
},
};

42
components/locale/da_DK.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/da_DK';
import DatePicker from '../date-picker/locale/da_DK';
import TimePicker from '../time-picker/locale/da_DK';
import Calendar from '../calendar/locale/da_DK';
export default {
locale: 'da',
DatePicker,
TimePicker,
Calendar,
Pagination,
Table: {
filterTitle: 'Filtermenu',
filterConfirm: 'OK',
filterReset: 'Nulstil',
selectAll: 'Vælg alle',
selectInvert: 'Inverter valg',
},
Modal: {
okText: 'OK',
cancelText: 'Afbryd',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Afbryd',
},
Transfer: {
searchPlaceholder: 'Søg her',
itemUnit: 'element',
itemsUnit: 'elementer',
},
Upload: {
uploading: 'Uploader...',
removeFile: 'Fjern fil',
uploadError: 'Fejl ved upload',
previewFile: 'Forhåndsvisning',
},
Empty: {
description: 'Ingen data',
},
};

42
components/locale/de_DE.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/de_DE';
import DatePicker from '../date-picker/locale/de_DE';
import TimePicker from '../time-picker/locale/de_DE';
import Calendar from '../calendar/locale/de_DE';
export default {
locale: 'de',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filter-Menü',
filterConfirm: 'OK',
filterReset: 'Zurücksetzen',
selectAll: 'Selektiere Alle',
selectInvert: 'Selektion Invertieren',
},
Modal: {
okText: 'OK',
cancelText: 'Abbrechen',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Abbrechen',
},
Transfer: {
searchPlaceholder: 'Suchen',
itemUnit: 'Eintrag',
itemsUnit: 'Einträge',
},
Upload: {
uploading: 'Hochladen...',
removeFile: 'Datei entfernen',
uploadError: 'Fehler beim Hochladen',
previewFile: 'Dateivorschau',
},
Empty: {
description: 'Keine Daten',
},
};

61
components/locale/default.tsx

@ -0,0 +1,61 @@
import Pagination from 'rc-pagination/lib/locale/en_US';
import DatePicker from '../date-picker/locale/en_US';
import TimePicker from '../time-picker/locale/en_US';
import Calendar from '../calendar/locale/en_US';
export default {
locale: 'en',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Please select',
},
Table: {
filterTitle: 'Filter menu',
filterConfirm: 'OK',
filterReset: 'Reset',
selectAll: 'Select current page',
selectInvert: 'Invert current page',
sortTitle: 'Sort',
expand: 'Expand row',
collapse: 'Collapse row',
},
Modal: {
okText: 'OK',
cancelText: 'Cancel',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Cancel',
},
Transfer: {
titles: ['', ''],
searchPlaceholder: 'Search here',
itemUnit: 'item',
itemsUnit: 'items',
},
Upload: {
uploading: 'Uploading...',
removeFile: 'Remove file',
uploadError: 'Upload error',
previewFile: 'Preview file',
},
Empty: {
description: 'No Data',
},
Icon: {
icon: 'icon',
},
Text: {
edit: 'edit',
copy: 'copy',
copied: 'copy success',
expand: 'expand',
},
PageHeader: {
back: 'back',
},
};

42
components/locale/el_GR.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/el_GR';
import DatePicker from '../date-picker/locale/el_GR';
import TimePicker from '../time-picker/locale/el_GR';
import Calendar from '../calendar/locale/el_GR';
export default {
locale: 'el',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Μενού φίλτρων',
filterConfirm: 'ΟΚ',
filterReset: 'Επαναφορά',
selectAll: 'Επιλογή τρέχουσας σελίδας',
selectInvert: 'Αντιστροφή τρέχουσας σελίδας',
},
Modal: {
okText: 'ΟΚ',
cancelText: 'Άκυρο',
justOkText: 'ΟΚ',
},
Popconfirm: {
okText: 'ΟΚ',
cancelText: 'Άκυρο',
},
Transfer: {
searchPlaceholder: 'Αναζήτηση',
itemUnit: 'αντικείμενο',
itemsUnit: 'αντικείμενα',
},
Upload: {
uploading: 'Μεταφόρτωση...',
removeFile: 'Αφαίρεση αρχείου',
uploadError: 'Σφάλμα μεταφόρτωσης',
previewFile: 'Προεπισκόπηση αρχείου',
},
Empty: {
description: 'Δεν υπάρχουν δεδομένα',
},
};

42
components/locale/en_GB.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/en_GB';
import DatePicker from '../date-picker/locale/en_GB';
import TimePicker from '../time-picker/locale/en_GB';
import Calendar from '../calendar/locale/en_GB';
export default {
locale: 'en-gb',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filter menu',
filterConfirm: 'OK',
filterReset: 'Reset',
selectAll: 'Select current page',
selectInvert: 'Invert current page',
},
Modal: {
okText: 'OK',
cancelText: 'Cancel',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Cancel',
},
Transfer: {
searchPlaceholder: 'Search here',
itemUnit: 'item',
itemsUnit: 'items',
},
Upload: {
uploading: 'Uploading...',
removeFile: 'Remove file',
uploadError: 'Upload error',
previewFile: 'Preview file',
},
Empty: {
description: 'No data',
},
};

3
components/locale/en_US.tsx

@ -0,0 +1,3 @@
import defaultLocale from './default';
export default defaultLocale;

58
components/locale/es_ES.tsx

@ -0,0 +1,58 @@
import Pagination from 'rc-pagination/lib/locale/es_ES';
import DatePicker from '../date-picker/locale/es_ES';
import TimePicker from '../time-picker/locale/es_ES';
import Calendar from '../calendar/locale/es_ES';
export default {
locale: 'es',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Seleccione',
},
Table: {
filterTitle: 'Filtrar menú',
filterConfirm: 'Aceptar',
filterReset: 'Reiniciar',
selectAll: 'Seleccionar todo',
selectInvert: 'Invertir selección',
sortTitle: 'Ordenar',
},
Modal: {
okText: 'Aceptar',
cancelText: 'Cancelar',
justOkText: 'Aceptar',
},
Popconfirm: {
okText: 'Aceptar',
cancelText: 'Cancelar',
},
Transfer: {
searchPlaceholder: 'Buscar aquí',
itemUnit: 'elemento',
itemsUnit: 'elementos',
},
Upload: {
uploading: 'Subiendo...',
removeFile: 'Eliminar archivo',
uploadError: 'Error al subir el archivo',
previewFile: 'Vista previa',
},
Empty: {
description: 'No hay datos',
},
Icon: {
icon: 'ícono',
},
Text: {
edit: 'editar',
copy: 'copiar',
copied: 'copiado',
expand: 'expandir',
},
PageHeader: {
back: 'volver',
},
};

42
components/locale/et_EE.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/et_EE';
import DatePicker from '../date-picker/locale/et_EE';
import TimePicker from '../time-picker/locale/et_EE';
import Calendar from '../calendar/locale/et_EE';
export default {
locale: 'et',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtri menüü',
filterConfirm: 'OK',
filterReset: 'Nulli',
selectAll: 'Vali kõik',
selectInvert: 'Inverteeri valik',
},
Modal: {
okText: 'OK',
cancelText: 'Tühista',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Tühista',
},
Transfer: {
searchPlaceholder: 'Otsi siit',
itemUnit: 'kogus',
itemsUnit: 'kogus',
},
Upload: {
uploading: 'Üleslaadimine...',
removeFile: 'Eemalda fail',
uploadError: 'Üleslaadimise tõrge',
previewFile: 'Faili eelvaade',
},
Empty: {
description: 'Andmed puuduvad',
},
};

42
components/locale/fa_IR.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/fa_IR';
import DatePicker from '../date-picker/locale/fa_IR';
import TimePicker from '../time-picker/locale/fa_IR';
import Calendar from '../calendar/locale/fa_IR';
export default {
locale: 'fa',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'منوی فیلتر',
filterConfirm: 'تایید',
filterReset: 'پاک کردن',
selectAll: 'انتخاب صفحه‌ی کنونی',
selectInvert: 'معکوس کردن انتخاب‌ها در صفحه ی کنونی',
},
Modal: {
okText: 'تایید',
cancelText: 'لغو',
justOkText: 'تایید',
},
Popconfirm: {
okText: 'تایید',
cancelText: 'لغو',
},
Transfer: {
searchPlaceholder: 'جستجو',
itemUnit: '',
itemsUnit: '',
},
Upload: {
uploading: 'در حال آپلود...',
removeFile: 'حذف فایل',
uploadError: 'خطا در آپلود',
previewFile: 'مشاهده‌ی فایل',
},
Empty: {
description: 'داده‌ای موجود نیست',
},
};

43
components/locale/fi_FI.tsx

@ -0,0 +1,43 @@
import Pagination from 'rc-pagination/lib/locale/fi_FI';
import DatePicker from '../date-picker/locale/fi_FI';
import TimePicker from '../time-picker/locale/fi_FI';
import Calendar from '../calendar/locale/fi_FI';
export default {
locale: 'fi',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Suodatus valikko',
filterConfirm: 'OK',
filterReset: 'Tyhjennä',
selectAll: 'Valitse kaikki',
selectInvert: 'Valitse päinvastoin',
sortTitle: 'Lajittele',
},
Modal: {
okText: 'OK',
cancelText: 'Peruuta',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Peruuta',
},
Transfer: {
searchPlaceholder: 'Etsi täältä',
itemUnit: 'kohde',
itemsUnit: 'kohdetta',
},
Upload: {
uploading: 'Lähetetään...',
removeFile: 'Poista tiedosto',
uploadError: 'Virhe lähetyksessä',
previewFile: 'Esikatsele tiedostoa',
},
Empty: {
description: 'Ei kohteita',
},
};

40
components/locale/fr_BE.tsx

@ -0,0 +1,40 @@
import Pagination from 'rc-pagination/lib/locale/fr_BE';
import DatePicker from '../date-picker/locale/fr_BE';
import TimePicker from '../time-picker/locale/fr_BE';
import Calendar from '../calendar/locale/fr_BE';
export default {
locale: 'fr',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtrer',
filterConfirm: 'OK',
filterReset: 'Réinitialiser',
},
Modal: {
okText: 'OK',
cancelText: 'Annuler',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Annuler',
},
Transfer: {
searchPlaceholder: 'Recherche',
itemUnit: 'élément',
itemsUnit: 'éléments',
},
Empty: {
description: 'Aucune donnée',
},
Text: {
edit: 'éditer',
copy: 'copier',
copied: 'copie effectuée',
expand: 'développer',
},
};

40
components/locale/fr_FR.tsx

@ -0,0 +1,40 @@
import Pagination from 'rc-pagination/lib/locale/fr_FR';
import DatePicker from '../date-picker/locale/fr_FR';
import TimePicker from '../time-picker/locale/fr_FR';
import Calendar from '../calendar/locale/fr_FR';
export default {
locale: 'fr',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtrer',
filterConfirm: 'OK',
filterReset: 'Réinitialiser',
},
Modal: {
okText: 'OK',
cancelText: 'Annuler',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Annuler',
},
Transfer: {
searchPlaceholder: 'Recherche',
itemUnit: 'élément',
itemsUnit: 'éléments',
},
Empty: {
description: 'Aucune donnée',
},
Text: {
edit: 'éditer',
copy: 'copier',
copied: 'copie effectuée',
expand: 'développer',
},
};

42
components/locale/he_IL.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/he_IL';
import DatePicker from '../date-picker/locale/he_IL';
import TimePicker from '../time-picker/locale/he_IL';
import Calendar from '../calendar/locale/he_IL';
export default {
locale: 'he',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'תפריט סינון',
filterConfirm: 'אישור',
filterReset: 'איפוס',
selectAll: 'בחר הכל',
selectInvert: 'הפוך בחירה',
},
Modal: {
okText: 'אישור',
cancelText: 'ביטול',
justOkText: 'אישור',
},
Popconfirm: {
okText: 'אישור',
cancelText: 'ביטול',
},
Transfer: {
searchPlaceholder: 'חפש כאן',
itemUnit: 'פריט',
itemsUnit: 'פריטים',
},
Upload: {
uploading: 'מעלה...',
removeFile: 'הסר קובץ',
uploadError: 'שגיאת העלאה',
previewFile: 'הצג קובץ',
},
Empty: {
description: 'אין מידע',
},
};

50
components/locale/hi_IN.tsx

@ -0,0 +1,50 @@
import Pagination from 'rc-pagination/lib/locale/hi_IN';
import DatePicker from '../date-picker/locale/hi_IN';
import TimePicker from '../time-picker/locale/hi_IN';
import Calendar from '../calendar/locale/hi_IN';
export default {
locale: 'hi',
Pagination,
DatePicker,
TimePicker,
Calendar,
// locales for all comoponents
global: {
placeholder: 'कृपया चुनें',
},
Table: {
filterTitle: 'सूची बंद करें',
filterConfirm: 'अच्छी तरह से',
filterReset: 'रीसेट',
emptyText: 'कोई जानकारी नहीं',
selectAll: 'वर्तमान पृष्ठ का चयन करें',
selectInvert: 'वर्तमान पृष्ठ घुमाएं',
sortTitle: 'द्वारा क्रमबद्ध करें',
},
Modal: {
okText: 'अच्छी तरह से',
cancelText: 'रद्द करना',
justOkText: 'अच्छी तरह से',
},
Popconfirm: {
okText: 'अच्छी तरह से',
cancelText: 'रद्द करना',
},
Transfer: {
titles: ['', ''],
notFoundContent: 'नहीं मिला',
searchPlaceholder: 'यहां खोजें',
itemUnit: 'तत्त्व',
itemsUnit: 'विषय-वस्तु',
},
Select: {
notFoundContent: 'नहीं मिला',
},
Upload: {
uploading: 'अपलोडिंग...',
removeFile: 'फ़ाइल निकालें',
uploadError: 'अपलोड में त्रुटि',
previewFile: 'फ़ाइल पूर्वावलोकन',
},
};

56
components/locale/hr_HR.tsx

@ -0,0 +1,56 @@
import Pagination from 'rc-pagination/lib/locale/hr_HR';
import DatePicker from '../date-picker/locale/hr_HR';
import TimePicker from '../time-picker/locale/hr_HR';
import Calendar from '../calendar/locale/hr_HR';
export default {
locale: 'hr',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Molimo označite',
},
Table: {
filterTitle: 'Filter meni',
filterConfirm: 'OK',
filterReset: 'Reset',
selectAll: 'Označi trenutnu stranicu',
selectInvert: 'Invertiraj trenutnu stranicu',
sortTitle: 'Sortiraj',
},
Modal: {
okText: 'OK',
cancelText: 'Odustani',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Odustani',
},
Transfer: {
titles: ['', ''],
searchPlaceholder: 'Pretraži ovdje',
itemUnit: 'stavka',
itemsUnit: 'stavke',
},
Upload: {
uploading: 'Upload u tijeku...',
removeFile: 'Makni datoteku',
uploadError: 'Greška kod uploada',
previewFile: 'Pogledaj datoteku',
},
Empty: {
description: 'Nema podataka',
},
Icon: {
icon: 'ikona',
},
Text: {
edit: 'uredi',
copy: 'kopiraj',
copied: 'kopiranje uspješno',
expand: 'proširi',
},
};

43
components/locale/hu_HU.tsx

@ -0,0 +1,43 @@
import Pagination from 'rc-pagination/lib/locale/hu_HU';
import DatePicker from '../date-picker/locale/hu_HU';
import TimePicker from '../time-picker/locale/hu_HU';
import Calendar from '../calendar/locale/hu_HU';
export default {
locale: 'hu',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Szűrők',
filterConfirm: 'Alkalmazás',
filterReset: 'Visszaállítás',
selectAll: 'Jelenlegi oldal kiválasztása',
selectInvert: 'Jelenlegi oldal inverze',
sortTitle: 'Rendezés',
},
Modal: {
okText: 'Alkalmazás',
cancelText: 'Visszavonás',
justOkText: 'Alkalmazás',
},
Popconfirm: {
okText: 'Alkalmazás',
cancelText: 'Visszavonás',
},
Transfer: {
searchPlaceholder: 'Keresés',
itemUnit: 'elem',
itemsUnit: 'elemek',
},
Upload: {
uploading: 'Feltöltés...',
removeFile: 'Fájl eltávolítása',
uploadError: 'Feltöltési hiba',
previewFile: 'Fájl előnézet',
},
Empty: {
description: 'Nincs adat',
},
};

44
components/locale/id_ID.tsx

@ -0,0 +1,44 @@
import Pagination from 'rc-pagination/lib/locale/id_ID';
import DatePicker from '../date-picker/locale/id_ID';
import TimePicker from '../time-picker/locale/id_ID';
import Calendar from '../calendar/locale/id_ID';
export default {
locale: 'id',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Saring',
filterConfirm: 'OK',
filterReset: 'Hapus',
selectAll: 'Pilih semua di halaman ini',
selectInvert: 'Balikkan pilihan di halaman ini',
sortTitle: 'Urutkan',
},
Modal: {
okText: 'OK',
cancelText: 'Batal',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Batal',
},
Transfer: {
titles: ['', ''],
searchPlaceholder: 'Cari',
itemUnit: 'item',
itemsUnit: 'item',
},
Upload: {
uploading: 'Mengunggah...',
removeFile: 'Hapus file',
uploadError: 'Kesalahan pengunggahan',
previewFile: 'File pratinjau',
},
Empty: {
description: 'Tidak ada data',
},
};

42
components/locale/is_IS.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/is_IS';
import DatePicker from '../date-picker/locale/is_IS';
import TimePicker from '../time-picker/locale/is_IS';
import Calendar from '../calendar/locale/is_IS';
export default {
locale: 'is',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Afmarkanir',
filterConfirm: 'Staðfesta',
filterReset: 'Núllstilla',
selectAll: 'Velja allt',
selectInvert: 'Viðsnúa vali',
},
Modal: {
okText: 'Áfram',
cancelText: 'Hætta við',
justOkText: 'Í lagi',
},
Popconfirm: {
okText: 'Áfram',
cancelText: 'Hætta við',
},
Transfer: {
searchPlaceholder: 'Leita hér',
itemUnit: 'færsla',
itemsUnit: 'færslur',
},
Upload: {
uploading: 'Hleð upp...',
removeFile: 'Fjarlægja skrá',
uploadError: 'Villa við að hlaða upp',
previewFile: 'Forskoða skrá',
},
Empty: {
description: 'Engin gögn',
},
};

55
components/locale/it_IT.tsx

@ -0,0 +1,55 @@
import Pagination from 'rc-pagination/lib/locale/it_IT';
import DatePicker from '../date-picker/locale/it_IT';
import TimePicker from '../time-picker/locale/it_IT';
import Calendar from '../calendar/locale/it_IT';
export default {
locale: 'it',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Selezionare',
},
Table: {
filterTitle: 'Menù Filtro',
filterConfirm: 'OK',
filterReset: 'Reset',
selectAll: 'Seleziona pagina corrente',
selectInvert: 'Inverti selezione nella pagina corrente',
sortTitle: 'Ordina',
},
Modal: {
okText: 'OK',
cancelText: 'Annulla',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Annulla',
},
Transfer: {
searchPlaceholder: 'Cerca qui',
itemUnit: 'elemento',
itemsUnit: 'elementi',
},
Upload: {
uploading: 'Caricamento...',
removeFile: 'Rimuovi il file',
uploadError: 'Errore di caricamento',
previewFile: 'Anteprima file',
},
Empty: {
description: 'Nessun dato',
},
Icon: {
icon: 'icona',
},
Text: {
edit: 'modifica',
copy: 'copia',
copied: 'copia effettuata',
expand: 'espandi',
},
};

42
components/locale/ja_JP.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/ja_JP';
import DatePicker from '../date-picker/locale/ja_JP';
import TimePicker from '../time-picker/locale/ja_JP';
import Calendar from '../calendar/locale/ja_JP';
export default {
locale: 'ja',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'メニューをフィルター',
filterConfirm: 'OK',
filterReset: 'リセット',
selectAll: 'すべてを選択',
selectInvert: '選択を反転',
},
Modal: {
okText: 'OK',
cancelText: 'キャンセル',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'キャンセル',
},
Transfer: {
searchPlaceholder: 'ここを検索',
itemUnit: 'アイテム',
itemsUnit: 'アイテム',
},
Upload: {
uploading: 'アップロード中...',
removeFile: 'ファイルを削除',
uploadError: 'アップロードエラー',
previewFile: 'ファイルをプレビュー',
},
Empty: {
description: 'データがありません',
},
};

50
components/locale/kn_IN.tsx

@ -0,0 +1,50 @@
import Pagination from 'rc-pagination/lib/locale/kn_IN';
import DatePicker from '../date-picker/locale/kn_IN';
import TimePicker from '../time-picker/locale/kn_IN';
import Calendar from '../calendar/locale/kn_IN';
export default {
locale: 'kn',
Pagination,
DatePicker,
TimePicker,
Calendar,
// locales for all comoponents
global: {
placeholder: 'ದಯವಿಟ್ಟು ಆರಿಸಿ',
},
Table: {
filterTitle: 'ಪಟ್ಟಿ ಸೋಸಿ',
filterConfirm: 'ಸರಿ',
filterReset: 'ಮರುಹೊಂದಿಸಿ',
emptyText: 'ಮಾಹಿತಿ ಇಲ್ಲ',
selectAll: 'ಪ್ರಸ್ತುತ ಪುಟವನ್ನು ಆಯ್ಕೆಮಾಡಿ',
selectInvert: 'ಪ್ರಸ್ತುತ ಪುಟವನ್ನು ತಿರುಗಿಸಿ',
sortTitle: 'ವಿಂಗಡಿಸಿ',
},
Modal: {
okText: 'ಸರಿ',
cancelText: 'ರದ್ದು',
justOkText: 'ಸರಿ',
},
Popconfirm: {
okText: 'ಸರಿ',
cancelText: 'ರದ್ದು',
},
Transfer: {
titles: ['', ''],
notFoundContent: 'ದೊರೆತಿಲ್ಲ',
searchPlaceholder: 'ಇಲ್ಲಿ ಹುಡುಕಿ',
itemUnit: 'ವಿಷಯ',
itemsUnit: 'ವಿಷಯಗಳು',
},
Select: {
notFoundContent: 'ದೊರೆತಿಲ್ಲ',
},
Upload: {
uploading: 'ಏರಿಸಿ...',
removeFile: 'ಫೈಲ್ ತೆಗೆದುಹಾಕಿ',
uploadError: 'ಏರಿಸುವ ದೋಷ',
previewFile: 'ಫೈಲ್ ಮುನ್ನೋಟ',
},
};

42
components/locale/ko_KR.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/ko_KR';
import DatePicker from '../date-picker/locale/ko_KR';
import TimePicker from '../time-picker/locale/ko_KR';
import Calendar from '../calendar/locale/ko_KR';
export default {
locale: 'ko',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: '필터 메뉴',
filterConfirm: '확인',
filterReset: '초기화',
selectAll: '모두 선택',
selectInvert: '선택 반전',
},
Modal: {
okText: '확인',
cancelText: '취소',
justOkText: '확인',
},
Popconfirm: {
okText: '확인',
cancelText: '취소',
},
Transfer: {
searchPlaceholder: '여기에 검색하세요',
itemUnit: '개',
itemsUnit: '개',
},
Upload: {
uploading: '업로드 중...',
removeFile: '파일 삭제',
uploadError: '업로드 실패',
previewFile: '파일 미리보기',
},
Empty: {
description: '데이터 없음',
},
};

42
components/locale/ku_IQ.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/ku_IQ';
import DatePicker from '../date-picker/locale/ku_IQ';
import TimePicker from '../time-picker/locale/ku_IQ';
import Calendar from '../calendar/locale/ku_IQ';
export default {
locale: 'ku-iq',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Menuê peldanka',
filterConfirm: 'Temam',
filterReset: 'Jê bibe',
selectAll: 'Hemî hilbijêre',
selectInvert: 'Hilbijartinan veguhere',
},
Modal: {
okText: 'Temam',
cancelText: 'Betal ke',
justOkText: 'Temam',
},
Popconfirm: {
okText: 'Temam',
cancelText: 'Betal ke',
},
Transfer: {
searchPlaceholder: 'Lêgerîn',
itemUnit: 'tişt',
itemsUnit: 'tişt',
},
Upload: {
uploading: 'Bardike...',
removeFile: 'Pelê rabike',
uploadError: 'Xeta barkirine',
previewFile: 'Pelê pêşbibîne',
},
Empty: {
description: 'Agahî tune',
},
};

42
components/locale/lv_LV.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/lv_LV';
import DatePicker from '../date-picker/locale/lv_LV';
import TimePicker from '../time-picker/locale/lv_LV';
import Calendar from '../calendar/locale/lv_LV';
export default {
locale: 'lv',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtrēšanas izvēlne',
filterConfirm: 'OK',
filterReset: 'Atiestatīt',
selectAll: 'Atlasiet pašreizējo lapu',
selectInvert: 'Pārvērst pašreizējo lapu',
},
Modal: {
okText: 'OK',
cancelText: 'Atcelt',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Atcelt',
},
Transfer: {
searchPlaceholder: 'Meklēt šeit',
itemUnit: 'vienumu',
itemsUnit: 'vienumus',
},
Upload: {
uploading: 'Augšupielāde...',
removeFile: 'Noņemt failu',
uploadError: 'Augšupielādes kļūda',
previewFile: 'Priekšskatiet failu',
},
Empty: {
description: 'Nav datu',
},
};

42
components/locale/mn_MN.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/mn_MN';
import DatePicker from '../date-picker/locale/mn_MN';
import TimePicker from '../time-picker/locale/mn_MN';
import Calendar from '../calendar/locale/mn_MN';
export default {
locale: 'mn-mn',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Хайх цэс',
filterConfirm: 'OK',
filterReset: 'Цэвэрлэх',
selectAll: 'Бүгдийг сонгох',
selectInvert: 'Бусдыг сонгох',
},
Modal: {
okText: 'OK',
cancelText: 'Цуцлах',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Цуцлах',
},
Transfer: {
searchPlaceholder: 'Хайх',
itemUnit: 'Зүйл',
itemsUnit: 'Зүйлүүд',
},
Upload: {
uploading: 'Хуулж байна...',
removeFile: 'Файл устгах',
uploadError: 'Хуулахад алдаа гарлаа',
previewFile: 'Файлыг түргэн үзэх',
},
Empty: {
description: 'Мэдээлэл байхгүй байна',
},
};

62
components/locale/ms_MY.tsx

@ -0,0 +1,62 @@
import Pagination from 'rc-pagination/lib/locale/ms_MY';
import DatePicker from '../date-picker/locale/ms_MY';
import TimePicker from '../time-picker/locale/ms_MY';
import Calendar from '../calendar/locale/ms_MY';
export default {
locale: 'ms-my',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Sila pilih',
},
PageHeader: {
back: 'Kembali',
},
Text: {
edit: 'Sunting',
copy: 'Salin',
copied: 'Berjaya menyalin',
expand: 'Kembang',
},
Empty: {
description: 'Tiada data',
},
Table: {
filterTitle: 'Cari dengan tajuk',
filterConfirm: 'Ok',
filterReset: 'Menetapkan semula',
emptyText: 'Tiada data',
selectAll: 'Pilih semua',
selectInvert: 'Terbalikkan',
},
Modal: {
okText: 'OK',
cancelText: 'Batal',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Batal',
},
Transfer: {
notFoundContent: 'Tidak dijumpai',
searchPlaceholder: 'Carian di sini',
itemUnit: 'item',
itemsUnit: 'item',
},
Icon: {
icon: 'ikon',
},
Select: {
notFoundContent: 'Tidak Dijumpai',
},
Upload: {
uploading: 'Sedang memuat naik...',
removeFile: 'Buang fail',
uploadError: 'Masalah muat naik',
previewFile: 'Tengok fail',
},
};

42
components/locale/nb_NO.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/nb_NO';
import DatePicker from '../date-picker/locale/nb_NO';
import TimePicker from '../time-picker/locale/nb_NO';
import Calendar from '../calendar/locale/nb_NO';
export default {
locale: 'nb',
DatePicker,
TimePicker,
Calendar,
Pagination,
Table: {
filterTitle: 'Filtermeny',
filterConfirm: 'OK',
filterReset: 'Nullstill',
selectAll: 'Velg alle',
selectInvert: 'Inverter valg',
},
Modal: {
okText: 'OK',
cancelText: 'Avbryt',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Avbryt',
},
Transfer: {
searchPlaceholder: 'Søk her',
itemUnit: 'element',
itemsUnit: 'elementer',
},
Upload: {
uploading: 'Laster opp...',
removeFile: 'Fjern fil',
uploadError: 'Feil ved opplastning',
previewFile: 'Forhåndsvisning',
},
Empty: {
description: 'Ingen data',
},
};

43
components/locale/ne_NP.tsx

@ -0,0 +1,43 @@
import Pagination from 'rc-pagination/lib/locale/en_US';
import DatePicker from '../date-picker/locale/en_US';
import TimePicker from '../time-picker/locale/en_US';
import Calendar from '../calendar/locale/en_US';
export default {
locale: 'ne-np',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'फिल्टर मेनु',
filterConfirm: 'हो',
filterReset: 'रीसेट',
selectAll: 'सबै छान्नुुहोस्',
selectInvert: 'छनौट उल्टाउनुहोस',
},
Modal: {
okText: 'हो',
cancelText: 'होईन',
justOkText: 'हो',
},
Popconfirm: {
okText: 'हो',
cancelText: 'होईन',
},
Transfer: {
titles: ['', ''],
searchPlaceholder: 'यहाँ खोज्नुहोस्',
itemUnit: 'वस्तु',
itemsUnit: 'वस्तुहरू',
},
Upload: {
uploading: 'अपलोड गर्दै...',
removeFile: 'फाइल हटाउनुहोस्',
uploadError: 'अप्लोडमा समस्या भयो',
previewFile: 'फाइल पूर्वावलोकन गर्नुहोस्',
},
Empty: {
description: 'डाटा छैन',
},
};

42
components/locale/nl_BE.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/nl_BE';
import DatePicker from '../date-picker/locale/nl_BE';
import TimePicker from '../time-picker/locale/nl_BE';
import Calendar from '../calendar/locale/nl_BE';
export default {
locale: 'nl-be',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'FilterMenu',
filterConfirm: 'OK',
filterReset: 'Reset',
selectAll: 'Selecteer huidige pagina',
selectInvert: 'Selecteer huidige pagina',
},
Modal: {
okText: 'OK',
cancelText: 'Annuleer',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Annuleer',
},
Transfer: {
searchPlaceholder: 'Zoek hier',
itemUnit: 'item',
itemsUnit: 'items',
},
Upload: {
uploading: 'Uploaden...',
removeFile: 'Bestand verwijderen',
uploadError: 'Upload fout',
previewFile: 'Preview bestand',
},
Empty: {
description: 'Geen gegevens',
},
};

42
components/locale/nl_NL.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/nl_NL';
import DatePicker from '../date-picker/locale/nl_NL';
import TimePicker from '../time-picker/locale/nl_NL';
import Calendar from '../calendar/locale/nl_NL';
export default {
locale: 'nl',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filteren',
filterConfirm: 'OK',
filterReset: 'Reset',
selectAll: 'Selecteer huidige pagina',
selectInvert: 'Deselecteer huidige pagina',
},
Modal: {
okText: 'OK',
cancelText: 'Annuleren',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Annuleren',
},
Transfer: {
searchPlaceholder: 'Zoeken',
itemUnit: 'item',
itemsUnit: 'items',
},
Upload: {
uploading: 'Uploaden...',
removeFile: 'Verwijder bestand',
uploadError: 'Fout tijdens uploaden',
previewFile: 'Bekijk bestand',
},
Empty: {
description: 'Geen gegevens',
},
};

42
components/locale/pl_PL.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/pl_PL';
import DatePicker from '../date-picker/locale/pl_PL';
import TimePicker from '../time-picker/locale/pl_PL';
import Calendar from '../calendar/locale/pl_PL';
export default {
locale: 'pl',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Menu filtra',
filterConfirm: 'OK',
filterReset: 'Wyczyść',
selectAll: 'Zaznacz bieżącą stronę',
selectInvert: 'Odwróć zaznaczenie',
},
Modal: {
okText: 'OK',
cancelText: 'Anuluj',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Anuluj',
},
Transfer: {
searchPlaceholder: 'Szukaj',
itemUnit: 'obiekt',
itemsUnit: 'obiekty',
},
Upload: {
uploading: 'Wysyłanie...',
removeFile: 'Usuń plik',
uploadError: 'Błąd wysyłania',
previewFile: 'Podejrzyj plik',
},
Empty: {
description: 'Brak danych',
},
};

42
components/locale/pt_BR.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/pt_BR';
import DatePicker from '../date-picker/locale/pt_BR';
import TimePicker from '../time-picker/locale/pt_BR';
import Calendar from '../calendar/locale/pt_BR';
export default {
locale: 'pt-br',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtro',
filterConfirm: 'OK',
filterReset: 'Resetar',
selectAll: 'Selecionar página atual',
selectInvert: 'Inverter seleção',
},
Modal: {
okText: 'OK',
cancelText: 'Cancelar',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Cancelar',
},
Transfer: {
searchPlaceholder: 'Procurar',
itemUnit: 'item',
itemsUnit: 'items',
},
Upload: {
uploading: 'Enviando...',
removeFile: 'Remover arquivo',
uploadError: 'Erro no envio',
previewFile: 'Visualizar arquivo',
},
Empty: {
description: 'Não há dados',
},
};

43
components/locale/pt_PT.tsx

@ -0,0 +1,43 @@
import Pagination from 'rc-pagination/lib/locale/pt_PT';
import DatePicker from '../date-picker/locale/pt_PT';
import TimePicker from '../time-picker/locale/pt_PT';
import Calendar from '../calendar/locale/pt_PT';
export default {
locale: 'pt',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filtro',
filterConfirm: 'Aplicar',
filterReset: 'Reiniciar',
selectAll: 'Selecionar página atual',
selectInvert: 'Inverter seleção',
sortTitle: 'Ordenação',
},
Modal: {
okText: 'OK',
cancelText: 'Cancelar',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Cancelar',
},
Transfer: {
searchPlaceholder: 'Procurar...',
itemUnit: 'item',
itemsUnit: 'itens',
},
Upload: {
uploading: 'A carregar...',
removeFile: 'Remover',
uploadError: 'Erro ao carregar',
previewFile: 'Pré-visualizar',
},
Empty: {
description: 'Sem resultados',
},
};

52
components/locale/ru_RU.tsx

@ -0,0 +1,52 @@
import Pagination from 'rc-pagination/lib/locale/ru_RU';
import DatePicker from '../date-picker/locale/ru_RU';
import TimePicker from '../time-picker/locale/ru_RU';
import Calendar from '../calendar/locale/ru_RU';
export default {
locale: 'ru',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Фильтр',
filterConfirm: 'OK',
filterReset: 'Сбросить',
selectAll: 'Выбрать всё',
selectInvert: 'Инвертировать выбор',
sortTitle: 'Сортировка',
},
Modal: {
okText: 'OK',
cancelText: 'Отмена',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Отмена',
},
Transfer: {
searchPlaceholder: 'Поиск',
itemUnit: 'элем.',
itemsUnit: 'элем.',
},
Upload: {
uploading: 'Загрузка...',
removeFile: 'Удалить файл',
uploadError: 'При загрузке произошла ошибка',
previewFile: 'Предпросмотр файла',
},
Empty: {
description: 'Нет данных',
},
Text: {
edit: 'редактировать',
copy: 'копировать',
copied: 'скопировано',
expand: 'раскрыть',
},
PageHeader: {
back: 'назад',
},
};

42
components/locale/sk_SK.tsx

@ -0,0 +1,42 @@
import Pagination from 'rc-pagination/lib/locale/sk_SK';
import DatePicker from '../date-picker/locale/sk_SK';
import TimePicker from '../time-picker/locale/sk_SK';
import Calendar from '../calendar/locale/sk_SK';
export default {
locale: 'sk',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Filter',
filterConfirm: 'OK',
filterReset: 'Obnoviť',
selectAll: 'Vybrať všetko',
selectInvert: 'Vybrať opačné',
},
Modal: {
okText: 'OK',
cancelText: 'Zrušiť',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Zrušiť',
},
Transfer: {
searchPlaceholder: 'Vyhľadávanie',
itemUnit: 'položka',
itemsUnit: 'položiek',
},
Upload: {
uploading: 'Nahrávanie...',
removeFile: 'Odstrániť súbor',
uploadError: 'Chyba pri nahrávaní',
previewFile: 'Zobraziť súbor',
},
Empty: {
description: 'Žiadne dáta',
},
};

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save