ce.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*************************************************************
  2. *
  3. * MathJax/localization/ce/ce.js
  4. *
  5. * Copyright (c) 2009-2018 The MathJax Consortium
  6. *
  7. * Licensed under the Apache License, Version 2.0 (the "License");
  8. * you may not use this file except in compliance with the License.
  9. * You may obtain a copy of the License at
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing, software
  14. * distributed under the License is distributed on an "AS IS" BASIS,
  15. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. * See the License for the specific language governing permissions and
  17. * limitations under the License.
  18. *
  19. */
  20. MathJax.Localization.addTranslation("ce",null,{
  21. menuTitle: "\u041D\u043E\u0445\u0447\u0438\u0439\u043D \u043C\u043E\u0442\u0442",
  22. version: "2.7.5",
  23. isLoaded: true,
  24. domains: {
  25. "_": {
  26. version: "2.7.5",
  27. isLoaded: true,
  28. strings: {
  29. MathProcessingError: "\u041C\u0430\u0442\u0435\u043C\u0430\u0442\u0438\u043A\u0438\u043D \u043A\u0435\u0447\u0434\u0430\u0440\u0430\u043D \u0433\u04C0\u0430\u043B\u0430\u0442",
  30. MathError: "\u041C\u0430\u0442\u0435\u043C\u0430\u0442\u0438\u043A\u0438\u043D \u0433\u04C0\u0430\u043B\u0430\u0442",
  31. LoadFile: "\u0427\u0443\u0439\u043E\u043B\u0443\u0448 %1",
  32. Loading: "\u0427\u0443\u0439\u043E\u043B\u0443\u0448",
  33. LoadFailed: "\u0427\u0443\u044F\u043A\u043A\u0445\u0430 \u0446\u0430\u0435\u043B\u0438\u0440\u0430: %1",
  34. ProcessMath: "\u041C\u0430\u0442\u0435\u043C\u0430\u0442\u0438\u043A\u0430 \u043A\u0435\u0447\u044F\u0440: %1%%",
  35. Processing: "\u041A\u0435\u0447\u0434\u0430\u0440"
  36. }
  37. },
  38. "FontWarnings": {},
  39. "HTML-CSS": {},
  40. "HelpDialog": {},
  41. "MathML": {},
  42. "MathMenu": {},
  43. "TeX": {}
  44. },
  45. plural: function (n) {
  46. if (n % 10 === 1 && n % 100 !== 11) return 1; // one
  47. if (2 <= n % 10 && n % 10 <= 4 && 12 <= n % 100 && n % 100 <= 14) return 2; // few
  48. if (n % 10 === 0 || (5 <= n % 10 && n % 10 <= 9) ||
  49. (11 <= n % 100 && n % 100 <= 14)) return 2; // many
  50. return 3; // other
  51. },
  52. number: function (n) {
  53. return n;
  54. }
  55. });
  56. MathJax.Ajax.loadComplete("[MathJax]/localization/ce/ce.js");