en.js 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
  2. /* vim: set ts=2 et sw=2 tw=80: */
  3. /*************************************************************
  4. *
  5. * MathJax/localization/en/en.js
  6. *
  7. * Copyright (c) 2009-2015 The MathJax Consortium
  8. *
  9. * Licensed under the Apache License, Version 2.0 (the "License");
  10. * you may not use this file except in compliance with the License.
  11. * You may obtain a copy of the License at
  12. *
  13. * http://www.apache.org/licenses/LICENSE-2.0
  14. *
  15. * Unless required by applicable law or agreed to in writing, software
  16. * distributed under the License is distributed on an "AS IS" BASIS,
  17. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18. * See the License for the specific language governing permissions and
  19. * limitations under the License.
  20. *
  21. */
  22. MathJax.Localization.addTranslation("en",null,{
  23. menuTitle: "English",
  24. version: "2.5.0",
  25. isLoaded: true,
  26. domains: {
  27. "_": {
  28. version: "2.5.0",
  29. isLoaded: true,
  30. strings: {
  31. CookieConfig: "MathJax has found a user-configuration cookie that includes code to be run. Do you want to run it?\n\n(You should press Cancel unless you set up the cookie yourself.)",
  32. MathProcessingError: "Math processing error",
  33. MathError: "Math error",
  34. LoadFile: "Loading %1",
  35. Loading: "Loading",
  36. LoadFailed: "File failed to load: %1",
  37. ProcessMath: "Processing math: %1%%",
  38. Processing: "Processing",
  39. TypesetMath: "Typesetting math: %1%%",
  40. Typesetting: "Typesetting",
  41. MathJaxNotSupported: "Your browser does not support MathJax"
  42. }
  43. },
  44. "FontWarnings": {},
  45. "HTML-CSS": {},
  46. "HelpDialog": {},
  47. "MathML": {},
  48. "MathMenu": {},
  49. "TeX": {}
  50. },
  51. plural: function (n) {
  52. if (n === 1) {return 1} // one
  53. return 2; // other
  54. },
  55. number: function (n) {
  56. return n;
  57. }
  58. });
  59. MathJax.Ajax.loadComplete("[MathJax]/localization/en/en.js");