sco.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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/sco/sco.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("sco",null,{
  23. menuTitle: "scots",
  24. version: "2.5.0",
  25. isLoaded: true,
  26. domains: {
  27. "_": {
  28. version: "2.5.0",
  29. isLoaded: true,
  30. strings: {
  31. MathProcessingError: "Maths processin mistak",
  32. MathError: "Maths mistak",
  33. LoadFile: "Laidin %1",
  34. Loading: "Laidin",
  35. LoadFailed: "File failed tae laid: %1",
  36. ProcessMath: "Processin maths: %1%%",
  37. Processing: "Processin",
  38. TypesetMath: "Typesettin maths: %1%%",
  39. Typesetting: "Typesettin",
  40. MathJaxNotSupported: "Yer brouser disna support MathJax"
  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/sco/sco.js");