ar.js 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*************************************************************
  2. *
  3. * MathJax/localization/ar/ar.js
  4. *
  5. * Copyright (c) 2009-2016 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("ar",null,{
  21. menuTitle: "\u0627\u0644\u0639\u0631\u0628\u064A\u0629",
  22. fontDirection: "rtl",
  23. version: "2.7.2",
  24. isLoaded: true,
  25. domains: {
  26. "_": {
  27. version: "2.7.2",
  28. isLoaded: true,
  29. strings: {
  30. MathProcessingError: "\u062E\u0637\u0623 \u0645\u0639\u0627\u0644\u062C\u0629 \u0631\u064A\u0627\u0636\u064A\u0629",
  31. MathError: "\u062E\u0637\u0623 \u0631\u064A\u0627\u0636\u064A",
  32. LoadFile: "\u062A\u062D\u0645\u064A\u0644 %1",
  33. Loading: "\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u062D\u0645\u064A\u0644",
  34. LoadFailed: "\u0641\u0634\u0644 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u0644\u0641: %1",
  35. ProcessMath: "\u0639\u0645\u0644\u064A\u0629 \u0631\u064A\u0627\u0636\u064A\u0629: %1%%",
  36. Processing: "\u0645\u0639\u0627\u0644\u062C\u0629",
  37. TypesetMath: "\u062A\u0646\u0636\u064A\u062F \u0631\u064A\u0627\u0636\u064A: %1%%",
  38. Typesetting: "\u062A\u0646\u0636\u064A\u062F",
  39. MathJaxNotSupported: "\u0645\u062A\u0635\u0641\u062D\u0643 \u0644\u0627 \u064A\u062F\u0639\u0645 \u0645\u0627\u062B\u062C\u0627\u0643\u0633"
  40. }
  41. },
  42. "FontWarnings": {},
  43. "HTML-CSS": {},
  44. "HelpDialog": {},
  45. "MathML": {},
  46. "MathMenu": {},
  47. "TeX": {}
  48. },
  49. plural: function (n) {
  50. if (n === 0) return 1; // zero
  51. if (n === 1) return 2; // one
  52. if (n === 2) return 3; // two
  53. if (3 <= n % 100 && n % 100 <= 10) return 4; // few
  54. if (11 <= n % 100 && n % 100 <= 99) return 5; // many
  55. return 6; // other
  56. },
  57. number: function (n) {
  58. return String(n).replace("/([0-9])/g", "\\U066$1").replace(".", "\\U066B");
  59. }
  60. });
  61. MathJax.Ajax.loadComplete("[MathJax]/localization/ar/ar.js");