metadata.mjs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. const localazyMetadata = {
  2. projectUrl: "https://localazy.com/p/wiki",
  3. baseLocale: "en",
  4. languages: [
  5. {
  6. language: "de",
  7. region: "",
  8. script: "",
  9. isRtl: false,
  10. name: "German",
  11. localizedName: "Deutsch",
  12. pluralType: (n) => { return (n===1) ? "one" : "other"; }
  13. },
  14. {
  15. language: "en",
  16. region: "",
  17. script: "",
  18. isRtl: false,
  19. name: "English",
  20. localizedName: "English",
  21. pluralType: (n) => { return (n===1) ? "one" : "other"; }
  22. },
  23. {
  24. language: "fr",
  25. region: "",
  26. script: "",
  27. isRtl: false,
  28. name: "French",
  29. localizedName: "Français",
  30. pluralType: (n) => { return (n===0 || n===1) ? "one" : "other"; }
  31. },
  32. {
  33. language: "pt",
  34. region: "BR",
  35. script: "",
  36. isRtl: false,
  37. name: "Brazilian Portuguese",
  38. localizedName: "Português (Brasil)",
  39. pluralType: (n) => { return (n>=0 && n<=1) ? "one" : "other"; }
  40. },
  41. {
  42. language: "ru",
  43. region: "",
  44. script: "",
  45. isRtl: false,
  46. name: "Russian",
  47. localizedName: "Русский",
  48. pluralType: (n) => { return ((n%10===1) && (n%100!==11)) ? "one" : ((n%10>=2 && n%10<=4) && ((n%100<12 || n%100>14))) ? "few" : "many"; }
  49. },
  50. {
  51. language: "zh",
  52. region: "",
  53. script: "Hans",
  54. isRtl: false,
  55. name: "Simplified Chinese",
  56. localizedName: "简体中文",
  57. pluralType: (n) => { return "other"; }
  58. }
  59. ],
  60. files: [
  61. {
  62. cdnHash: "54b977214afbffe2ffeb07d0ccb03558e75e4408",
  63. file: "file.json",
  64. path: "",
  65. library: "",
  66. module: "",
  67. buildType: "",
  68. productFlavors: [],
  69. cdnFiles: {
  70. "de#": "https://delivery.localazy.com/_a7797965569058078203416ae5aa/_e0/54b977214afbffe2ffeb07d0ccb03558e75e4408/de/file.json",
  71. "en#": "https://delivery.localazy.com/_a7797965569058078203416ae5aa/_e0/54b977214afbffe2ffeb07d0ccb03558e75e4408/en/file.json",
  72. "fr#": "https://delivery.localazy.com/_a7797965569058078203416ae5aa/_e0/54b977214afbffe2ffeb07d0ccb03558e75e4408/fr/file.json",
  73. "pt_BR#": "https://delivery.localazy.com/_a7797965569058078203416ae5aa/_e0/54b977214afbffe2ffeb07d0ccb03558e75e4408/pt-BR/file.json",
  74. "ru#": "https://delivery.localazy.com/_a7797965569058078203416ae5aa/_e0/54b977214afbffe2ffeb07d0ccb03558e75e4408/ru/file.json",
  75. "zh#Hans": "https://delivery.localazy.com/_a7797965569058078203416ae5aa/_e0/54b977214afbffe2ffeb07d0ccb03558e75e4408/zh-Hans/file.json"
  76. }
  77. }
  78. ]
  79. };
  80. export default localazyMetadata;