mirror of
https://github.com/aaru-dps/Aaru.CommonTypes.git
synced 2025-12-16 19:24:30 +00:00
213 lines
5.2 KiB
C#
213 lines
5.2 KiB
C#
|
|
// /***************************************************************************
|
||
|
|
// Aaru Data Preservation Suite
|
||
|
|
// ----------------------------------------------------------------------------
|
||
|
|
//
|
||
|
|
// Filename : Language.cs
|
||
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
||
|
|
//
|
||
|
|
// Component : Metadata.
|
||
|
|
//
|
||
|
|
// --[ Description ] ----------------------------------------------------------
|
||
|
|
//
|
||
|
|
// Defines format for metadata.
|
||
|
|
//
|
||
|
|
// --[ License ] --------------------------------------------------------------
|
||
|
|
//
|
||
|
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
||
|
|
// copy of this software and associated documentation files (the
|
||
|
|
// "Software"), to deal in the Software without restriction, including
|
||
|
|
// without limitation the rights to use, copy, modify, merge, publish,
|
||
|
|
// distribute, sublicense, and/or sell copies of the Software, and to
|
||
|
|
// permit persons to whom the Software is furnished to do so, subject to
|
||
|
|
// the following conditions:
|
||
|
|
//
|
||
|
|
// The above copyright notice and this permission notice shall be included
|
||
|
|
// in all copies or substantial portions of the Software.
|
||
|
|
//
|
||
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||
|
|
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||
|
|
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||
|
|
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||
|
|
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||
|
|
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||
|
|
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||
|
|
//
|
||
|
|
// ----------------------------------------------------------------------------
|
||
|
|
// Copyright © 2011-2023 Natalia Portillo
|
||
|
|
// ****************************************************************************/
|
||
|
|
|
||
|
|
using System.Diagnostics.CodeAnalysis;
|
||
|
|
using System.Text.Json.Serialization;
|
||
|
|
|
||
|
|
// ReSharper disable UnusedMember.Global
|
||
|
|
// ReSharper disable ClassNeverInstantiated.Global
|
||
|
|
|
||
|
|
namespace Aaru.CommonTypes.AaruMetadata;
|
||
|
|
|
||
|
|
[JsonConverter(typeof(JsonStringEnumMemberConverter)), SuppressMessage("ReSharper", "InconsistentNaming")]
|
||
|
|
public enum Language
|
||
|
|
{
|
||
|
|
aar, abk, ace,
|
||
|
|
ach, ada, ady,
|
||
|
|
afa, afh, afr,
|
||
|
|
ain, aka, akk,
|
||
|
|
alb, ale, alg,
|
||
|
|
alt, amh, ang,
|
||
|
|
anp, apa, ara,
|
||
|
|
arc, arg, arm,
|
||
|
|
arn, arp, art,
|
||
|
|
arw, asm, ast,
|
||
|
|
ath, aus, ava,
|
||
|
|
ave, awa, aym,
|
||
|
|
aze, bad, bai,
|
||
|
|
bak, bal, bam,
|
||
|
|
ban, baq, bas,
|
||
|
|
bat, bej, bel,
|
||
|
|
bem, ben, ber,
|
||
|
|
bho, bih, bik,
|
||
|
|
bin, bis, bla,
|
||
|
|
bnt, bos, bra,
|
||
|
|
bre, btk, bua,
|
||
|
|
bug, bul, bur,
|
||
|
|
byn, cad, cai,
|
||
|
|
car, cat, cau,
|
||
|
|
ceb, cel, cha,
|
||
|
|
chb, che, chg,
|
||
|
|
chi, chk, chm,
|
||
|
|
chn, cho, chp,
|
||
|
|
chr, chu, chv,
|
||
|
|
chy, cmc, cop,
|
||
|
|
cor, cos, cpe,
|
||
|
|
cpf, cpp, cre,
|
||
|
|
crh, crp, csb,
|
||
|
|
cus, cze, dak,
|
||
|
|
dan, dar, day,
|
||
|
|
del, den, dgr,
|
||
|
|
din, div, doi,
|
||
|
|
dra, dsb, dua,
|
||
|
|
dum, dut, dyu,
|
||
|
|
dzo, efi, egy,
|
||
|
|
eka, elx, eng,
|
||
|
|
enm, epo, est,
|
||
|
|
ewe, ewo, fan,
|
||
|
|
fao, fat, fij,
|
||
|
|
fil, fin, fiu,
|
||
|
|
fon, fre, frm,
|
||
|
|
fro, frr, frs,
|
||
|
|
fry, ful, fur,
|
||
|
|
gaa, gay, gba,
|
||
|
|
gem, geo, ger,
|
||
|
|
gez, gil, gla,
|
||
|
|
gle, glg, glv,
|
||
|
|
gmh, goh, gon,
|
||
|
|
gor, got, grb,
|
||
|
|
grc, gre, grn,
|
||
|
|
gsw, guj, gwi,
|
||
|
|
hai, hat, hau,
|
||
|
|
haw, heb, her,
|
||
|
|
hil, him, hin,
|
||
|
|
hit, hmn, hmo,
|
||
|
|
hrv, hsb, hun,
|
||
|
|
hup, iba, ibo,
|
||
|
|
ice, ido, iii,
|
||
|
|
ijo, iku, ile,
|
||
|
|
ilo, ina, inc,
|
||
|
|
ind, ine, inh,
|
||
|
|
ipk, ira, iro,
|
||
|
|
ita, jav, jbo,
|
||
|
|
jpn, jpr, jrb,
|
||
|
|
kaa, kab, kac,
|
||
|
|
kal, kam, kan,
|
||
|
|
kar, kas, kau,
|
||
|
|
kaw, kaz, kbd,
|
||
|
|
kha, khi, khm,
|
||
|
|
kho, kik, kin,
|
||
|
|
kir, kmb, kok,
|
||
|
|
kom, kon, kor,
|
||
|
|
kos, kpe, krc,
|
||
|
|
krl, kro, kru,
|
||
|
|
kua, kum, kur,
|
||
|
|
kut, lad, lah,
|
||
|
|
lam, lao, lat,
|
||
|
|
lav, lez, lim,
|
||
|
|
lin, lit, lol,
|
||
|
|
loz, ltz, lua,
|
||
|
|
lub, lug, lui,
|
||
|
|
lun, luo, lus,
|
||
|
|
mac, mad, mag,
|
||
|
|
mah, mai, mak,
|
||
|
|
mal, man, mao,
|
||
|
|
map, mar, mas,
|
||
|
|
may, mdf, mdr,
|
||
|
|
men, mga, mic,
|
||
|
|
min, mis, mkh,
|
||
|
|
mlg, mlt, mnc,
|
||
|
|
mni, mno, moh,
|
||
|
|
mon, mos, mul,
|
||
|
|
mun, mus, mwl,
|
||
|
|
mwr, myn, myv,
|
||
|
|
nah, nai, nap,
|
||
|
|
nau, nav, nbl,
|
||
|
|
nde, ndo, nds,
|
||
|
|
nep, @new, nia,
|
||
|
|
nic, niu, nno,
|
||
|
|
nob, nog, non,
|
||
|
|
nor, nqo, nso,
|
||
|
|
nub, nwc, nya,
|
||
|
|
nym, nyn, nyo,
|
||
|
|
nzi, oci, oji,
|
||
|
|
ori, orm, osa,
|
||
|
|
oss, ota, oto,
|
||
|
|
paa, pag, pal,
|
||
|
|
pam, pan, pap,
|
||
|
|
pau, peo, per,
|
||
|
|
phi, phn, pli,
|
||
|
|
pol, pon, por,
|
||
|
|
pra, pro, pus,
|
||
|
|
[JsonPropertyName("qaa-qtz")]
|
||
|
|
qaaqtz, que, raj, rap,
|
||
|
|
rar, roa, roh,
|
||
|
|
rom, rum, run,
|
||
|
|
rup, rus, sad,
|
||
|
|
sag, sah, sai,
|
||
|
|
sal, sam, san,
|
||
|
|
sas, sat, scn,
|
||
|
|
sco, sel, sem,
|
||
|
|
sga, sgn, shn,
|
||
|
|
sid, sin, sio,
|
||
|
|
sit, sla, slo,
|
||
|
|
slv, sma, sme,
|
||
|
|
smi, smj, smn,
|
||
|
|
smo, sms, sna,
|
||
|
|
snd, snk, sog,
|
||
|
|
som, son, sot,
|
||
|
|
spa, srd, srn,
|
||
|
|
srp, srr, ssa,
|
||
|
|
ssw, suk, sun,
|
||
|
|
sus, sux, swa,
|
||
|
|
swe, syc, syr,
|
||
|
|
tah, tai, tam,
|
||
|
|
tat, tel, tem,
|
||
|
|
ter, tet, tgk,
|
||
|
|
tgl, tha, tib,
|
||
|
|
tig, tir, tiv,
|
||
|
|
tkl, tlh, tli,
|
||
|
|
tmh, tog, ton,
|
||
|
|
tpi, tsi, tsn,
|
||
|
|
tso, tuk, tum,
|
||
|
|
tup, tur, tut,
|
||
|
|
tvl, twi, tyv,
|
||
|
|
udm, uga, uig,
|
||
|
|
ukr, umb, und,
|
||
|
|
urd, uzb, vai,
|
||
|
|
ven, vie, vol,
|
||
|
|
vot, wak, wal,
|
||
|
|
war, was, wel,
|
||
|
|
wen, wln, wol,
|
||
|
|
xal, xho, yao,
|
||
|
|
yap, yid, yor,
|
||
|
|
ypk, zap, zbl,
|
||
|
|
zen, zgh, zha,
|
||
|
|
znd, zul, zun,
|
||
|
|
zxx, zza
|
||
|
|
}
|