ranges.mjs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. const a = (start, end) => "other";
  2. const b = (start, end) => (start === "other" && end === "one") ? "one" : "other";
  3. const c = (start, end) => end || "other";
  4. export const af = a;
  5. export const ak = b;
  6. export const am = c;
  7. export const an = a;
  8. export const ar = (start, end) => (
  9. end === "few" ? "few"
  10. : end === "many" ? "many"
  11. : (start === "zero" && end === "one") ? "zero"
  12. : (start === "zero" && end === "two") ? "zero"
  13. : "other"
  14. );
  15. export const as = c;
  16. export const az = c;
  17. export const be = c;
  18. export const bg = a;
  19. export const bn = c;
  20. export const bs = c;
  21. export const ca = a;
  22. export const cs = c;
  23. export const cy = c;
  24. export const da = c;
  25. export const de = c;
  26. export const el = c;
  27. export const en = a;
  28. export const es = a;
  29. export const et = a;
  30. export const eu = a;
  31. export const fa = b;
  32. export const fi = a;
  33. export const fil = c;
  34. export const fr = c;
  35. export const ga = c;
  36. export const gl = c;
  37. export const gsw = c;
  38. export const gu = c;
  39. export const he = a;
  40. export const hi = c;
  41. export const hr = c;
  42. export const hu = c;
  43. export const hy = c;
  44. export const ia = a;
  45. export const id = a;
  46. export const io = a;
  47. export const is = c;
  48. export const it = c;
  49. export const ja = a;
  50. export const ka = (start, end) => start || "other";
  51. export const kk = c;
  52. export const km = a;
  53. export const kn = c;
  54. export const ko = a;
  55. export const ky = c;
  56. export const lij = c;
  57. export const lo = a;
  58. export const lt = c;
  59. export const lv = (start, end) => end === "one" ? "one" : "other";
  60. export const mk = a;
  61. export const ml = c;
  62. export const mn = c;
  63. export const mr = c;
  64. export const ms = a;
  65. export const my = a;
  66. export const nb = a;
  67. export const ne = c;
  68. export const nl = c;
  69. export const no = a;
  70. export const or = b;
  71. export const pa = c;
  72. export const pcm = a;
  73. export const pl = c;
  74. export const ps = c;
  75. export const pt = c;
  76. export const ro = (start, end) => end === "few" ? "few" : end === "one" ? "few" : "other";
  77. export const ru = c;
  78. export const sc = c;
  79. export const scn = c;
  80. export const sd = b;
  81. export const si = (start, end) => (start === "one" && end === "one") ? "one" : "other";
  82. export const sk = c;
  83. export const sl = (start, end) => (
  84. end === "few" ? "few"
  85. : end === "one" ? "few"
  86. : end === "two" ? "two"
  87. : "other"
  88. );
  89. export const sq = c;
  90. export const sr = c;
  91. export const sv = a;
  92. export const sw = c;
  93. export const ta = c;
  94. export const te = c;
  95. export const th = a;
  96. export const tk = c;
  97. export const tr = c;
  98. export const ug = c;
  99. export const uk = c;
  100. export const ur = a;
  101. export const uz = c;
  102. export const vi = a;
  103. export const yue = a;
  104. export const zh = a;
  105. export const zu = c;