en.js 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*************************************************************
  2. *
  3. * MathJax/localization/en/en.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("en",null,{
  21. menuTitle: "English",
  22. version: "2.7.2",
  23. isLoaded: true,
  24. domains: {
  25. "_": {
  26. version: "2.7.2",
  27. isLoaded: true,
  28. strings: {
  29. 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.)",
  30. MathProcessingError: "Math processing error",
  31. MathError: "Math error",
  32. LoadFile: "Loading %1",
  33. Loading: "Loading",
  34. LoadFailed: "File failed to load: %1",
  35. ProcessMath: "Processing math: %1%%",
  36. Processing: "Processing",
  37. TypesetMath: "Typesetting math: %1%%",
  38. Typesetting: "Typesetting",
  39. MathJaxNotSupported: "Your browser does not support MathJax",
  40. ErrorTips: "Debugging tips: use %%1, inspect %%2 in the browser console"
  41. }
  42. },
  43. "FontWarnings": {},
  44. "HTML-CSS": {},
  45. "HelpDialog": {},
  46. "MathML": {},
  47. "MathMenu": {},
  48. "TeX": {}
  49. },
  50. plural: function (n) {
  51. if (n === 1) {return 1} // one
  52. return 2; // other
  53. },
  54. number: function (n) {
  55. return n;
  56. }
  57. });
  58. MathJax.Ajax.loadComplete("[MathJax]/localization/en/en.js");