Browse Source

sort locales asc and add locale huHU tests

pull/12958/head
ilanus 6 years ago
committed by 偏右
parent
commit
c5874c1104
  1. 8438
      components/locale-provider/__tests__/__snapshots__/index.test.js.snap
  2. 63
      components/locale-provider/__tests__/index.test.js
  3. 1
      docs/react/i18n.en-US.md
  4. 1
      docs/react/i18n.zh-CN.md

8438
components/locale-provider/__tests__/__snapshots__/index.test.js.snap

File diff suppressed because it is too large

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

@ -5,48 +5,49 @@ import moment from 'moment';
import MockDate from 'mockdate';
import { LocaleProvider, Pagination, DatePicker, TimePicker, Calendar,
Popconfirm, Table, Modal, Select, Transfer } from '../..';
import arEG from '../ar_EG';
import bgBG from '../bg_BG';
import caES from '../ca_ES';
import csCZ from '../cs_CZ';
import daDK from '../da_DK';
import deDE from '../de_DE';
import elGR from '../el_GR';
import enGB from '../en_GB';
import enUS from '../en_US';
import esES from '../es_ES';
import etEE from '../et_EE';
import faIR from '../fa_IR';
import fiFI from '../fi_FI';
import frBE from '../fr_BE';
import frFR from '../fr_FR';
import nlBE from '../nl_BE';
import heIL from '../he_IL';
import huHU from '../hu_HU';
import isIS from '../is_IS';
import itIT from '../it_IT';
import enUS from '../en_US';
import jaJP from '../ja_JP';
import koKR from '../ko_KR';
import kuIQ from '../ku_IQ';
import mnMN from '../mn_MN';
import nbNO from '../nb_NO';
import neNP from '../ne-NP';
import nlBE from '../nl_BE';
import nlNL from '../nl_NL';
import plPL from '../pl_PL';
import ptBR from '../pt_BR';
import ptPT from '../pt_PT';
import ruRU from '../ru_RU';
import esES from '../es_ES';
import svSE from '../sv_SE';
import frBE from '../fr_BE';
import deDE from '../de_DE';
import nlNL from '../nl_NL';
import caES from '../ca_ES';
import csCZ from '../cs_CZ';
import koKR from '../ko_KR';
import etEE from '../et_EE';
import skSK from '../sk_SK';
import jaJP from '../ja_JP';
import trTR from '../tr_TR';
import zhTW from '../zh_TW';
import fiFI from '../fi_FI';
import plPL from '../pl_PL';
import bgBG from '../bg_BG';
import viVN from '../vi_VN';
import thTH from '../th_TH';
import faIR from '../fa_IR';
import elGR from '../el_GR';
import nbNO from '../nb_NO';
import srRS from '../sr_RS';
import slSI from '../sl_SI';
import isIS from '../is_IS';
import arEG from '../ar_EG';
import srRS from '../sr_RS';
import svSE from '../sv_SE';
import thTH from '../th_TH';
import trTR from '../tr_TR';
import ukUA from '../uk_UA';
import viVN from '../vi_VN';
import zhCN from '../zh_CN';
import kuIQ from '../ku_IQ';
import mnMN from '../mn_MN';
import heIL from '../he_IL';
import daDK from '../da_DK';
import neNP from '../ne-NP';
import zhTW from '../zh_TW';
const locales = [enUS, ptBR, ptPT, ruRU, esES, svSE, frBE, deDE, nlNL, caES, csCZ, koKR, etEE, skSK, jaJP, trTR, zhTW, fiFI, plPL, bgBG, enGB, frFR, nlBE, itIT, viVN, thTH, faIR, elGR, nbNO, srRS, slSI, isIS, arEG, ukUA, zhCN, kuIQ, mnMN, heIL, daDK, neNP];
const locales = [arEG, bgBG, caES, csCZ, daDK, deDE, elGR, enGB, enUS, esES, etEE, faIR, fiFI, frBE, frFR, heIL, huHU, isIS, itIT, jaJP, koKR, kuIQ, mnMN, nbNO, neNP, nlBE, nlNL, plPL, ptBR, ptPT, ruRU, skSK, slSI, srRS, svSE, thTH, trTR, ukUA, viVN, zhCN, zhTW];
const { Option } = Select;
const { RangePicker } = DatePicker;

1
docs/react/i18n.en-US.md

@ -42,6 +42,7 @@ Supported languages:
|French (Belgium)|fr_BE|
|French (France)|fr_FR|
|Hebrew|he_IL|
|Hungarian|hu_HU|
|Italian|it_IT|
|Icelandic|is_IS|
|Japanese|ja_JP|

1
docs/react/i18n.zh-CN.md

@ -40,6 +40,7 @@ return (
|法语(比利时)|fr_BE|
|法语|fr_FR|
|希伯来语|he_IL|
|匈牙利|hu_HU|
|冰岛语|is_IS|
|意大利语|it_IT|
|日语|ja_JP|

Loading…
Cancel
Save