mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-07 20:53:54 -05:00
* [INJI-314] initial commit Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com> * [INJI-314] add WIP ut stuff Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-314] fix tsconfig for project type Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-314] kludge - skip checking types during unit tests * mock image imports globally * enable tests to run from any dir Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-314]: mocked modules Signed-off-by: srikanth716 <srikanthsri7447@gmail.com> * [INJIMOB-314]: mock react-native-google-signin Signed-off-by: srikanth716 <srikanthsri7447@gmail.com> * [INJIMOB-314]: use defined mock from google-signin lib other details: - mock base58.., rn-linear-gradient, expo-camera - add @react-native/assets-registry to make jest-expo babel preset work Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-314] reorganise global const mocks into jest's setupFiles Co-authored-by: srikanth716 <srikanthsri7447@gmail.com> Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-900] write tests for ActivityLogEvent * init relevant mocks * remove redundant global mocks from test files Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-900] fixup mocks of mmkv, zip-archive, rnfs Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-900]: write unit test for commonUtil Signed-off-by: srikanth716 <srikanthsri7447@gmail.com> * [INJIMOB-900]: write unit test for commonUtil Signed-off-by: srikanth716 <srikanthsri7447@gmail.com> * [INJIMOB-900]: sample unit test for settingsScreen Signed-off-by: srikanth716 <srikanthsri7447@gmail.com> * [INJIMOB-900] add SettingScreen test Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-900] update sample tests for commonUtil Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-900]: refactoring the settingsScreen test for Android and IOS Signed-off-by: srikanth716 <srikanthsri7447@gmail.com> * [INJIMOB-900] update test snapshots and add kludge in auth for testing kludge: auth state machine now exports a selector with optional fields as state machine isn't running in a test environment Co-authored-by: srikanth716 <srikanthsri7447@gmail.com> Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-900]: snapshot test to settings screen Signed-off-by: srikanth716 <srikanthsri7447@gmail.com> * [INJIMOB-900] update mocks for testing and ACK reviews Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-900] downgrade expo to match compatibility matrix Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-900] upgrade expo to 49 to build the iOS app(kludge) Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> * [INJIMOB-900] configure react-native-vector-icons as per README Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> --------- Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com> Signed-off-by: Harsh Vardhan <harsh59v@gmail.com> Signed-off-by: srikanth716 <srikanthsri7447@gmail.com> Co-authored-by: Sri Kanth Kola <srikanthsri7447@gmail.com>
192 lines
2.5 KiB
JavaScript
192 lines
2.5 KiB
JavaScript
/**
|
|
* Map of ISO 639-3 codes to ISO 639-1 codes.
|
|
*
|
|
* @type {Record<string, string>}
|
|
*/
|
|
export const iso6393To1 = {
|
|
aar: 'aa',
|
|
abk: 'ab',
|
|
afr: 'af',
|
|
aka: 'ak',
|
|
amh: 'am',
|
|
ara: 'ar',
|
|
arg: 'an',
|
|
asm: 'as',
|
|
ava: 'av',
|
|
ave: 'ae',
|
|
aym: 'ay',
|
|
aze: 'az',
|
|
bak: 'ba',
|
|
bam: 'bm',
|
|
bel: 'be',
|
|
ben: 'bn',
|
|
bis: 'bi',
|
|
bod: 'bo',
|
|
bos: 'bs',
|
|
bre: 'br',
|
|
bul: 'bg',
|
|
cat: 'ca',
|
|
ces: 'cs',
|
|
cha: 'ch',
|
|
che: 'ce',
|
|
chu: 'cu',
|
|
chv: 'cv',
|
|
cor: 'kw',
|
|
cos: 'co',
|
|
cre: 'cr',
|
|
cym: 'cy',
|
|
dan: 'da',
|
|
deu: 'de',
|
|
div: 'dv',
|
|
dzo: 'dz',
|
|
ell: 'el',
|
|
eng: 'en',
|
|
epo: 'eo',
|
|
est: 'et',
|
|
eus: 'eu',
|
|
ewe: 'ee',
|
|
fao: 'fo',
|
|
fas: 'fa',
|
|
fij: 'fj',
|
|
fin: 'fi',
|
|
fra: 'fr',
|
|
fry: 'fy',
|
|
ful: 'ff',
|
|
gla: 'gd',
|
|
gle: 'ga',
|
|
glg: 'gl',
|
|
glv: 'gv',
|
|
grn: 'gn',
|
|
guj: 'gu',
|
|
hat: 'ht',
|
|
hau: 'ha',
|
|
hbs: 'sh',
|
|
heb: 'he',
|
|
her: 'hz',
|
|
hin: 'hi',
|
|
hmo: 'ho',
|
|
hrv: 'hr',
|
|
hun: 'hu',
|
|
hye: 'hy',
|
|
ibo: 'ig',
|
|
ido: 'io',
|
|
iii: 'ii',
|
|
iku: 'iu',
|
|
ile: 'ie',
|
|
ina: 'ia',
|
|
ind: 'id',
|
|
ipk: 'ik',
|
|
isl: 'is',
|
|
ita: 'it',
|
|
jav: 'jv',
|
|
jpn: 'ja',
|
|
kal: 'kl',
|
|
kan: 'kn',
|
|
kas: 'ks',
|
|
kat: 'ka',
|
|
kau: 'kr',
|
|
kaz: 'kk',
|
|
khm: 'km',
|
|
kik: 'ki',
|
|
kin: 'rw',
|
|
kir: 'ky',
|
|
kom: 'kv',
|
|
kon: 'kg',
|
|
kor: 'ko',
|
|
kua: 'kj',
|
|
kur: 'ku',
|
|
lao: 'lo',
|
|
lat: 'la',
|
|
lav: 'lv',
|
|
lim: 'li',
|
|
lin: 'ln',
|
|
lit: 'lt',
|
|
ltz: 'lb',
|
|
lub: 'lu',
|
|
lug: 'lg',
|
|
mah: 'mh',
|
|
mal: 'ml',
|
|
mar: 'mr',
|
|
mkd: 'mk',
|
|
mlg: 'mg',
|
|
mlt: 'mt',
|
|
mon: 'mn',
|
|
mri: 'mi',
|
|
msa: 'ms',
|
|
mya: 'my',
|
|
nau: 'na',
|
|
nav: 'nv',
|
|
nbl: 'nr',
|
|
nde: 'nd',
|
|
ndo: 'ng',
|
|
nep: 'ne',
|
|
nld: 'nl',
|
|
nno: 'nn',
|
|
nob: 'nb',
|
|
nor: 'no',
|
|
nya: 'ny',
|
|
oci: 'oc',
|
|
oji: 'oj',
|
|
ori: 'or',
|
|
orm: 'om',
|
|
oss: 'os',
|
|
pan: 'pa',
|
|
pli: 'pi',
|
|
pol: 'pl',
|
|
por: 'pt',
|
|
pus: 'ps',
|
|
que: 'qu',
|
|
roh: 'rm',
|
|
ron: 'ro',
|
|
run: 'rn',
|
|
rus: 'ru',
|
|
sag: 'sg',
|
|
san: 'sa',
|
|
sin: 'si',
|
|
slk: 'sk',
|
|
slv: 'sl',
|
|
sme: 'se',
|
|
smo: 'sm',
|
|
sna: 'sn',
|
|
snd: 'sd',
|
|
som: 'so',
|
|
sot: 'st',
|
|
spa: 'es',
|
|
sqi: 'sq',
|
|
srd: 'sc',
|
|
srp: 'sr',
|
|
ssw: 'ss',
|
|
sun: 'su',
|
|
swa: 'sw',
|
|
swe: 'sv',
|
|
tah: 'ty',
|
|
tam: 'ta',
|
|
tat: 'tt',
|
|
tel: 'te',
|
|
tgk: 'tg',
|
|
tgl: 'tl',
|
|
tha: 'th',
|
|
tir: 'ti',
|
|
ton: 'to',
|
|
tsn: 'tn',
|
|
tso: 'ts',
|
|
tuk: 'tk',
|
|
tur: 'tr',
|
|
twi: 'tw',
|
|
uig: 'ug',
|
|
ukr: 'uk',
|
|
urd: 'ur',
|
|
uzb: 'uz',
|
|
ven: 've',
|
|
vie: 'vi',
|
|
vol: 'vo',
|
|
wln: 'wa',
|
|
wol: 'wo',
|
|
xho: 'xh',
|
|
yid: 'yi',
|
|
yor: 'yo',
|
|
zha: 'za',
|
|
zho: 'zh',
|
|
zul: 'zu',
|
|
};
|