en.js 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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) 2013 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,{ // NOTE use correct ISO-639-1 two letter code http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
  23. menuTitle: "English", // NOTE language name; will appear in the MathJax submenu for switching locales
  24. version: "2.2",
  25. isLoaded: true,
  26. domains: {
  27. "_": {
  28. version: "2.2",
  29. isLoaded: true,
  30. strings: {
  31. CookieConfig:
  32. "MathJax has found a user-configuration cookie that includes code to "+
  33. "be run. Do you want to run it?\n\n"+
  34. "(You should press Cancel unless you set up the cookie yourself.)",
  35. MathProcessingError:
  36. "Math Processing Error", // NOTE: MathJax uses 'Math' as a distinct UI choice. Please translate it literally whenever possible.
  37. MathError:
  38. "Math Error", // Error message used in obsolete Accessible configurations
  39. LoadFile:
  40. "Loading %1",
  41. Loading:
  42. "Loading", // NOTE: followed by growing sequence of dots
  43. LoadFailed:
  44. "File failed to load: %1",
  45. ProcessMath:
  46. "Processing Math: %1%%", // NOTE: appears during the conversion process from an input format (e.g., LaTeX, asciimath) to MathJax's internal format
  47. Processing:
  48. "Processing", // NOTE: followed by growing sequence of dots
  49. TypesetMath:
  50. "Typesetting Math: %1%%", // NOTE: appears during the layout process of converting the internal format to the output format
  51. Typesetting:
  52. "Typesetting", // NOTE: followed by growing sequence of dots
  53. MathJaxNotSupported:
  54. "Your browser does not support MathJax" // NOTE: will load when MathJax determines the browser does not have adequate features
  55. }
  56. },
  57. MathMenu: {},
  58. FontWarnings: {},
  59. HelpDialog: {},
  60. TeX: {},
  61. MathML: {},
  62. "HTML-CSS": {}
  63. },
  64. plural: function(n) {
  65. if (n === 1) {return 1} // one
  66. return 2; // other
  67. },
  68. number: function(n) {
  69. // return String(n).replace(".", ","); // replace dot by comma
  70. return n;
  71. }
  72. });
  73. MathJax.Ajax.loadComplete("[MathJax]/localization/en/en.js");