mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
Added test case and updated documentation
This commit is contained in:
parent
1de7f707d7
commit
68a02a75e3
File diff suppressed because it is too large
Load Diff
@ -36,6 +36,7 @@ import heIL from '../he_IL';
|
||||
import hiIN from '../hi_IN';
|
||||
import hrHR from '../hr_HR';
|
||||
import huHU from '../hu_HU';
|
||||
import hyAM from '../hy_AM';
|
||||
import isIS from '../is_IS';
|
||||
import itIT from '../it_IT';
|
||||
import jaJP from '../ja_JP';
|
||||
@ -87,6 +88,7 @@ const locales = [
|
||||
hiIN,
|
||||
hrHR,
|
||||
huHU,
|
||||
hyAM,
|
||||
isIS,
|
||||
itIT,
|
||||
jaJP,
|
||||
@ -162,7 +164,11 @@ const App = () => (
|
||||
);
|
||||
|
||||
describe('Locale Provider', () => {
|
||||
mountTest(() => <LocaleProvider><div /></LocaleProvider>);
|
||||
mountTest(() => (
|
||||
<LocaleProvider>
|
||||
<div />
|
||||
</LocaleProvider>
|
||||
));
|
||||
|
||||
beforeAll(() => {
|
||||
MockDate.set(moment('2017-09-18T03:30:07.795'));
|
||||
|
@ -29,6 +29,7 @@ Supported languages:
|
||||
| Language | Filename |
|
||||
| --------------------- | -------- |
|
||||
| Arabic | ar_EG |
|
||||
| Armenian | hy_AM |
|
||||
| Bulgarian | bg_BG |
|
||||
| Catalan | ca_ES |
|
||||
| Czech | cs_CZ |
|
||||
|
@ -28,6 +28,7 @@ return (
|
||||
| 语言 | 文件名 |
|
||||
| ---------------- | ------ |
|
||||
| 阿拉伯语 | ar_EG |
|
||||
| 亞美尼亞 | hy_AM |
|
||||
| 保加利亚语 | bg_BG |
|
||||
| 加泰罗尼亚语 | ca_ES |
|
||||
| 捷克语 | cs_CZ |
|
||||
|
Loading…
Reference in New Issue
Block a user